The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Just wondering if anyone knows what plug-in code I need to use so that I can specifiy two different post-bits - postbit-one for the first post of each thread and postbit-two for all other posts.
I've already created the new templates postbit-one and postbit-two, now just need to try and figure out what to put in the plug-in code for showthread.php to get it to work... Anyone know how to do this? Any help appreciated ![]() |
#2
|
||||
|
||||
![]()
you don't need a plugin. Simply edit the postbit to include both versions of the postbit you would like to use, but with the one for the first post wrapped in a conditional. Like this:
Code:
<if condition="$post[postcount]==1"> postbit for firstpost goes here. <else /> postbit for other posts goes here </if> |
#3
|
||||
|
||||
![]()
Thanks Amy! Can't believe I didn't just think of that lol
Thanks you're a star ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|