The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I show PHP in the sidebar? Code inside.
Hello, I do not understand how to show PHP in my sidebar. This is the code I have, and it should work but doesn't. Can anyone help me figure out why? I have selected the "PHP" option within the sidebar block options.
Code:
<?php $images = array( '<a href="http://www.linkedsite.com/" target="_blank"><img src="myimagesdirectpath/img.png" alt="linkedsitename" /></a>', '<a href="http://www.linkedsite.com/" target="_blank"><img src="myimagesdirectpath/img.png" alt="linkedsitename" /></a>', '<a href="http://www.linkedsite.com/" target="_blank"><img src="myimagesdirectpath/img.png" alt="linkedsitename" /></a>' ); shuffle($images); ?> <divclass="ad"> <?php echo implode('<br />', $images);?> </div> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|