The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I have an advertisement part in my site. This is the code (added in FORUMHOME at the bottom)
Code:
<!-- Trasion Advertisements --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="Advertisement" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a> <phrase 1="$vboptions[bbtitle]">Trasion Advertisements</phrase> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]"> <tr> <td class="alt2"><img src="$stylevar[imgdir_misc]/adv.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td> <td class="alt1" width="100%"> <p align="center"> <img src="http://www.trasion.com/ads/advertisementvbnt.jpg" border="0" /> </center> <br> </td> </tr> </tbody> <!-- Trasion Advertisements --> I don't want just 1 image. I want it so everytime you refresh, the image will randomly be selected from a folder, or something. So it changes everytime you visit the site (but it can rarely repeat). What is the code to do this? Please add it into my code above and repost ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|