The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Hello , vB Style,
I think this sintax <vb:if> </vb:if> works for vb4.0 version. But the rest is OK! Thank you very much! :up: |
#12
|
|||
|
|||
Yes, this forums is for vB 4, hehe.
|
#13
|
|||
|
|||
I am having the same issue. Have just upgraded to VB4 and am trying to put the following code into the ad_showthread_firstpost template:
<vb:if condition="$thread['threadid'] == 87"> <center> <b>This thread is brought to you by:</b> <br> <center> <a href="http://..../ " target="_blank">wording here </a> </center> <br> </vb:if> Can anyone see what i am doing wrong? |
#14
|
||||
|
||||
Is the $thread variable registered for use in that template? Try using $GLOBALS instead.
|
#15
|
|||
|
|||
Quote:
I have tryied a few different variations on your suggestion but still cannot get it working --------------- Added [DATE]1345954389[/DATE] at [TIME]1345954389[/TIME] --------------- Just as a side note, putting the code into the ad_showthread_firstpost_start template works when i replace thread with global. I still can't figure out how to get it showing between the 1st and 2nd post on each page |
#16
|
|||
|
|||
In case I save somebody the time to do the research:
PHP Code:
For CMS articles I used: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|