Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Logo Rotation Details »
Logo Rotation
Mod Version: 0.7, by thunderclap82 (Contributor) thunderclap82 is offline
Developer Last Online: Apr 2019 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (3 votes - 4.67 average) Installs: 22
Released: 21 Oct 2010 Last Update: Never Downloads: 0
Not Supported Uses Plugins Template Edits Code Changes Re-usable Code  

I had a client who wanted a rotating logo system that allowed them to have fancy transitions and have each logo link to a specific page. No mod I could find allowed this so, utilizing a jQuery app called Nivo Slider, I've managed to create exactly what they wanted.

Please note that I've only attempted this with a fixed theme. I do not know how it will behave with a fluid one. If someone wants to test it and let me know I'll make changes to the instructions as necessary.

DEMO

Special Thanks: Lynne for helping me get the plug-in portion working properly.

Requirement: Nivo Slider

1. Download and decompress the Nivo Slider archive.
2. Upload the files jquery.nivo.slider.pack.js and nivo-slider.css to your forums 'clientscript' folder.
3. Go to vB AdminCP --> Plugins & Products --> Plugin Manager --> Add New Plugin. Enter the following information:

Product: vBulletin
Hook Location: template_register_var
Title: Nivo Logo Rotator
Execution Order: 5
Plugin PHP Code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. Save the Plugin.
5. Go to vB AdminCP --> Styles & Templates --> Style Manager --> Add New Template. Enter the following information:

Title: banner_rotator
Template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Note: There are a lot of customizations for Nivo here, so I suggest you looking over the official website to get an idea of what you can do. These settings change the logo every seven seconds or so. Also, with each new logo you can click on it and be taken to a different URL.)

6. Save.
7. Edit the additional.css template. Add at the bottom:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

8. Save.
9. Edit the header template. Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Delete or comment it out, then replace add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Replace the "XXX" in width and height to that suite your graphic. Width might need a little extra room so experiment a bit.)

10. Save.

You should now have a rotating logo in the header of your vB forum.

Version History
0.7: Added code at step 9 to help lock the header dimensions for your logo.
0.6: Fixed IE bug
0.5: Initial Release

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Banner Rotation plot vBulletin 3.5 Template Modifications 4 28 Jul 2006 10:58

  #61  
Old 18 Jan 2013, 14:29
gadget069 gadget069 is offline
 
Join Date: Dec 2012
I tried using this mod and i get this error

Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 523800 bytes) in /home/................/public_html/vb/includes/class_core.php on line 1
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:36.

Layout Options | Width: Wide Color: