Pagina 1 din 1

Cum separ anunturile globale de sticky/topicurile normale?

Scris: 12-Feb-2012, 20:43:21
de byRo!?
Cum fac sa separ anunturile globale de sticky , si de topicurile normale

Re: Cum fac?

Scris: 12-Feb-2012, 20:59:10
de x6IT32
Deschide language/en/viewforum.php si cauti urmatoarea linie: Si inaintea lui adaugi asta:

Cod: Selectaţi tot

$lang = array_merge($lang, array(
        'STICKY'                => 'Sticky topics'
    ));
Apoi deschide 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 -->
Si le inlocuiesti cu astea:

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 -->

Re: Cum separ anunturile globale de sticky/topicurile normal

Scris: 13-Feb-2012, 11:37:08
de byRo!?
Cum pot rezolva treaba cu { STICKY }

http://postimage.org/image/4g4in2f9z/

Re: Cum separ anunturile globale de sticky/topicurile normal

Scris: 13-Feb-2012, 12:47:03
de x6IT32
byRo!? scrie:Cum pot rezolva treaba cu { STICKY }

http://postimage.org/image/4g4in2f9z/
Nu imi dau seama de ce iti apare asa..

Re: Cum separ anunturile globale de sticky/topicurile normal

Scris: 14-Feb-2012, 05:23:29
de bogdan
Probabil nu e tradus. Verifica fisierele pentru limba romana (eventual suprascrie-le cu cele originale).

Re: Cum separ anunturile globale de sticky/topicurile normal

Scris: 14-Feb-2012, 10:48:12
de x6IT32
Verifica la traducere.
EN:

Cod: Selectaţi tot

'STICKY'                => 'Sticky topics'
RO:

Cod: Selectaţi tot

'STICKY'                => 'Subiecte importante'