Back to vBulletin 3.0 Template Modifications

Remove Title & Message Icon From Replies
Mod Version: 1.00, by the Sandman

This modification is in the archives.
vB Version: Rating: (1 vote - 5.00 average) Installs: 7
Released: 11 May 2004 Last Update: Never Downloads: 0
Not Supported  

If you would prefer not to have any titles or message icons on posts which are replies (that is, those which are not first posts in a thread) then use the following template modifications to get rid of them. This is the result of http://www.vbulletin.com/forum/index.php?t=103684 on vBulletin.com and This One on vBulletin.org.

After these modifications, first posts will have the thread title and message icon on top, but the rest of the posts will not. You will still get the normal newthread box when starting a new thread (including the title field and message icon selection box). However, when you reply to a thread, the newreply box no longer has a title field to fill in, nor does the message icon selection box appear. When you edit a post the title field and message icons will only appear for first posts, not replies.

Check out any thread at the http://www.theadminzone.com/forums/index.php? to see this modification in action.

Remove the following code from the newreply template:

Code:
<!-- subject field -->
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
<td>&nbsp;&nbsp;</td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
</tr>
</table>
<!-- / subject field -->
And:

Code:
$posticons
Next, add the code in red to the postbit (and/or postbit_legacy) template:

Code:
                        
<!-- icon and title -->
<if condition="$post['postid'] == $thread['firstpostid']">
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" color="$stylevar[tborder_bgcolor]" />
<else /><br />  
</if>
<!-- / icon and title -->
Now, add the code in red to the editpost template here:

Code:
 
<!-- subject field -->
<if condition="$show['firstpostnote']">
<table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
<tr>
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr><td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
<td>&nbsp;&nbsp;</td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
</tr>
</table>
</if>
<!-- / subject field -->
And here:

Code:
 
<if condition="$show['firstpostnote']">
$posticons
</if>

Download

No files for download.

Similar Mods

Show Thread Enhancements Hide the post title area and the default icon when there is no title vBulletin 3.7 Add-ons
[V2.0]Default Thread Title on Replies vBulletin 2.x Template Modifications

vblts.ru supports vBulletin®, 2022-2024