View Full Version : Change look of first post in thread
xQuEeNzNaZcHox
12-27-2004, 01:19 AM
I want to change how the first post in every thread looks. Is this possible?
Michael Morris
12-27-2004, 01:34 AM
Yes, but it's not easy. Do you want it to display on all pages?
Wait a second - yes it is (eureka moment)
Open your postbit template in and insert this at the very beginning
<if condition="$post['id']==$thread['firstpostid']">
Code for the appearance of the first post
<else />
Now go to the very end of the postbit and insert a closing </if> marker.
xQuEeNzNaZcHox
12-27-2004, 01:39 AM
Yes, but it's not easy. Do you want it to display on all pages?
Wait a second - yes it is (eureka moment)
Open your postbit template in and insert this at the very beginning
<if condition="$post['id']==$thread['firstpostid']">
Code for the appearance of the first post
<else />
Now go to the very end of the postbit and insert a closing </if> marker.
Thanks. :) What if I want to make it specific to a certain forum?
xQuEeNzNaZcHox
12-27-2004, 01:44 AM
Thanks. :) What if I want to make it specific to a certain forum?
Hey Mike,
It didn't work. :(
Help!
- Noah
Michael Morris
12-27-2004, 01:45 AM
<if condition="$post['id']==$thread['firstpostid']
AND $foruminfo['forumid']=='X'">
Where X is the forum id.
Michael Morris
12-27-2004, 01:53 AM
Hey Mike,
It didn't work. :(
Help!
- Noah
Hmm... Ah.. Here it is
<if condition="$post[postid] == $thread[firstpostid]">
And to do it for one forum only
<if condition="$post[postid] == $thread[firstpostid]
AND $forum['forumid']=='X'">
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.