Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 08-30-2017, 10:12 AM
amine13420 amine13420 is offline
 
Join Date: Nov 2011
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Multibanner mod ?

hi,

i wan't to add some banners on my forum just under the navbar,

but i need a hack where i can put 3 or 4 banners and every time a banner can be shown for visitor,

any help ?

thank's
Reply With Quote
  #2  
Old 08-30-2017, 10:25 AM
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Location: Scotland
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is one way to do it.

http://javascriptkit.com/script/cut118.shtml
Reply With Quote
2 благодарности(ей) от:
amine13420, blind-eddie
  #3  
Old 08-30-2017, 11:03 AM
amine13420 amine13420 is offline
 
Join Date: Nov 2011
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank's a lot,

i don't know if it will be possible to use flash banner and gif together with this script !?
Reply With Quote
  #4  
Old 08-31-2017, 02:19 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it should be possible to have flash and .gif with a rotation script.
I would suggest running your own ad server though, if you setup vbulletin then you can setup Revive, which has been around for years.
https://www.revive-adserver.com/
You can then track a range of metrics and also improve your advertising page by offering some stats to your advertisers.
This might not be something you need right now but I'd keep it in mind if you want to scale up to multiple placements and vendors.
Reply With Quote
Благодарность от:
amine13420
  #5  
Old 09-03-2017, 07:07 PM
amine13420 amine13420 is offline
 
Join Date: Nov 2011
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank's a lot,

now i need put banner in script for exemple : www.123.com/banner.gif

and reffer to this link : www.123.com/link/

how to do ?

Quote:
<script language="JavaScript">
<!--

/*
Random Image Script- By JavaScript Kit (http://www.javascriptkit.com)
Over 400+ free JavaScripts here!
Keep this notice intact please
*/

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="image1.gif"
myimages[2]="image2.gif"
myimages[3]="image3.gif"
myimages[4]="image4.gif"
myimages[5]="image5.gif"
myimages[6]="image6.gif"

var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<img src="'+myimages[ry]+'" border=0>')
}
random_imglink()
//-->
</script>

<p align="center">This free script provided by<br />
<a href="http://javascriptkit.com">JavaScript
Kit</a></p>
Reply With Quote
  #6  
Old 09-03-2017, 09:35 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amine13420 View Post
thank's a lot,

now i need put banner in script for exemple : www.123.com/banner.gif

and reffer to this link : www.123.com/link/

how to do ?
That looks similar to what rotate.php does (popular script/file few vB owners use and is on this site in a few different threads). I would simply install and use this: https://vborg.vbsupport.ru/showthread.php?t=188328 its compatible with vBulletin 3 and 4.
Reply With Quote
Благодарность от:
amine13420
  #7  
Old 09-04-2017, 10:41 PM
amine13420 amine13420 is offline
 
Join Date: Nov 2011
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
That looks similar to what rotate.php does (popular script/file few vB owners use and is on this site in a few different threads). I would simply install and use this: https://vborg.vbsupport.ru/showthread.php?t=188328 its compatible with vBulletin 3 and 4.
This will work directelly under the $navbar ?

--------------- Added [DATE]1504611872[/DATE] at [TIME]1504611872[/TIME] ---------------

Quote:
Originally Posted by TheLastSuperman View Post
That looks similar to what rotate.php does (popular script/file few vB owners use and is on this site in a few different threads). I would simply install and use this: https://vborg.vbsupport.ru/showthread.php?t=188328 its compatible with vBulletin 3 and 4.
Your link for mod is the best way, i installed and working very nice,

thank's a lot for your help.
Reply With Quote
  #8  
Old 09-05-2017, 05:45 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amine13420 View Post
This will work directelly under the $navbar ?

--------------- Added [DATE]1504611872[/DATE] at [TIME]1504611872[/TIME] ---------------



Your link for mod is the best way, i installed and working very nice,

thank's a lot for your help.
Great but don't forget Brandon's suggestion below. With Revive you can track impressions and much more i.e. provide your advertisers with actual statistics per say.

Quote:
Originally Posted by Brandon Sheley View Post
Yes it should be possible to have flash and .gif with a rotation script.
I would suggest running your own ad server though, if you setup vbulletin then you can setup Revive, which has been around for years.
https://www.revive-adserver.com/
You can then track a range of metrics and also improve your advertising page by offering some stats to your advertisers.
This might not be something you need right now but I'd keep it in mind if you want to scale up to multiple placements and vendors.
I like Revive, I actually use it in conjunction with the rotating banner mod on quite a few sites.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:40 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.11230 seconds
  • Memory Usage 2,241KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (4)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete