The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
change advertisement locations
I would like to put a square ad in a widget on my main page but I am having issues getting it to work. it can be the same square ad as the archive page which I believe uses the following to grab the ad. Not sure why it isnt work.
{vb:raw ad_location.archive_above_content1} |
#2
|
|||
|
|||
You can't include a template tag in a widget. But you might be able to access that ad location using a php direct execution widget and code like:
Code:
global $ad_location; $output = $ad_location['archive_above_content1']; but I haven't tried it. |
#3
|
|||
|
|||
hmm that seems to just print the date
|
#4
|
|||
|
|||
By default the php direct execution widget has an example line of code that displays the date. You need to make sure you remove that (and replace it with the code above).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|