vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Multibanner mod ? (https://vborg.vbsupport.ru/showthread.php?t=325555)

amine13420 08-30-2017 10:12 AM

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

unitedpunjab 08-30-2017 10:25 AM

This is one way to do it.

http://javascriptkit.com/script/cut118.shtml

amine13420 08-30-2017 11:03 AM

thank's a lot,

i don't know if it will be possible to use flash banner and gif together with this script !?

Brandon Sheley 08-31-2017 02:19 AM

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.

amine13420 09-03-2017 07:07 PM

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>

TheLastSuperman 09-03-2017 09:35 PM

Quote:

Originally Posted by amine13420 (Post 2589730)
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.

amine13420 09-04-2017 10:41 PM

Quote:

Originally Posted by TheLastSuperman (Post 2589732)
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 (Post 2589732)
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.

TheLastSuperman 09-05-2017 05:45 PM

Quote:

Originally Posted by amine13420 (Post 2589743)
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 (Post 2589678)
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.


All times are GMT. The time now is 02:16 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.01022 seconds
  • Memory Usage 1,736KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete