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)

floridaideal 05-22-2012 06:12 PM

Hi

Is there anyway to display all the banners on one page? So say 10 banners list down a page with a space inbetween for example?

For example

Banner 1

Bannner2

Banner3

Banner4

Any ideas if this is possible with a tweek maybe?

Thanks

Stu

Videx 05-22-2012 11:38 PM

A while back, in the context of counting impressions and clicks, I reminded everyone that banner ads are practically useless to sponsors. While most of us old timers know this and understand it, I saw a very interesting article today that reinforces the concept of "banner blindness". Ignore this and keep counting at your peril.

http://www.businessinsider.com/eye-t...ps-2012-5?op=1
http://www.useit.com/alertbox/banner-blindness.html

kamran_dotnet 05-25-2012 08:32 AM

anyone test "Rotating Banner System" in vbulletin 4.2 ?

clauz 05-25-2012 09:00 AM

Quote:

Originally Posted by kamran_dotnet (Post 2332650)
anyone test "Rotating Banner System" in vbulletin 4.2 ?

It is working fine.

Rckcrwlr 05-25-2012 10:07 AM

Quote:

Originally Posted by kamran_dotnet (Post 2332650)
anyone test "Rotating Banner System" in vbulletin 4.2 ?

Working fine on mine...

ohadpartuck 05-25-2012 03:59 PM

Hi,
My site is here

I have added a banner today. It's the 2nd from the top to the left.
If i click on it after the movie is over (it's without loop), it opens the landing pgae.
If i click on it before the movie is over , it opens the landing page + the swf itself!!
why ??

PHP Code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,2,0,0" border="0" width="150" height="75"><param name="movie" value="http://www.s-maof.com/Forum/rbs_wrapper.swf"><param name="FlashVars" value="banner=http://s-maof.com/LandingPages/options/exc150x75.swf&amp;jlink=http://www.s-maof.com/Forum/rbs_banner.php?id=16&amp;userid=5&amp;bwidth=150&amp;bheight=75"><embed wmode="transparent" src="http://www.s-maof.com/Forum/rbs_wrapper.swf" flashvars="banner=http://s-maof.com/LandingPages/options/exc150x75.swf&amp;jlink=http://www.s-maof.com/Forum/rbs_banner.php?id=16&amp;userid=5&amp;bwidth=150&amp;bheight=75" loop="false" pluginspage="http://www.macromedia.com/go/get/flashplayer" type="application/x-shockwave-flash" width="150" height="75"><param name="wmode" value="transparent"></object


y2ksw 05-25-2012 05:12 PM

Quote:

Originally Posted by ohadpartuck (Post 2332713)
Hi,
My site is here

I have added a banner today. It's the 2nd from the top to the left.
If i click on it after the movie is over (it's without loop), it opens the landing pgae.
If i click on it before the movie is over , it opens the landing page + the swf itself!!
why ??

PHP Code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,2,0,0" border="0" width="150" height="75"><param name="movie" value="http://www.s-maof.com/Forum/rbs_wrapper.swf"><param name="FlashVars" value="banner=http://s-maof.com/LandingPages/options/exc150x75.swf&amp;jlink=http://www.s-maof.com/Forum/rbs_banner.php?id=16&amp;userid=5&amp;bwidth=150&amp;bheight=75"><embed wmode="transparent" src="http://www.s-maof.com/Forum/rbs_wrapper.swf" flashvars="banner=http://s-maof.com/LandingPages/options/exc150x75.swf&amp;jlink=http://www.s-maof.com/Forum/rbs_banner.php?id=16&amp;userid=5&amp;bwidth=150&amp;bheight=75" loop="false" pluginspage="http://www.macromedia.com/go/get/flashplayer" type="application/x-shockwave-flash" width="150" height="75"><param name="wmode" value="transparent"></object


The wrapper does nothing to the banner, it just loads and shows it in a private container. It has proven to work with a large number of banners, but not literally all. There are always masters who break any best rule :p

y2ksw 05-25-2012 05:15 PM

Quote:

Originally Posted by floridaideal (Post 2331645)
Hi

Is there anyway to display all the banners on one page? So say 10 banners list down a page with a space inbetween for example?

For example

Banner 1

Bannner2

Banner3

Banner4

Any ideas if this is possible with a tweek maybe?

Thanks

Stu

Yes, with N placeholders one below another such as:
Code:

<!--@vbbanners:0--><br />
<!--@vbbanners:0--><br />
<!--@vbbanners:0--><br />
<!--@vbbanners:0--><br />
<!--@vbbanners:0--><br />
<!--@vbbanners:0--><br />
<!--@vbbanners:0--><br />
<!--@vbbanners:0--><br />

Where N is the number of the banners you want to show at once. Of course, you need that number of banners on that location, too :)

y2ksw 05-25-2012 05:25 PM

Quote:

Originally Posted by VBLUIS (Post 2331623)
Thanks for the reply y2ksw. But I do not understand exactly the difference CMS to charge for my sponsors:confused:.

I did not understand this part, may explain it a little more?


thanks

The more banners you have for your pages, the more they are split. Say you have 1 page and 100 banners, so each banner will randomly show about every 100th page view and thus count each 1 for 100 page views.

With 10 banners and 1 page each banner will randomly show about every 10th page view and thus count each 10 for 100 page views.

With 1 banner and 1 page the banner will randomly show every page view and thus count each 100 for 100 page views.

Now: with 50 banners and 2.000 pages, how many impressions will each banner have for 1.000.000 page views? :D (sorry, I made it a little more challenging)

ohadpartuck 05-26-2012 11:46 AM

Quote:

The wrapper does nothing to the banner, it just loads and shows it in a private container. It has proven to work with a large number of banners, but not literally all. There are always masters who break any best rule
didn't quite get the answer. What are you saying? that there is no solution for this problem? my users will have to get the landing AND the enlarge banner when they click on the SWF through 'Rotation banner system'?

ohadpartuck 05-26-2012 12:08 PM

Quote:

Originally Posted by y2ksw (Post 2332762)
The wrapper does nothing to the banner, it just loads and shows it in a private container. It has proven to work with a large number of banners, but not literally all. There are always masters who break any best rule :p

soo... what do suggest doing?

y2ksw 05-26-2012 12:55 PM

Quote:

Originally Posted by ohadpartuck (Post 2333025)
didn't quite get the answer. What are you saying? that there is no solution for this problem? my users will have to get the landing AND the enlarge banner when they click on the SWF through 'Rotation banner system'?

Quote:

Originally Posted by ohadpartuck (Post 2333035)
soo... what do suggest doing?

This product is about rotating banners and problems about banners itself are out of scope.

I was trying to help you anyways, suggesting there is something wrong with your flash banner, not with the wrapper, else there would have been hundreds of complaints the past years and I would have removed it probably at all.

Since flash can override anything about browsers, it is also capable to override the wrapper function, in order to do whatever it was designed for. If the flash banner has a weird design and you are unhappy with the wrapper, you still can include the banner without wrapper by simply coding the HTML yourself and setting as if it was a text/script banner.

cloferba 05-29-2012 07:39 PM

I had this plugin installed and working but an admin uninstalled it. Then I installed it again but the banners are not shown.

Could you please tell my why this? I can give you admin details in order to access and help to show them.

Thank you, I appreciate your support :)

nrms? 05-31-2012 12:03 PM

Installed, but after a few hours, I'm noticing an excessive delays when loading a page with this plugin active.

Use version 2.4 and vBulletin 4.1.12 with just a flash banner at the top right side.


What could cause this ...?

y2ksw 05-31-2012 08:01 PM

Quote:

Originally Posted by cloferba (Post 2334426)
I had this plugin installed and working but an admin uninstalled it. Then I installed it again but the banners are not shown.

Could you please tell my why this? I can give you admin details in order to access and help to show them.

Thank you, I appreciate your support :)

Maybe there were style changes which have deleted the placeholders.

y2ksw 05-31-2012 08:03 PM

Quote:

Originally Posted by nrms? (Post 2335047)
Installed, but after a few hours, I'm noticing an excessive delays when loading a page with this plugin active.

Use version 2.4 and vBulletin 4.1.12 with just a flash banner at the top right side.


What could cause this ...?

Is the banner loaded locally or from a remote site? Does the banner load or access external data? If you use a simple image banner, it still slows down?

wan4all 06-01-2012 08:37 AM

could it be, that this plugin is slowing down my whole vBulletin site?

