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)

webmaster74 02-04-2015 08:33 AM

y2ksw, I need your help. Banners are not showing up on my site and I have no idea why.

johnscanlan2 02-04-2015 05:07 PM

Quote:

Originally Posted by y2ksw (Post 2533895)
Maybe you are taking it too serious. Could you please just take any existing template and paste the following code, after a clean (re)install:
Code:

<!--@vbbanners:0@-->
and save?

The default banners will show. Then, eventually, you could start to make changes and see what happens.

I agree 100%. Seems most folks way over think this great app. I find 99% of the time when it fails to work, it is due to something I goofed up. If you have a moderate familiarity of HTML this this gem becomes a powerhouse.

1.) My most common errors has to do with leaving out something in the code above.

2.) Next biggest error is the start and expire dates. If your dates are outside of the current date or wrong, nothing shows up.

3.) Next, I put the graphic banner in a separate directory and then make darn sure the software knows where to look. Example:

/sponsors/Joesgasstation/banner1.jpg
/sponsors/ajax/banner1.jpg

I find many inexperienced vb folks get confused over where the files are. So if this program can't find them, nothing shows up.

Perhaps when I get a chance I'll do a Dummies Guide RBS. It really is a simple program that even I way over thought in the beginning. Once I figured it out, I was banging my head on the wall over not being able to see the ease of use of this great little program.

I currently have 25 advertising spots, some rotating, some not, on my site.

John Scanlan
Columbus OH

rhody401 02-05-2015 02:30 PM

I have about 40 spots going, for various purposes on my site. (Some in the header, some between posts, some for unregistered users, some on the main menu only, etc)

It is a fantastic plug-in, and highly configurable.

I like that you can assign "run dates", provide stats, and can keep comments on each banner.

Everything you should need is in the docs, and in this thread.

dknelson 02-28-2015 09:58 PM

I've been using this for some time now and it's a great mod. I just installed it on another forum and have the same problem I had on the first one.

The only way I can get it to work is to actually edit the template to place the code in the hook location where I want it to show up. It works great that way.

If I try to add it to the VBulletin Advertising "New Banner", it never shows up.

If I try to edit templets and put it any ANY of the "Ad Location" templates, they don't show up.

The only way it works is if I edit the actual template, Header, Breadcrumb, etc. and place it directly in the template.

Can anybody tell me why?

y2ksw 02-28-2015 10:07 PM

If you use custom styles, they may not implement part of the template hooks.

dknelson 02-28-2015 10:15 PM

Thanks, but it's a default style on the new site.

y2ksw 03-01-2015 03:32 PM

Then, eventually you have vbSEO installed and HTML cleaning enabled, or some other HTML cleaning active. Or, you are doing something wrong, but I have no idea, what.

y2ksw 03-09-2015 02:34 PM

Quote:

Originally Posted by X-or (Post 2539936)
hi, thanks for this :-)

but is it only for ads?

or can I simply use this for picking a random banner among a pool for my site

It's for anything you like. I've used it also to show random phrases from famous people.

y2ksw 03-09-2015 06:44 PM

How simple must it be to be simple enough? :)

rhody401 03-11-2015 04:40 PM

It's pretty simple :)

You just put one small string of text where you want the banner(s) to appear.

I have a rotation of small ones in the header ad location 1, primary banners on top and bottom of each page, and a general banner every 5th post. (all are managed by this great tool)

It provides statistics for each banner, and a link someone can click remotely to check it in realtime.

I have been using it at www.ppfacorner.com for over 3 years now.

mikez006 04-18-2015 12:09 PM

Been using this for a few months, but started receiving this error today. Any idea how to fix this?

Database error in vBulletin 4.2.2:

Invalid SQL:
SELECT *
FROM rbs_banners

Out of resources when opening file '/tmp/#sql_2fea_3.MYI' (Errcode: 24)

y2ksw 04-19-2015 06:25 AM

Quote:

Originally Posted by mikez006 (Post 2543427)
Been using this for a few months, but started receiving this error today. Any idea how to fix this?


Database error in vBulletin 4.2.2:

Invalid SQL:
SELECT *
FROM rbs_banners

Out of resources when opening file '/tmp/#sql_2fea_3.MYI' (Errcode: 24)

Sounds like an issue with MySQL. Probably your server crashed and tables need a repair.

y2ksw 04-19-2015 06:27 AM

Additionally, your temporary disk space may be full and then you will have to reboot the server, plus doing some cleaning in order to free space.

