[request] Random logo for every page, forum or category

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
Locked
murnauvsbuñuel
Registered User
Posts: 177
Joined: Mon Jun 20, 2005 9:49 am

[request] Random logo for every page, forum or category

Post by murnauvsbuñuel »

I watch that in each forum phpBB 3.0 Olympus i can customize the forum style and forum image but i want and request a mod to define a different logo for each forum or category too. If more than one logo is definied, the hack chooses the logo randomly.

Similar to this mod to phpBB 2.x

thanks
sorry for my bad english i am spanish.
ImagemxBB Portal the best portal to phpBB2

snider
Registered User
Posts: 43
Joined: Mon May 21, 2007 7:30 pm

Re: [request] Random logo for every page, forum or category

Post by snider »

I second this request, this would rock !!

Tanapangarap
Registered User
Posts: 67
Joined: Sat Mar 11, 2006 5:18 am
Contact:

Re: [request] Random logo for every page, forum or category

Post by Tanapangarap »

I third that request.

User avatar
Miyagui
Registered User
Posts: 8
Joined: Fri Mar 30, 2007 2:10 am

Re: [request] Random logo for every page, forum or category

Post by Miyagui »

I'm using this, though it works whenever you refresh.

In the overall_header.html I replaced the {SITE_LOGO_IMG} for:

Code: Select all

<script type="text/javascript">
num = Math.round(Math.random()*3)
document.write('<img src="http://www.yourwebsite.com/yourfolder/logo' + num + '.jpg">');
</script>
- Change "http://www.yourwebsite.com/yourfolder/" for the path you choose.
- Name your files logo0.jpg, logo1.jpg, logo2.jpg, logo3.jpg
- If you want more than 4 logos just change the 3 in the line "Math.round(Math.random()*3)" for the number you want.

Obviously it disables the ACP logo function.
Regards, Miyagui.

murnauvsbuñuel
Registered User
Posts: 177
Joined: Mon Jun 20, 2005 9:49 am

Re: [request] Random logo for every page, forum or category

Post by murnauvsbuñuel »

thanks Miyagui, but this will be the same random logos to the all forums i request a mod with different random logos to each forum, because not all forum can be about the same thematic.
and your mod disables the ACP logo function, i dont request this. thanks.
sorry for my bad english i am spanish.
ImagemxBB Portal the best portal to phpBB2

murnauvsbuñuel
Registered User
Posts: 177
Joined: Mon Jun 20, 2005 9:49 am

Re: [request] Random logo for every page, forum or category

Post by murnauvsbuñuel »

i have found a Beta mod to phpBB 3.x here: http://www.phpbb.com/community/viewtopi ... 0&t=546793
sorry for my bad english i am spanish.
ImagemxBB Portal the best portal to phpBB2

Locked

Return to “[3.0.x] MOD Requests”