y2ksw 06-01-2012 10:40 AM

Quote:

Originally Posted by wan4all (Post 2335355)
could it be, that this plugin is slowing down my whole vBulletin site?

no.

But it could be very well, you have banners which pull in external data and slow to load. One example could be Google Adsense, which is sometimes less performant on sites with 1000+ unique IP accesses per hour. Another typical example is simply.com, which is de facto very slow even on small sites.

wan4all 06-01-2012 01:25 PM

Quote:

Originally Posted by y2ksw (Post 2335375)
no.

But it could be very well, you have banners which pull in external data and slow to load. One example could be Google Adsense, which is sometimes less performant on sites with 1000+ unique IP accesses per hour. Another typical example is simply.com, which is de facto very slow even on small sites.

Thanks for your swift reply. I will start also updating because my version is still. 2.3.2 Are there any consequences / concerns or is an upgrade a piece of cake?

Reef Man 06-01-2012 03:51 PM

Quote:

Originally Posted by y2ksw (Post 2335202)
Maybe there were style changes which have deleted the placeholders.

No. Not changed, they are still there. We tried unninstalling and installing it again and not results.

Any idea?

nrms? 06-01-2012 10:44 PM

Quote:

Originally Posted by y2ksw (Post 2335204)
Is the banner loaded locally or from a remote site? Does the banner load or access external data? If you use a simple image banner, it still slows down?

All banners are housed in locally, but I think I've managed to solve it was a banner in flash and always carried with it rbs_wrapper.swf, changed and apparently decided ... Let's see the behavior from now on ...

Anyway, congratulations to the author of this Mod...

gazza2008 06-03-2012 02:20 PM

I am getting no where with this

if someone can install for me thagt be great

gaz

Palmcone 06-03-2012 09:06 PM

Marked as installed.

Documentation is better than a lot of others but had to do trial and error for some things to figure them out.

Thanks for the mod.

y2ksw 06-06-2012 11:14 AM

Quote:

Originally Posted by Reef Man (Post 2335478)
No. Not changed, they are still there. We tried unninstalling and installing it again and not results.

Any idea?

have the banners expired?

y2ksw 06-06-2012 11:17 AM

Quote:

Originally Posted by gazza2008 (Post 2336154)
I am getting no where with this

if someone can install for me thagt be great

gaz

please send me via PM the credentials for and admin account and eventually an FTP account, if you haven't uploaded the files yet (I prefer not to do this part)

y2ksw 06-06-2012 11:18 AM

Quote:

Originally Posted by Palmcone (Post 2336288)
Marked as installed.

Documentation is better than a lot of others but had to do trial and error for some things to figure them out.

Thanks for the mod.

You may contribute by telling us what you had to try and how you solved it. :)

Samsine 06-06-2012 10:52 PM

I've installed vB at localhost and I can see all banners.
vB: 4.2.0
PHP: 5.3.8
without vBSEO

The liveforum does not display a banner.
vB 4.2.0
PHP: 5.3.13
with vBSEO

The templatecode:
HTML Code:

<div class="c2"><!--@vbbanners:1@--></div>

The HTML-Code from localhost:
HTML Code:

<div class="c2" align="center"><a rel="nofollow" href="http://localhost/taf/rbs_banner.php?id=3&userid=1" target="_blank"><img src="http://localhost/taf/images/werbe/taf_ad_banner.png" border="0" alt="Free pos 2" width="128" height="70" /></a>

and the HTML-Code from my liveforum:
HTML Code:

<div class="c2" align="center"></div>

What's the problem?

Is there a user with installed vbseo and can confirm the error?
Or is the PHP version the problem?
I don't no ...

The deactivated Plug-in- / Hook-System show me no result.


Regards
Samsine

y2ksw 06-07-2012 09:12 AM

Quote:

Originally Posted by Samsine (Post 2337281)
I've installed vB at localhost and I can see all banners.
vB: 4.2.0
PHP: 5.3.8
without vBSEO

The liveforum does not display a banner.
vB 4.2.0
PHP: 5.3.13
with vBSEO

The templatecode:
HTML Code:

<div class="c2"><!--@vbbanners:1@--></div>
The HTML-Code from localhost:
HTML Code:

