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
  #52  
Old 09-10-2004, 10:34 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
$banners = array (
        
"banner1.gif|redirect1.pl|alt text 1|0|468|60",
        
"banner2.gif|redirect2.pl|alt text 2|0|468|60"
);
$banner $banners[mt_rand(0,sizeof($banners) - 1)];
list(
$imgsrc,$myurl,$alttext,$border,$width,$height) = explode ('|',$banner); 
This code is what is used on a normal website. You'll have to use something different for vB, I expect. Haven't looked at the rest of the thread.
Code:
echo("<A HREF=\"http://www.yoursite.com/cgi-bin/$myurl\" TARGET = \"_blank\"><IMG src=\"http://www.yoursite.com/banners/$imgsrc?" . mt_rand(1,999) . "\" border=\"$border\" width=\"$width\" height = \"$height\" alt=\"$alttext\"></A>");
Clicking the banners fires the perl script in your cgi-bin folder. This is so you can run reports on your activity log file to count the number of times each perl script has been opened. This is the number of clicks of each banner.

Hope this helps.
Reply With Quote
  #53  
Old 09-15-2004, 04:09 AM
DoKoK DoKoK is offline
 
Join Date: Sep 2004
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it work on 3.0.3?
Reply With Quote
  #54  
Old 09-15-2004, 05:35 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DoKoK
does it work on 3.0.3?

Yes
Reply With Quote
  #55  
Old 10-24-2004, 07:32 PM
dano dano is offline
 
Join Date: May 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
I want to have those three rotating banners on the FORUMHOME page directly under the navbar.

How can I do so?

I think this can be also done or?
I would also love this. Anyone know how do to it?

Also, I just installed this on a clean install of 3.0.3 and it works perfect. Great work.
Reply With Quote
  #56  
Old 10-26-2004, 06:21 AM
TunerNetwork TunerNetwork is offline
 
Join Date: Jul 2004
Location: CT
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a lil trouble installing this, can someone help me out, id greatly appreciate it! I need this for my forum: http://www.tunernetwork.com

Email me or pm me, thanks! zazza_ceo@TunerNetwork.com
Reply With Quote
  #57  
Old 10-26-2004, 06:53 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TunerNetwork
I'm having a lil trouble installing this, can someone help me out, id greatly appreciate it! I need this for my forum: http://www.tunernetwork.com

Email me or pm me, thanks! zazza_ceo@TunerNetwork.com

PM sent
Reply With Quote
  #58  
Old 10-27-2004, 08:54 PM
dano dano is offline
 
Join Date: May 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, 1 issue. When people go to use the search function on the forum where the banner is, the banner covers the search box. How can this be fixed??

Also, I want to have those three rotating banners on the FORUMHOME page directly under the navbar, can anyone tell me how to do this?
Reply With Quote
  #59  
Old 10-27-2004, 09:00 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dano
Also, I want to have those three rotating banners on the FORUMHOME page directly under the navbar, can anyone tell me how to do this?
Hopefully you'll be able to find something useful at
https://vborg.vbsupport.ru/showthread.php?t=67942
Reply With Quote
  #60  
Old 10-28-2004, 07:55 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dano
OK, 1 issue. When people go to use the search function on the forum where the banner is, the banner covers the search box. How can this be fixed??
Can you post a screen shot or give the link to your forum
Reply With Quote
  #61  
Old 11-24-2004, 04:17 PM
SternFan SternFan is offline
 
Join Date: Nov 2003
Location: Eastern PA
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Beermonster
Can you post a screen shot or give the link to your forum
Same Problem here....



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 12:45 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.09124 seconds
  • Memory Usage 2,312KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_code
  • (1)bbcode_php
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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