vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Rotating Forum Banners (https://vborg.vbsupport.ru/showthread.php?t=65604)

Beermonster 05-27-2004 10:00 PM

Rotating Forum Banners
 
Rotating Forum Banners

Tested on vBulletin 3.0.1


I have seen this sort of hack requested many times so I thought I would spend a bit of time and create one.

This will add upto 3 rotating image banners with links on each of your forums using your AdminCP.

The orignal slide show script came from Dynamic Drive

Some values you can change in the script are for pause between next image, animation speed and image size, just find:

Code:

var trans_width='480px' //slideshow width
var trans_height='60px' //slideshow height
var pause=5000 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)
var degree=10 //animation speed. Greater is faster




If you use this please click install, thanks :)

pjdaley 05-28-2004 03:22 PM

very useful, waiting for something like this! thannx

???`S?LV?R???` 05-28-2004 05:18 PM

nice, i think i can find some use for this eventually.

gmarik 05-29-2004 09:24 AM

cool. could be more advanced - will be?

Beermonster 05-29-2004 09:27 AM

Quote:

Originally Posted by gmarik
cool. could be more advanced - will be?

How do you mean? how advanced do you want it?

reteep 05-29-2004 12:31 PM

Great, thanks a lot!

joeychgo 05-29-2004 04:29 PM

its great - but I would prefer something that would have more then 3 banners and could be displayed on all forums

Beermonster 05-29-2004 06:02 PM

Quote:

Originally Posted by joeychgo
its great - but I would prefer something that would have more then 3 banners and could be displayed on all forums

I did 3 because I thought it was a good place to start, like I said it's easy to add more, but where do you stop? you might want 5, someone else 10, and another wants 25, to display on all forums shouldn't be a problem I will have a look at it

joeychgo 05-29-2004 06:53 PM

Quote:

Originally Posted by Beermonster
I did 3 because I thought it was a good place to start, like I said it's easy to add more, but where do you stop? you might want 5, someone else 10, and another wants 25, to display on all forums shouldn't be a problem I will have a look at it


ok, maybe simple instructions on how to add more for those of us who are html challenged? :)

Beermonster 05-29-2004 07:11 PM

Quote:

Originally Posted by joeychgo
ok, maybe simple instructions on how to add more for those of us who are html challenged? :)

hmm I had started to do that, but I'm getting really confused :)

If you can see whats happening to this then I will be happy to go through the rest of it
Code:

Run Query:
ALTER TABLE `forum` ADD `rbanner1` VARCHAR( 50 ) NOT NULL AFTER `description` ;
ALTER TABLE `forum` ADD `rbannerlink1` VARCHAR( 250 ) NOT NULL AFTER `rbanner1` ;
ALTER TABLE `forum` ADD `rbanner2` VARCHAR( 50 ) NOT NULL AFTER `rbannerlink1` ;
ALTER TABLE `forum` ADD `rbannerlink2` VARCHAR( 250 ) NOT NULL AFTER `rbanner2` ;
ALTER TABLE `forum` ADD `rbanner3` VARCHAR( 50 ) NOT NULL AFTER `rbannerlink2` ;
ALTER TABLE `forum` ADD `rbannerlink3` VARCHAR( 250 ) NOT NULL AFTER `rbanner3` ;
ALTER TABLE `forum` ADD `rbanner4` VARCHAR( 50 ) NOT NULL AFTER `rbannerlink2` ;
ALTER TABLE `forum` ADD `rbannerlink3` VARCHAR( 250 ) NOT NULL AFTER `rbanner4` ;



All times are GMT. The time now is 12:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01208 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete