View Single Post
  #9  
Old 30 Mar 2010, 11:41
tintin74 tintin74 is offline
 
Join Date: Jul 2007
Hello, I'm running vb 3.7 and I've used this code to display specific ads for specific thread:


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

but if I use this conditional into the SHOWTHREAD template everything works well.

I need to get work thi conditional into a custom template called by SHOWTHREAD template,

so I've inserted into SHOWTHREAD template this:


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

, I've create the "showthread_specads" custom template,

and this plugin:

Product:Vbulletin
Name: showthread_specads
Code:
eval('$specads = "' . fetch_template('showthread_specads') . '";');
My custom template is called normally by showthread but if I insert into it the same conditional I've used for SHOWTHREAD template, the conditional don't work .

I suppose there 's something to change here :


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

but I don't know what.

Does anyone could help me ,please?
Reply With Quote