mattltm 04-20-2015 07:36 AM

Installed and working great now!

dwerden 05-15-2015 09:49 PM

I like the banner rotating system! I'm getting to know it so I can figure out the best way to use it.

Is there a way to clear the clicks for any/all banners I have built?

Thanks.

y2ksw 05-16-2015 07:56 AM

Quote:

Originally Posted by dwerden (Post 2545594)
I like the banner rotating system! I'm getting to know it so I can figure out the best way to use it.

Is there a way to clear the clicks for any/all banners I have built?

Thanks.

You can do this only by using a query, like:
Code:

UPDATE rbs_banners SET clicks=0
Eventually you also need to clear the rbs_hits table with
Code:

TRUNCATE TABLE rbs_hits

Ravitejag 05-19-2015 09:57 AM

1 Attachment(s)
Hey

I have been using the product for a little while now, can't believe I haven't noticed this before. I am unable to see any clicks on any of the banners.
I clicked on the banners and checked again, still no clicks. Can you help me fix this?(Attachment provided for the same)

Thanks

y2ksw 05-19-2015 03:44 PM

Quote:

Originally Posted by Ravitejag (Post 2545835)
Hey

I have been using the product for a little while now, can't believe I haven't noticed this before. I am unable to see any clicks on any of the banners.
I clicked on the banners and checked again, still no clicks. Can you help me fix this?(Attachment provided for the same)

Thanks

If the banners are scripts, clicks are not counted, unless specifically crafted. Else, maybe the clicks option is disabled.

tomcoleman 05-20-2015 07:46 AM

does this work with 5.1.7?

y2ksw 05-20-2015 07:56 AM

Quote:

Originally Posted by tomcoleman (Post 2545936)
does this work with 5.1.7?

No. Version 5 has no software hooks which allow to modify page contents on the fly.

dwerden 06-22-2015 09:18 AM

I installed this a few months back and really like how it works! However, I am having trouble with one feature - I can't get it to email when a banner is about to expire. I specified a value in the number of days.

The other (base) forum emails are working just fine. Can you tell me what I might have missed?

Thanks.
D Werden
www.dwerden.com/forum

viper357 06-22-2015 09:49 AM

I've also been having the email issue for a long time now, since the update it has never sent out reminder emails, it has now also completely stopped sending out emails when the banners do expire. I've just learned to live with it.

I'm assuming it's because of this:
Quote:

if mailing should be repeated, you will have to edit the banner from phpMyAdmin
I really don't have time to be going into phpmyadmin to reset the emailing for expired banners that are renewed.

y2ksw 06-23-2015 06:41 AM

Quote:

Originally Posted by dwerden (Post 2548352)
I installed this a few months back and really like how it works! However, I am having trouble with one feature - I can't get it to email when a banner is about to expire. I specified a value in the number of days.

The other (base) forum emails are working just fine. Can you tell me what I might have missed?

Thanks.
D Werden
www.dwerden.com/forum

Did you fill also the email address(es) in the respective banner?

y2ksw 06-23-2015 06:43 AM

Quote:

Originally Posted by viper357 (Post 2548356)
I've also been having the email issue for a long time now, since the update it has never sent out reminder emails, it has now also completely stopped sending out emails when the banners do expire. I've just learned to live with it.

I'm assuming it's because of this:
I really don't have time to be going into phpmyadmin to reset the emailing for expired banners that are renewed.

You can also duplicate the banner and change its expiring date.

And, you may add a cronjob to your system in order to clear this flag.

dwerden 06-23-2015 09:03 AM

Quote:

Originally Posted by y2ksw (Post 2548449)
Did you fill also the email address(es) in the respective banner?

Yes, and I even tried using two different addresses on two banners (in case of spam filter issues or some other unexpected barrier).

ageurtse 06-25-2015 03:10 AM

Is there some kind of add-on that could display all aktive banners ad once.
My site owne, wan't a page where all banners are displayed at once.

If this add-on isn't availabel please give some hint's on how to build one.
i already code a plugin for vb4.

y2ksw 06-26-2015 03:58 AM

Quote:

Originally Posted by dwerden (Post 2548452)
Yes, and I even tried using two different addresses on two banners (in case of spam filter issues or some other unexpected barrier).

I'll address this issue at the next debug session, which however will take a while to come.

y2ksw 06-26-2015 04:00 AM

Quote:

