The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm trying to show a different message depending on the thread prefix. I can do it in the postbit of showthread using
Code:
<vb:if condition="$thread['prefixid'] == job">PREFIX = JOB</vb:if> Code:
<vb:if condition="THIS_SCRIPT == 'showthread'">THIS IS SHOWTHREAD</vb:if> Code:
AND $thread['prefixid'] == job Thanks in advance ![]() edit: I was able to add the conditional directly into the show thread template after $navbar so that's a kinda workable solution for me. Seems that $templater->register('thread', $thread); needs to happen for ad_navbar_below so it can be recognised there. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|