News:

Wondering if this will always be free?  See why free is better.

Main Menu

Random Forum Banner/Logo

Started by live627, July 13, 2010, 04:50:55 PM

Previous topic - Next topic

live627

Link to Mod

This mod will add script which will enable you to have random images load as your banner, the banner is set above your forum, I have added the smf logo as a temporary logo.

You can add images to the LogoImages directory in you theme and they will be randomly displayed to all your members.

The Rotator script was courtesy of another author, I just made it easy for ya! :P



   
AUTOMATIC IMAGE ROTATOR
Version 2.2 - December 4, 2003
Copyright (c) 2002-2003 Dan P. Benjamin, Automatic, Ltd.
All Rights Reserved.
http://www.marcofolio.net/webdesign/php_random_image_rotation.html




New Version added. Version 0.6.
changelog:
Added the ability to turn off the banner, could be useful when your close to your bandwidth limits.


Existing users;
Uninstall the older versions, Remember to save your images from the LogoImages directory 1st, as the mod un-installation will remove them.

Qayyom Ashraf

Qayyom Ashraf  |  Karachi-PK |::.www.JangForum.Com.::|

ɔɔɔɔɔɔuɥoɾ

Its a very simple mod, it adds a banner logo above your forum, and randomly selects the banners in the LogoImages folder.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

JungleBunny


MATTEK

SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

ɔɔɔɔɔɔuɥoɾ

Quote from: MATTEK on July 16, 2010, 01:09:39 AM
Quote from: qayyom on July 14, 2010, 01:41:39 AM
Any online / working demo?

Seconded.

I do not have hosting to provide a demo, and would not rely on free hosting to serve up as a decent demo site.

On the other hand, its really simple to imagine yourself.

You put 10 banners inside the LogoImages Directory, every time your pages loads, one of the 10 will be chosen randomly.
The Banner is above the entire forum.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

ukhalik2

woww.. very kool...
I'll try and provide you a demo :)

ɔɔɔɔɔɔuɥoɾ



SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

ɔɔɔɔɔɔuɥoɾ

New Version added. Version 0.6.
changelog:
Added the ability to turn off the banner, could be useful when your close to your bandwidth limits.


Existing users;
Uninstall the older versions, Remember to save your images from the LogoImages directory 1st, as the mod un-installation will remove them.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Isabelle88

#9
I love the idea of this and I'm trying to install it, i have to do it manually and I've run into trouble. I cannot find "/Sources/ManageSettings.php"

I checked numerous times and I have managesearch and managesmileys but no managesettings, could it be titled something else?

I have SMF 1.1.10

edited to add, i also cant edit the page "/Themes/default/css/index.css" like the Installation Instructions for 1.1.10 says because again cant find it

thanks for any help

ɔɔɔɔɔɔuɥoɾ

This mod installs on SMF 2 RC3, but it can be used on SMF 1 too, just needs to be manually installed, I think I will port this tomorrow, its pretty simple.

If you use the older version you will not have to worry about that, instead of just simply turning the banner off you can just uninstall the mod.

SMF 1 does not have ManageSettings.php file, that's why you cannot find it.

If the index.template.php file passes you could install the mod, but remember to add the index.css edits to your style.css file.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Tokzu

#11
Hi, I'm getting a 500 Internal Server Error when I try to see the banner, in the forum it is not shown, and when I see directly the file (hxxp://www.mywebsite.com/.../LogoImages/random_logo.php) I get this error. T_T

Edited:

Sorry, I fixed the problem, thanks for this mod. U^^
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

pilladoll

Can't install it on a 1.1.11 forum.
http://ssnd.xtreemhost.com/foro/index.php
SMF Version 1.1.12
Theme: Gold Moon

carinaking

On the other hand, its really simple to imagine yourself.

You put 10 banners inside the LogoImages Directory, every time your pages loads, one of the 10 will be chosen randomly.
The Banner is above the entire forum.


ɔɔɔɔɔɔuɥoɾ

Quote from: carinaking on September 30, 2010, 10:42:29 PM
On the other hand, its really simple to imagine yourself.

You put 10 banners inside the LogoImages Directory, every time your pages loads, one of the 10 will be chosen randomly.
The Banner is above the entire forum.



???


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Jorge D. Fuentes

My forum has a forum banner graphic that matches a graphic on the far right, with the default gradient spacer in between.
Is there a way for the mod to do a random banner switch whilst also picking its random 'right side' counterpart?  I won't worry about the spacer...

The.Shadow

I install this mod, all the goes ok, no errors. When I activate it in the admin panel I get a square box with a red X where the picture is suppose to be. So I uninstalled it and tried to install it manually, but I still get the same error, a red X. I am using RC4.

Any and all help is appreciated.

KT

how do i find the LogoImages directory

myktek

#18
I had to manually install it for RC4 and it's not appearing above my image.

When I just try to run random_logo.php from the LogoImages directory, I get an "Internal Server Error" message.

any help would be appreciated

Here are the files I modified.

impreza

an interesting addition, perhaps it will test
Portal ToTemat.pl - Filmy i Artykuły

Advertisement: