BBCodeBox3

prosilver | subsilver2

Willkommen und Guten Abend, Guest  Beim nächsten Piep ist es zwischen 21:00 und 22:00 Uhr

It is currently Thu 1. May 2025, 21:10

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: Fri 23. Oct 2009, 02:22 
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

Start-Topic-Title => Re-Topic-Title

- Only The Title of Start-Topic will show up in Re-Titles (without the Re:)
- If u change the Start-Title, it changes all Re-Titles (without the Re:)

open

viewtopic.php

find

Code:
$postrow = array(     


add before

Code:
        // Start-Topic-Title => Re-Topic-Title  / 4seven / 2009
        $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);
        // Start-Topic-Title => Re-Topic-Title  / 4seven / 2009     


find

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


replace with

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


Clear all Board- and Browser-Caches

Note: Changes in Re-Post Subject-Fields are now ineffectually.
If you want to hide these "useless Fields" read further..




Special

Make Subject-Fields in Re-Posts hidden (only the First-Post Subject-Field is visible)

open (prosilver)

posting_editor.html

find

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>     


replace with

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


open (subsilver2)

posting_body.html

find

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>   


replace with

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


Clear all Board- and Browser-Caches


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 2 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.014s | 18 Queries | GZIP : Off | Board-Version: 3.0.7 PL1 ]