vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Rotating Banner System (https://vborg.vbsupport.ru/showthread.php?t=188328)

bzcomputers 02-08-2014 12:05 AM

Quote:

Originally Posted by dr.reddy (Post 2479674)
can we duplicate same banner to make it appear more often than other banners on page load. ( i see that out of my 6 banners 1 banner is appearing less often)

Example banner ID is 10,12 and 13 and position is "0" for all of them targeting below navbar

Yes, you can duplicate banners within a position to get them to show more often.

Be aware though that over time if each banner is represented once within a position it will be shown approximately the same amount of times. When you say one is appearing less often it is most likely your sample number of page refreshes was too low to get an accurate display of what would occur over time. If you want the ad to display the same amount of times as the other ads you really should only reference it once under that position.

drdoc 02-08-2014 12:45 AM

Quote:

Originally Posted by TheLastSuperman (Post 2479661)
@bzcomputers I'd like all of your posts for helping dr.reddy if it would let me, can only like one for now until I share more "like love" so instead a shout out to you for being super nice and helping him today!



^ Go back in settings and change that BACK to the previous value, it should always read <!--@vbbanners:%d@-->

If you currently have it set to: <!--@vbbanners:0@--> then it will not work, it must have the %d.
To explain the mod knows that the %d represents a # i.e. the banner list ID#.



That is correct, that will now show the banners (all banners you have added to LIST 0) from list 0 in that location. If more than one banner they will randomly rotate in.



Add more banners to List 0 OR manage the other list and add in banners to those list, you only add more code to the template i.e. <!--@vbbanners:0@--> and <!--@vbbanners:1@--> if you are showing the banners from list 0 AND list 1.

Edit: Ahh and this mod rotates the banners on page load/refresh there is currently no timer function.

Quote:

Originally Posted by bzcomputers (Post 2479691)
For side by side change banner 4 to this:

Code:

<table align="center"><tr><td>Put what you have currently in Banner 4 here</td><td>Put what you have currently in Banner 5 here</td><td>Put what you have currently in Banner 6 here</td></tr></table>
If you want spacing between the banners add this code between each banner code above:
Code:

<td style="width: 20px;">&nbsp;<td>
Adjust "20" to any spacing width you would like.

You can then delete Banners 5 & 6.

I have one doubt here about this code <table align="center"><tr><td>Put what you have currently in Banner 4 here</td><td>Put what you have currently in Banner 5 here</td><td>Put what you have currently in Banner 6 here</td></tr></table>

sorry but I have few qs on this

1. I need to place this code in below navbar template beside <!--@vbbanners:0@-->??

2. you said, Put what you have currently in Banner 4...5...6...what i should put there exactly? ..any example

3. why should i delete 5 and 6, how can i redirect to my website URL and image source URL...little bit confused here....example i have banner 4, 5, 6 under 10,11,12 ID at position 0,

I think i need to read pdf little more...yes am thinking of avoiding duplicate banners to show more often...

4. As shown in demo by coder here, http://www.pagerobot.com/pub/rbs/rbs_01.htm where is ad_header_logo in AD templates as shown in demo...i think it is not present in VB 4.2.2...am also thinking of placing banners above logo...

thx

bzcomputers 02-08-2014 01:01 AM

Quote:

Originally Posted by dr.reddy (Post 2479700)
1. I need to place this code in below navbar template beside <!--@vbbanners:0@-->??

No. The code belongs in the "Text" field for the banner (I believe your ID10).


Quote:

Originally Posted by dr.reddy (Post 2479700)
2. you said, Put what you have currently in Banner 4...5...6...what i should put there exactly? is it...any example

Example:
Code:

<table align="center"><tr><td><img src="http://www.yoursitename.com/ad-banners/banner4.jpg" /></td><td><img src="http://www.yoursitename.com/ad-banners/banner5.jpg" /></td><td><img src="http://www.yoursitename.com/ad-banners/banner6.jpg" /></td></tr></table>

Quote:

Originally Posted by dr.reddy (Post 2479700)
3. why should i delete 5 and 6, how can i redirect to my website URL and image source URL...little bit confused here....example i have banner 4, 5, 6 under 10,11,12 ID at position 0,

Your confused? I think you're confusing me now! I was referring to deleting the ID positions for the banners that are no longer needed because they will now be combined under the one ID.

drdoc 02-08-2014 01:13 AM

Just now i saw under Add templates 2 similar templates

1. ad_navbar_below ...here i placed <!--@vbbanners:0@--> codes as mentioned in demo and as suggested by you guys

2.ad_global_below_navbar Is this template for This one is meant for default VB Ad locations?

Both looks similar, so i raised this question....i hope for this rbs mod i should stick to ad_navbar_below

drdoc 02-08-2014 01:25 AM

Quote:

Originally Posted by bzcomputers (Post 2479710)
No. The code belongs in the "Text" field for the banner (I believe your ID10).

Actually i have nothing in my TEXT field but have just image banner with destination URL (http://example dot com) and image/flash (http://.tinypic dot 4.jpg)

my text field is empty...i have HTML codes but simply using URL for destination site and image/flash




Example:
Code:

<table align="center"><tr><td><img src="http://www.yoursitename.com/ad-banners/banner4.jpg" /></td><td><img src="http://www.yoursitename.com/ad-banners/banner5.jpg" /></td><td><img src="http://www.yoursitename.com/ad-banners/banner6.jpg" /></td></tr></table>





Quote:

Originally Posted by bzcomputers (Post 2479710)
Your confused? I think you're confusing me now! I was referring to deleting the ID positions for the banners that are no longer needed because they will now be combined under the one ID.

I got it, but am not using text filed....i understood your intention of using all 3 banners under same ID, so asking me to delete other ID's

bzcomputers 02-08-2014 01:38 AM

Quote:

Originally Posted by dr.reddy (Post 2479721)
Actually i have nothing in my TEXT field but have just image banner with destination URL (http://example dot com) and image/flash (http://.tinypic dot 4.jpg)

my text field is empty...i have HTML codes but simply using URL for destination site and image/flash

To combine those 3 ads into one position you would need to pull the info out of URL and IMAGE/FLASH and combine it in the single Text field.

Example of what would go in Text:
Code:

<table align="center"><tr><td><a href="WHAT YOU HAVE IN URL 1" /><img src="WHAT YOU HAVE IN IMAGE/FLASH 1" /></a></td><td><a href="WHAT YOU HAVE IN URL 2" /><img src="WHAT YOU HAVE IN IMAGE/FLASH 2" /></a></td><td><a href="WHAT YOU HAVE IN URL 3" /><img src="WHAT YOU HAVE IN IMAGE/FLASH 3" /></a></td></tr></table>

drdoc 02-08-2014 03:34 AM

Quote:

Originally Posted by bzcomputers (Post 2479722)
To combine those 3 ads into one position you would need to pull the info out of URL and IMAGE/FLASH and combine it in the single Text field.

Example of what would go in Text:
Code:

<table align="center"><tr><td><a href="WHAT YOU HAVE IN URL 1" /><img src="WHAT YOU HAVE IN IMAGE/FLASH 1" /></a></td><td><a href="WHAT YOU HAVE IN URL 2" /><img src="WHAT YOU HAVE IN IMAGE/FLASH 2" /></a></td><td><a href="WHAT YOU HAVE IN URL 3" /><img src="WHAT YOU HAVE IN IMAGE/FLASH 3" /></a></td></tr></table>

you are simple superb...i have added few banners which are small side by side and just added space between them like you mentioned before with <td style="width: 20px;">&nbsp;<td>

apart from above, i just added target="_blank", to make target website of banner to appear in new window.

overall am really happy with your help....

For the 3 banners i placed ( example 4,5,6) , i think impressions and clicks will be shown under banner 4 only...so i just miss individual clicks in results, if i place banner side by side

anyway am satisfied with this experiment....thanks:)

drdoc 02-08-2014 03:39 AM

I observerd that these banners are appearing randomly and one or two banners some time appear more often than other.

1. Is there any way to make banners appear in a serial way like banner 1, next 2, next 3 etc...instead of current random rbs

2. Next thing as already discussed we don't have settings of time gap control between rotating banners

bzcomputers 02-08-2014 03:42 PM

Quote:

Originally Posted by dr.reddy (Post 2479737)
1. Is there any way to make banners appear in a serial way like banner 1, next 2, next 3 etc...instead of current random rbs

Not unless you are into writing code to change this mod. It is currently hardcoded to show the ads randomly. Trust me over time they will appear approximately the same number of times. If this wasn't true there would have been more people complaining about over the last 5 years this mod has been available.


Quote:

Originally Posted by dr.reddy (Post 2479737)
2. Next thing as already discussed we don't have settings of time gap control between rotating banners

Again, not unless you are into writing code to change this mod. It is currently hardcoded to rotate banners on pageload, not on a specific time.

Just remember to consider how long a visitor is on your page and then how long that ad will be viewable. Average page visits are less than a minute and during that time a user is probably scrolling at some point moving the initial ad(s) at the top of your page out of view and ad(s) further down the page into view. On top of that, the visitor came to your page for a reason and it wasn't initially for that ad. They will typically want to check out the page for the information they seek prior to clicking on an ad. Then when they're ready to click, you may have changed the ad on them already. There is a reason this option doesn't exist, because under most circumstances it isn't a benefit.

nxtgen 02-08-2014 04:33 PM

Any idea what causes the banners to move around? If I resize the window, the banner moves? It doesn't seem to matter where I place it. Is there anyway to make it static...

This could even be style related or my tags? I am not sure.. This mod is awesome that is for sure. thanks for it

I am trying to place two ads under the "Welcome username, Settings, Profile, Log out" in the header.
They are 468 x 60 in size


** CSS EDIT::
#ad_global_below_navbar {
width:100%;
padding:{vb:stylevar ad_padding};
margin:{vb:stylevar ad_margin};
display: inline-block;
overflow-x:auto;
white-space: nowrap;

}


All times are GMT. The time now is 04:34 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.03910 seconds
  • Memory Usage 1,793KB
  • 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_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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