Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Rotating Forum Banners Details »»
Rotating Forum Banners
Version: 1.00, by Beermonster Beermonster is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 05-27-2004 Last Update: Never Installs: 47
Supported
 

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 08-27-2004, 10:39 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by luiseman
the prefix table is none.

Your not really giving me much to go on, it has to be something that you have done wrong, try reinstalling it but without your modification and see if it works then.

If it doesn't work I will happily install it for you, I've already done it for several people, just pm me with your admin login details, ftp & mysql, apart from that with out a proper description of what you are doing and what is not happening there's not a lot I can do.
Reply With Quote
  #43  
Old 09-05-2004, 07:33 PM
nelto nelto is offline
 
Join Date: Sep 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is by any chance some one tested this hack on 3.0.3?

I was looking for something like this.
Reply With Quote
  #44  
Old 09-06-2004, 04:08 AM
Doc203's Avatar
Doc203 Doc203 is offline
 
Join Date: Oct 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes... it works fine on 3.03
Reply With Quote
  #45  
Old 09-07-2004, 10:27 AM
Mu5icMan Mu5icMan is offline
 
Join Date: Aug 2003
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could this be modified so you can upload the banners from your computer to the appropriate directory instead of using ftp.
Reply With Quote
  #46  
Old 09-07-2004, 01:49 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mu5icMan
Could this be modified so you can upload the banners from your computer to the appropriate directory instead of using ftp.
You mean by selecting it from a browse box in the AdminCP or to use a separate upload script?

Either way the answer would be yes but then you would still have to delete them using ftp, but I don't have the time to make the changes I'm busy working on other projects, and there wouldn't be much of a gain in doing it, but if someone wants to try they are more than welcome.
Reply With Quote
  #47  
Old 09-07-2004, 02:12 PM
Mu5icMan Mu5icMan is offline
 
Join Date: Aug 2003
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I mean by selecting it from a browse box.

If it's ok with you can i made changes to your hack to allow this.

After i'm done shall i post it here, or pm you with it to make sure it's acceptable.
Reply With Quote
  #48  
Old 09-07-2004, 02:24 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mu5icMan
I mean by selecting it from a browse box.

If it's ok with you can i made changes to your hack to allow this.

After i'm done shall i post it here, or pm you with it to make sure it's acceptable.

Feel free to do it, I have been going to do a similar thing to another hack I have done but just haven't had the time
Reply With Quote
  #49  
Old 09-09-2004, 03:43 PM
Marulatree's Avatar
Marulatree Marulatree is offline
 
Join Date: Nov 2002
Location: London
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(or anyone that can answer this:

How do I link these to a website?


$banner_array = array(
'images/banner1.jpg',
'images/banner2.jpg',
'images/banner3.jpg'

Quote:
Originally Posted by Trigunflame
People If you wanna do banner rotation just use something much simpler

1. Go to whichever style you want banner rotated. (Style Manager > Style Name > All Style Options)

2. In The phpinclude_start box insert this
PHP Code:
// Foreach banner you want to rotate insert a a line such as:
// 'images/bannerx.gif',
$banner_array = array(
  
'images/banner1.jpg',
  
'images/banner2.jpg',
  
'images/banner3.jpg'
);
$banner $banner_array[mt_rand(0,count($banner_array)-1)]; 
3. In the header template replace the section that deals with the img tag with something like this

HTML Code:
<img src="$banner" border="0" alt="$vboptions[bbtitle]" usemap="#Map" />
Basically you're just changing the the src to the $banner variable... very easy requires no special html or javascript or any of that stuff..
Reply With Quote
  #50  
Old 09-10-2004, 07:09 AM
Marulatree's Avatar
Marulatree Marulatree is offline
 
Join Date: Nov 2002
Location: London
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bumper-bump-bump...
Reply With Quote
  #51  
Old 09-10-2004, 07:29 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marulatree
bumper-bump-bump...

1.4 No senseless "Bumping": Please do not bump your request/help searching or other threads several times a day. Remember there are people who don't browse this board every hour. So do not bump a thread within 24h or too much even after 24 hours.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05079 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete