The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I would like to use a different postbit template for the first post only depending on prefix. In my case, I have news that I would like to display differently in the first post. All news threads use the prefix 'news'.
Is there a way I could do this with a conditional in postbit? --------------- Added [DATE]1261501959[/DATE] at [TIME]1261501959[/TIME] --------------- I actually found a slightly simpler solution. I added an alternate layout to the postbit and can switch between the two using this conditional: Code:
<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid'] AND $thread['prefixid'] == news"> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|