The Arcive of vBulletin Modifications Site. |
|
|
#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
|
|
#2
|
||||
|
||||
|
Why not use a program like OpenX?
it makes it so much easier to manage your ads |
|
#3
|
|||
|
|||
|
link me?
|
|
#4
|
||||
|
||||
|
uh I think it's www.openx.org/
it's a free script and it's really nice IMO I'm using it for all my sites |
|
#5
|
|||
|
|||
|
Open X downloadable file (to upload to your server) http://www.openx.org/ad-server/download
Open X hosted (still in beta but just as good) http://www.openx.org/ad-server/get-openx-hosted Enjoy |
|
#6
|
|||
|
|||
|
There was this thread on vb.com I believe about how to do this.. But I completely forget what it was called or where it was. It was just a simple code.
--------------- Added [DATE]1225644277[/DATE] at [TIME]1225644277[/TIME] --------------- http://www.vbulletin.com/forum/showt...ghlight=random found it |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|