The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
OK so I have a forum and I'm trying to modify my ad column. Basically I can edit the code for this column, which is similar to this:
Code:
<br /> <table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"> <tr> <td> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="width:100%"> <tr align="center"> <td class="tcat"><span class="smallfont"><b>Advertisement</b></span></td> </tr> <tr> <td class="alt1" align="center"> <!-- ads go here --> </td></tr></table></td> </tr> </table> So I'd like to include a PHP script I wrote which will (for the sake of info here) randomly rotate a few ads. Easy script, no big deal. Code:
<?php require("/forums/random.php"); ?> Is there a work around for this, or will I need to resort to rewriting my handy script in javascript? Any help is appreciated!! =) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|