MyBB Community Forums

Full Version: Not sure if theres a mod
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a mod to make your logo change on every refresh?

Look at my site www.totalfootballforums.co.uk/forum

I would like the player to change on every refresh. Is this possible.

It isn't the logo, its the header_bg that its under.
You can make a PHP script that can do so. Google it Smile
(2012-01-19, 04:07 AM)Yaldaram Wrote: [ -> ]http://mybbsource.com/thread-3808.html

There's an app –— err mod — for that!
How do i do this then?
Here a tut that doesn't use core file edits:

Use this and name it say, logo.php:

<?php
$img = array();
$img[] = "logo1.png";
$img[] = "logo2.png";
$img[] = "logo3.png";
$img[] = "logo4.png";
$img[] = "logo5.png";

$rand = array_rand($img, 1);
header("Location: {$img[$rand[0]]}");
?>

Then point your header image to logo.php

That should work.
The $input should be $img.
Oops Toungue fixed
It's not the logo, it's the header that its on.

Just change them to header?
Replace these

$img[] = "logo1.png";

with whatever the images are you want to show up, e.g.

$img[] = "inigo_montoya.png";

and then point the header image to the php file.