Back to vBulletin 3.0 Template Modifications

Random Logos
Mod Version: 1.00, by tnguy3n

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 10
Released: 13 Jun 2004 Last Update: Never Downloads: 1
Not Supported  

Display Random Logos on header
modded by tnguy3n @ http://www.all4actions.net

Template mod: 1
- header

This mod displays random logo on form header, like one at vb.org . ^_^

Open header template,

FIND:
HTML Code:
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />
REPLACE IT WITH:
HTML Code:
<script>
var logo=new Array()
logo[0]='<img src="$stylevar[imgdir_misc]/logo1.gif" border="0" alt="$vboptions[bbtitle]" />'
logo[1]='<img src="$stylevar[imgdir_misc]/logo2.gif" border="0" alt="$vboptions[bbtitle]" />'
logo[2]='<img src="$stylevar[imgdir_misc]/logo3.gif" border="0" alt="$vboptions[bbtitle]" />'
logo[3]='<img src="$stylevar[imgdir_misc]/logo4.gif" border="0" alt="$vboptions[bbtitle]" />'
var displaylogo=Math.floor(Math.random()*(logo.length))
document.write(logo[displaylogo])
</script>
If you have more than 4 logos, you can add more array to that script.
Upload logo1.gif , logo2.gif , logo3.gif , logo4, etc... to images/misc/ dir

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024