<div class="c2" align="center"><a rel="nofollow" href="http://localhost/taf/rbs_banner.php?id=3&userid=1" target="_blank"><img src="http://localhost/taf/images/werbe/taf_ad_banner.png" border="0" alt="Free pos 2" width="128" height="70" /></a>
and the HTML-Code from my liveforum:
HTML Code:

<div class="c2" align="center"></div>
What's the problem?

Is there a user with installed vbseo and can confirm the error?
Or is the PHP version the problem?
I don't no ...

The deactivated Plug-in- / Hook-System show me no result.


Regards
Samsine

As told in the help file, if you have vbSEO active and its HTML optimisation, you will have to change the placeholder in the options. Since vbSEO may remove HTML comments, it also will remove the banner placeholders.

Samsine 06-07-2012 12:16 PM

Hello,

I've read the help file, but it does not work ;)
Do you have any idea how the problem can be solved?


The templatecode
HTML Code:

<div class="c2">@vbbanners:1@</div>

Rotating Banner System Options
HTML Code:

@vbbanners:%d@

The HTML-Code from my liveforum
HTML Code:

<div class="c2"></div>

Regards
Samsine

Samsine 06-07-2012 02:23 PM

ok, the banner will run.
The date and time were not saved as I had set it.

Regards
Samsine

Reef Man 06-07-2012 02:39 PM

Quote:

Originally Posted by y2ksw (Post 2337086)
have the banners expired?

Nop, no of them are expired.

y2ksw 06-07-2012 03:50 PM

Quote:

Originally Posted by Samsine (Post 2337469)
ok, the banner will run.
The date and time were not saved as I had set it.

Regards
Samsine

Right. This is one of the most frequent problems, glad you worked it out :)

y2ksw 06-07-2012 03:53 PM

Quote:

Originally Posted by Reef Man (Post 2337470)
Nop, no of them are expired.

please send me via PM the credentials for an admin account (+ url) in order to look into the problem. I'm pretty much sure something insignificant was just overseen :)

dog-tag 06-13-2012 09:38 PM

I'm totally exhausted trying to fix this...

My ads won't show at all, even though they work fine with VB adverts feature.

Can someone run over what exact code should be inserted into the ad_navbar_below

For example this
Code:

<!--@vbbanners:%d@-->
is my banner options.
If I place the above code into it, it won't work.

If I place any of the above variations it also won't work. (I've read back about 20 pages now)

FYI - I'm in the middle of an argument here with GF over why my hair has been torn out over our bed sheets.... im serious too.

The tutorials are all very nice looking, and time has been put into them, but at the end of the day I've watched and read everything and man I am clueless as to what is going wrong.

I'm on 4.2.0 by the way. And thanks for any replies to my question... now back to arguing with my gf.

Alan_SP 06-13-2012 09:54 PM

This could be something very simple you overlooked. But, on the other hand, it could be very complex why it doesn't work. Just saying that it don't work couldn't give any clue.

You should say what you did, from installing this mod, settings you used, code you used for your banner etc. You mention that you placed banner code that will be replaced with actual banner. Well, this is just one step in successfully using this mod and one that is at the very end of installation process.

My best bet is that you go from the beginning, upload all files, install product, check all settings etc.

dog-tag 06-13-2012 10:17 PM

Hi :)

I have tried many different ways.. here is one example of using HTML with images from an external site -

Code:

<center><a href="http://www.afas.org/"><img src="http://imgur.com/osde8.jpg" /></a></CENTER>
It's not a case of what have I not done, it's more a case of what I haven't.

I'm focusing on this side of the problem, but I have tried them all (my site caches fine BTW)

Quote:

In order to catch all possible errors, please make sure, your placeholder in the options looks
like <!--@vbbanners:%d@--> or like @vbbanners:%d@ (if you have vbSEO or other software
which cleans HTML). It may have any other combination of characters, as long as a %d
appears inside. %d is replaced with numbers between 0 and 9 at runtime.

vbSEO or HTML cleaning software users:
vBulletin Options - Rotating Banner System Options - Nth Placeholder: @vbbanners:%d@

All other users:
vBulletin Options - Rotating Banner System Options - Nth Placeholder: <!--@vbbanners:%d@-->

(2)
Now put a:
vbSEO or HTML cleaning software users:
<div align="center">@vbbanners:0@</div>
<div align="center">@vbbanners:1@</div>

All other users:
<div align="center"><!--@vbbanners:0@--></div>
<div align="center"><!--@vbbanners:1@--></div>
in the template: ad_navbar_below


(3)
and enable the default banners, moving the second banner to position 1. Both banners should
appear, one below the other.
---
On a standard installation, this combination of settings works 100% guaranteed on 4.x. I
have set it up once again from scratch just to be sure. If it doesn't work for you, I'll install a
test board with these settings on, in order to demonstrate the facts.

Possible issues:

- You are using a style which does not implement ad_navbar_below, or which comments out
that template. In this case, no banner appears.

- Your system caches pages (e.g. Apache mod_cache). Unless you refresh the page
explicitly, the banners don't seem to rotate or won't even appear. 24 / 25

- Your vBulletin Options - Rotating Banner System Options - Nth Placeholder is setup like:
<!--@vbbanners:0@--> or @vbbanners:0@. In this case, only banners at location 0 appear.
You should have set: <!--@vbbanners:%d@--> or @vbbanners:%d@ instead.

y2ksw 06-15-2012 08:10 AM

Quote:

Originally Posted by dog-tag (Post 2339390)
I'm totally exhausted trying to fix this...

My ads won't show at all, even though they work fine with VB adverts feature.

Can someone run over what exact code should be inserted into the ad_navbar_below

For example this
Code:

<!--@vbbanners:%d@-->
is my banner options.
If I place the above code into it, it won't work.

If I place any of the above variations it also won't work. (I've read back about 20 pages now)

FYI - I'm in the middle of an argument here with GF over why my hair has been torn out over our bed sheets.... im serious too.

The tutorials are all very nice looking, and time has been put into them, but at the end of the day I've watched and read everything and man I am clueless as to what is going wrong.

I'm on 4.2.0 by the way. And thanks for any replies to my question... now back to arguing with my gf.

You could watch the movie (very first post), or the quick starter help (included PDF), to exhaust less :)
  1. make sure you have a banner. if you deleted the default banners, reinstall the product and keep them; after testing, disable them
  2. don't change options unless you have to
  3. use <!--@vbbanners:0@--> in your templates unless you have banners at other locations and unless you haven't changed the options
  4. use the placeholder in a template where you can see it at once, decide later where to put it definitively
  5. change banners after you have made sure they actually do show up
  6. verify changes
  7. please think simple ;) ... most of the fuzz arises when hurry comes in and no reading of the included help and believing everything must work in a way you already know ...

salvador21 06-15-2012 08:53 AM

Quote:

Originally Posted by dog-tag (Post 2339390)

For example this
Code:

<!--@vbbanners:%d@-->
is my banner options.
If I place the above code into it, it won't work.

It won't, you need to replace %d with a banner location (0 - 9)

e.g. you replace the %d with 0 and place that code in an ad position (either in Options:>manage ads or in an ad position template)

Then you go the RBS control panel in the Admin options menu, click on manage banners and create a banner (New).

Choose position 0
In the text box you put either Google adsense code, an html link top your banner, or just plain text if that's what you want to appear

Do the same for any of the other possible positions (1 - 9)

dog-tag 06-15-2012 12:21 PM

Hey guys, thanks a million for your tips, I wish I had all that info ages ago.

I un-installed it, and used this one here instead - VSA flash image banner

When I setup the new one just today, I spotted what I did wrong. It was SO stupid, but the hurry really ruined my head....

OK here is the embarrassing thing I did. When setting usergroups for the adverts to show, I viewed all my usergroups. Seen "admin" was #1 and set it that only #1 can see it. Looking back, admin is actually #6, and instead I was showing adverts to users who were not logged in.

I seen #1, but it really meant that was that amount of users who were admins. Feeling damn stupid now, I'm usually good with these things! I was so sure of myself too.

Thanks very much for clearing this up for me and others Salvador21 and Y2ksw :)

y2ksw 06-17-2012 10:14 AM

No problem, I felt you were in kind of a hurry :)


All times are GMT. The time now is 05:08 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.03234 seconds
  • Memory Usage 1,894KB
  • 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
  • (5)bbcode_code_printable
  • (9)bbcode_html_printable
  • (2)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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