PDA

View Full Version : Remove Title & Message Icon From Replies


the Sandman
11 May 2004, 03:33
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 This Thread (http://www.vbulletin.com/forum/showthread.php?t=103684) on vBulletin.com and This One (http://www.vbulletin.org/forum/showthread.php?t=64770) 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 Admin Zone (www.theadminzone.com/forums/index.php?) to see this modification in action.

Remove the following code from the newreply template:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Now, add the code in red to the editpost template here:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And here:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

msimplay
11 May 2004, 18:52
very good modification i used it myself
just one little thing i added to that was

remove

$posticons from new reply

or if you don't want to remove it use the same code as in editpost for post icons


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


now all i need it searching by post icon :)

the Sandman
11 May 2004, 19:05
I did take $posticons out of my newreply template but I forgot to mention it... Thanks!

gmarik
22 May 2004, 10:00
rather interesting one

Ryan Ashbrook
22 May 2004, 21:54
Nice, I think I'll use this. :)

Mechanical Mind
18 Dec 2004, 14:12
* clicks install *

This is the best hack in the world. :)

Almotmaiz.Net
26 May 2005, 08:32
nice work ,, thanx

Gutspiller
01 Aug 2005, 21:44
This could also be put under speed optimizing.

Yorixz
03 Aug 2005, 09:38
A great mod, thanks a lot!

bigcurt
03 Aug 2005, 14:02
Good job SandMan

~Curt

KrisP
02 Nov 2005, 17:57
I can't get it working. Did everything you said, no change whatsoever. Using 3.5

I can get it to get removed form the newreply, but I want that one. I want people to be able to make it, if they want. If not, it should be completely gone.

Nothing change in the postbit (and nothing is in the legacy).

KrisP
03 Nov 2005, 07:02
Okay, I got it working. Just how do I about making it so that when people type in stuff in the bar it DOES show, but when they don't it DOESN'T. Right now it doesn't show it.

Thanks.