Cum separ anunturile globale de sticky/topicurile normale?
Scris: 12-Feb-2012, 20:43:21
Cum fac sa separ anunturile globale de sticky , si de topicurile normale
forumul phpBB in limba romana. Opinii, implementari, ajutor, instructiuni si download.
https://phpbb3.ro/community/
language/en/viewforum.php
si cauti urmatoarea linie:
Cod: Selectaţi tot
?>
Cod: Selectaţi tot
$lang = array_merge($lang, array(
'STICKY' => 'Sticky topics'
));
styles/YourStyle/templates/viewforum_body.html
si cauti:
Cod: Selectaţi tot
[<!-- BEGIN topicrow -->
<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
<tr>
<td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td>
</tr>
<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 -->
<tr>
<td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td>
</tr>
<!-- ENDIF -->
Cod: Selectaţi tot
<!-- DEFINE $TOPIC_NORMAL = 0 -->
<!-- DEFINE $TOPIC_STICKY = 0 -->
<!-- BEGIN topicrow -->
<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
<tr>
<td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td>
</tr>
<!-- ELSEIF topicrow.S_POST_STICKY and $TOPIC_STICKY eq 0 -->
<!-- DEFINE $TOPIC_STICKY = 1 -->
<tr>
<td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_STICKY}</b></td>
</tr>
<!-- ELSEIF topicrow.S_TOPIC_TYPE eq 0 and $TOPIC_NORMAL eq 0 -->
<!-- DEFINE $TOPIC_NORMAL = 1 -->
<tr>
<td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td>
</tr>
<!-- ENDIF -->
Nu imi dau seama de ce iti apare asa..
Cod: Selectaţi tot
'STICKY' => 'Sticky topics'
Cod: Selectaţi tot
'STICKY' => 'Subiecte importante'