Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Jun 2011, 11:03
punchbowl punchbowl is offline
 
Join Date: Nov 2006
$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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but if I try the same in an ad template, the navbar, footer or anywhere else vb doesn't have a clue what I'm talking about. Is there any other conditional I can use, say in ad_navbar_below to show a message based on which thread prefix is used?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

works anywhere but if I add
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

it doesn't.

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.

Last edited by punchbowl; 03 Jun 2011 at 15:41.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:31.

Layout Options | Width: Wide Color: