Tag Archive for 'vbulletin'

VBulletin Hack: Display Random Logo

This hack will randomly change the forum logo for users randomly every (images/1000) times.
If you have five images then there is a 5 in 1000 or 1 in 200 chance the user will see a “changed” logo.

It usually freaks people out and is a lot of fun.
Works on vBulletin 3.6 and above.

You will need to edit the image url’s as you need. For examples I added in 3 images named logo_random1.jpg through logo_random3.jpg

//random logo hack 1.0, created by jason volk <jason@teknidude.com>
$rnd_pics = Array(
  "/forums/misc/skin/logo_random1.jpg",
  "/forums/misc/skin/logo_random2.jpg",
  "/forums/misc/skin/logo_random3.jpg",
  );
//pick random number
if (($rnd_i=rand(0,1000))<count($rnd_pics))
  $stylevar['titleimage']=$rnd_pics[$rnd_i];
unset($rnd_i,$rnd_pics);  //clear used vars