Originally Posted by ageurtse (Post 2548572)
Is there some kind of add-on that could display all aktive banners ad once.
My site owne, wan't a page where all banners are displayed at once.

If this add-on isn't availabel please give some hint's on how to build one.
i already code a plugin for vb4.

There are the lists in the Admin CP and from there you may take it to make a page which shows also the images and other information.

ageurtse 06-26-2015 04:50 PM

hmmm that look complicater than i thought.

it gets me a bit more time to solve this.

Inzvestor 06-28-2015 08:48 AM

On my forum we copy and paste the active banners (maximum 20) and publish them each quarter

20 minutes manual labour and a bunch of very happy advertisers

jnrdavo 07-01-2015 06:06 PM

Hi Guys, hoping somebody can help.

Been using this for years, but only have one problem.

I get click though values when I'm running swf files, and this works fine.

However, some of my sponsors only have jpg images. I'm using the following code in the TEXT section:

<a href="yoururl" target="_self"><img src="yourimage.gif" border="0" /></a>

The image shows fine, and also when you click on it, it goes to the desired target page.

However, the Click Counter is not working for these images...

Is there a way to get the counter to work when non swf files? Do I just need to change the html code for the image (and if so, can somebody give me an example)?

I have have the Click Tracking option set to Yes. I've also tried the other options (Flash Banner). This will then increase the counter correctly, but the JPG image does not show (obviously because I don't have the correct wrapper/code).

Really appreciate any help.

dwerden 07-20-2015 12:21 PM

jnrdavo:

I don't use the text box for that type of image/link. I just enter the link into the "URL" box and the image location into the "Image / Flash" box. Then tracking works just fine.

gobears20 07-21-2015 11:33 PM

Quick question, where do I upload this at 'rbs_iframe.php'?

y2ksw 07-22-2015 05:16 AM

Quote:

Originally Posted by gobears20 (Post 2551029)
Quick question, where do I upload this at 'rbs_iframe.php'?

"This" what? :) The file goes at your forum root.

gobears20 07-22-2015 10:45 AM

Thanks :)

gobears20 07-22-2015 11:15 PM

I am testing this out and I created a Test1 and Test2 banner just for my user group so I am the only one that sees it. My goal is to have these rotate when the page is refreshed. I am looking for it to show Test1, Test2, Test1,Test2...etc when refreshing the page. Its not always doing that. Sometimes it will do things like this, Test1, Test1, Test1, Test2. It could be on my part with how I have it set.

I have both banners set to the same settings...

Max. Impressions With this value you may limit how often banners are shown on your pages: 0

Likelihood Insert here a value between 1 and 100 in order to define the percentage of how likely are banners to view. You may also insert a number higher than 100, in order to give a specific banner a higher weight than normally. You would do this during short lasting promotions, for example.: 100

Am I missing something or should I set those settings different for the two banners I created?

dwerden 07-23-2015 10:17 PM

I see that as well, but it all seems to even out. If you flip a coin 10 times, you don't usually get 5 heads and 5 tails. I think it's something along those lines.

I'm also not sure if browser caching may be involved. Usually I try to click on different links each time to test it.

goodhunting1 07-23-2015 11:23 PM

Hello team,
I would like to use this plugin to display various pictures on the header next to our logo. There is no advertising included, no links or clicking counters, plain and simple, I just want to rotate an X amount of pictures. What I am using right now works fine, just load all the pictures to a specific folder where you load the php files and you are done... however, it does change only on reload and cache can also have a negative impact.
I am reading the instructions but I dont think I get the way this could be implemented on this plugin, can anyone help me? installing the plugin should not be a problem but I havent yet until I can get an idea on how to configure this the way I want it.

Any help will be much appreciated.

rhody401 07-28-2015 04:48 PM

Goodhunting1,

I'm using this for an image up next to the logo, which changes on each refresh. (as well as using it between every 5 posts, and at the top and bottom of pages)

It needs a refresh/page load to bring up another banner, it doesnt just rotate them on a static page. This is by design, and I think the reason has to do with the adsense rules.

In places where I wanted a rotation, I used an animated GIF.

Rhody

gobears20 07-30-2015 01:50 PM

Is there a reason why the clicks are not being tracked? I have this as part of an Adsense set up but clicks are not working but impressions are? I have the check box checked to track clicks. Do I need to click anything else on the settings? Thanks!


All times are GMT. The time now is 08:11 PM.

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.04877 seconds
  • Memory Usage 1,837KB
  • 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
  • (3)bbcode_code_printable
  • (13)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