BBCodeBox3

prosilver | subsilver2

Willkommen und Gute Nacht, Guest  Beim nächsten Piep ist es zwischen 4:00 und 5:00 Uhr

It is currently Sun 19. May 2024, 04:48

All times are UTC + 1 hour [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Sat 17. Oct 2009, 19:01 
Administrator
User avatar

Posts: 427

Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...

Joined:
Sun 13. Jan 2008, 23:44

Starttopic-Titel => Antwort-Titel

Es wird immer nur der Anfangstitel angezeigt und das ohne Re: davor.

Hinweis:
Es ist ein Overlay der (alten) Re: Titel. Unter der Oberfläche (Datenbank) sind die (alten) Re: Titel noch vorhanden. Das sieht man daran (wenn man es testet) bevor man die Special Template-Änderungen weiter unten macht. Einfach mal in ein Post als Edit rein. Voila. Da ist der alte Titel noch. Somit funktioniert die Suche nach "alten" Titeln noch.

öffne

viewtopic.php

finde

Code:
$postrow = array(       


davor füge ein

Code:
        // 4seven
        $first_subject = $topic_data['topic_first_post_id'];
        $sqls = 'SELECT post_subject
        FROM ' . POSTS_TABLE . "
        WHERE post_id = $first_subject";
        $results = $db->sql_query($sqls);
        $rows = $db->sql_fetchrow($results); 
        $subject_first = $rows['post_subject'];
        $db->sql_freeresult($results);
        // 4seven           


finde

Code:
         'POST_SUBJECT'        => $row['post_subject'],       


ersetze mit

Code:
         'POST_SUBJECT'        => $subject_first, // $row['post_subject'],           


Alle Board- und Browser-Caches leeren




Special

Damit werden die Subject-Felder im Postfeld für alle Posts, außer dem Eingangspost, ausgeblendet

öffne (gilt für prosilver)

posting_editor.html

finde

Code:
         <dt><label for="subject">{L_SUBJECT}:</label></dt>
        <dd><input type="text" name="subject" id="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}{DRAFT_SUBJECT}" class="inputbox autowidth" /></dd>       


ersetze mit

Code:
         <!-- IF S_FIRST_POST or S_NEW_MESSAGE --><dt><label for="subject">{L_SUBJECT}:</label></dt>
        <dd><input type="text" name="subject" id="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}{DRAFT_SUBJECT}" class="inputbox autowidth" /></dd><!-- ENDIF -->       


öffne (für subsilver2)

posting_body.html

finde

Code:
     <td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td>
    <td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}" /></td>    


ersetze mit

Code:
       <!-- IF S_FIRST_POST or S_NEW_MESSAGE --><td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td>
    <td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}" /></td><!-- ENDIF -->        


Alle Board- und Browser-Caches leeren


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
POWERED_BY
[ Time : 0.057s | 20 Queries | GZIP : Off | Board-Version: 3.0.7 PL1 ]