![]() |
$thread['prefixid'] alternatives
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:o 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. |
All times are GMT. The time now is 08:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|