Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Rotating Banner System Details »»
Rotating Banner System
Version: 2.4.2, by y2ksw y2ksw is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 08-15-2008 Last Update: 09-08-2013 Installs: 1237
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

With the Rotating Banner System software, you may publish literally anywhere standard banners and advertising, with no restriction but your imagination. Unlike many other products, it allows to show an unlimited amount of banners and advertising, which are randomly shown at the places you choose, and you may refer generically to an Ad by using specific placeholders.

Also the management is straight-forward and simple to use. Forum administrators with maintenance rights may add, edit and delete records from the Administration Control Panel (ACP), one of each representing a banner. After saving the new banner settings, they are immediately visible at your board.

Compatibility: from vBulletin 3.6.5 onwards

By the way, I do also install the hack on your boards, but since I am very, very busy, it may take some time (weeks) until it gets done.


Tutorials:Updates:
  • 2.0.1: Simple click tracker added, HTML help included.
  • 2.0.3: Small bug fixes; additional banner list, navigation bar, E-Mail field for banner event notifications and automatic save on scroll setting; absolute URL to rbs_banner.php in order to allow click tracking on non-standard pages; supported languages: English, Italian; Help file clean-up.
  • 2.0.5: Small bug fixes; additional details in banner list; email notification for epired banners.
  • 2.0.6: vbCMS compatibility bug fix; additional banner lists.
  • 2.0.7: Usergroups filter: now it is possible to define a list of usergroups which may show a banner; additional vbCMS compatibility bug fix.
  • 2.0.8: Various fixes and most of all, inclusion of the right files: admin_rbs.php, cpnav_rbs.xml
  • 2.0.9: Extra comma fix in new record creation.
  • 2.1.0: Fix for an occasional banner type selection bug, when the sample banners have been deleted or disabled.
  • 2.2.0 (Major upgrade): Up to 10 different banner locations. Requires changes to your existing placeholders in your templates, since a more generic format has been chosen. If you don't need more than 2 different locations, you don't need to upgrade. Changed files: rbs_banner.php, admin_rbs.php
  • 2.2.1: Minor bug fix in files: admin_rbs_h_banner_list.php, admin_rbs_v_banner_list.php
  • 2.2.1: Hotfix for Max Clicks saving bug.
  • 2.2.2: More listings and less files. PDF Help. Separate Italian add-ons and help. Duplicate button.
  • 2.2.3: Minor bug fixes. Changed files: product-rbs.xml
  • 2.2.4: Flash Banner support (beta). Changed files: product-rbs.xml, rbs_wrapper.swf, admin_rbs.php, English Help.
  • 2.2.5: Hotfix for vBulletin 4.0.2 compatibility bug.
  • 2.2.6: Checking for installed Flash Wrapper rbs_wrapper.swf; A few English FAQ; Help files. Changed files: product-rbs.xml
  • 2.3.0 (Major upgrade): New modules: Delete Expired Banners, Disable Expired Banners; Detail Banner Statistics with unique access key for your customers; Updated help; Changed files: all.
  • 2.3.1: Hotfix for missing field in rbs_hist table. Changed files: none, just update product.
  • 2.3.2: Added: Unsupported option for setting any number of available positions between 1 and big bang. Fixed: Small bug and speed issues. Removed: Italian translation. Italians may now request support at www.vbulletin.it. Changed files: admin_rbs.php.
  • 2.3.3: Fix: Copy selected forum ID's during banner duplication. Changed: start and end hours for new banners are set to 0:00 and 23:59 respectively. Changed files: admin_rbs.php.
  • 2.3.4: Option: Send Mail Before. This option allows to schedule expiring banners differently. New variables for emails: $rbs_enddate: This variable holds the formatted banner ending date and time based on the standard formats for date and time in vBulletin settings; $rbs_name: This variable holds the banner name. EMail Notifications option description: Added direct links to the email phrases for quick changes. Changed files: rbs_mail_cron.php.
  • 2.4.0 (Major upgrade): Removed: Option to enable or disable mailing. Banners with email addresses to notify are handled. Setting to reset mailing in single banners. Now, if mailing should be repeated, you will have to edit the banner from phpMyAdmin. Added: Order links in lists. The initial state is ordered by ID, as before. By clicking the titles, the other voices can be ordered. Clicking twice inverts the order. This works in all lists. Options to prevent counting and reducing thus a tiny bit of load. A new bunch of demo banners for new installations. Demo banners are locked into database in order to avoid 30% of the questions because of the 'experts' deleting them before trying the product. They can be disabled and modified though. The true experts can delete them after all testing from the database by using phpMyAdmin without side effects. Changes: Phrase for emailing about expiring banners, now also with direct links to the phrases. Demo banners. Our old publisher ID is replaced with the new ones, and old demo banners are updated with the new ones, if found. The functions have been exported to includes/functions_rbs.php. This makes the product code smaller and easier to maintain, and runs faster on sites where caching/acceleration is enabled. Changed Files: all *.php
  • 2.4.1: Option Likelihood. This new option adds a weight to banners and allows thus to show one banner more often than another. The default weight is 100%. We also make sure that the final date of the default banners falls into a valid range. Changed files: includes/functions_rbs.php and rbs_stats.php.
  • 2.4.2: Workaround for update sequence problems.
Hacks and unsupported add-ons:

Download Now

File Type: zip 2.3.4.rbs.zip (275.9 KB, 1066 views)
File Type: zip 2.4.0.rbs.zip (280.2 KB, 2256 views)
File Type: zip 2.4.1.rbs.zip (287.4 KB, 127 views)
File Type: zip 2.4.2.rbs.zip (285.2 KB, 1881 views)

Screenshots

File Type: png banner.png (27.7 KB, 0 views)
File Type: jpg style.jpg (54.9 KB, 0 views)
File Type: png navigation.png (4.9 KB, 0 views)
File Type: png estatistics.png (14.7 KB, 0 views)
File Type: jpg options.jpg (123.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1542  
Old 10-23-2011, 10:43 AM
ofir24 ofir24 is offline
 
Join Date: Oct 2011
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i didn't say it's not working, cause it's working, but some option doesn't work, example:
i try: "ad thread last post content" look for ads on the thread, nothing.
Reply With Quote
  #1543  
Old 10-24-2011, 12:31 AM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a simple way to add your banners in a CMS widget.

You will need to create a PHP Execution by doing the following:

Step 1:

1. In the admincp go to vBulletin CMS>Widgets
2. Click on "Create New Widget" at the bottom.
3. Choose "PHP Direct Execution" in the Widget Type drop down at the top.
4. Give your widget a title - do not make it too long as your box will be whatever size you have in your CMS.
5. Now click the "Save" button.

Step 2:

1. Go to vBulletin CMS>Widgets and select the widget you just made.
2. Click on the "Configure" link all the way to the right.
3. Delete all the test inside the box when it pops up.
4. Place this code in the box:

Code:
$templater = vB_Template::create('banner_sidebar');
$output = $templater->render();
5. Now click the "Save" button.

Step 3:

1. Go to Styles & Templates>Style Manager click the drop down box on the right side and choose "Add New Template".
2. In the "Title" box put "banner_sidebar" without the quotes.
3. Now in the large box below place your code for your banners like you would any other template. For instance I put this:

Code:
<div align="center">@vbbanners:4@</div><br />
<div align="center">@vbbanners:5@</div><br />
<div align="center">@vbbanners:6@</div><br />
<div align="center">@vbbanners:7@</div><br />
<div align="center">@vbbanners:8@</div><br />
<div align="center">@vbbanners:9@</div>
I'm using vBSEO so that is why it may look different from yours.

4. Now click the "Save" button.

Step 4:

1. Enter your banner info using the positions that you put code to in your new template and save the banners.
Attached Images
File Type: png cmsbanners.png (9.1 KB, 0 views)
Reply With Quote
  #1544  
Old 10-24-2011, 12:33 AM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wampforum View Post
Ok I'm stumped!! I have been running this mod fine for months.
But now I have a problem. I currently run a single ad placement in the header just below the log in as well as the 2 default VB ads under navbar and footer.
What I wish to do is place a rotational ad into a cms widget. I can get the widget to work fine when using:
<!--@vbbanners:0@--> But adding banners to another list and using that instead won't work.
It seems I have the nth placeholder in options set to <!--@vbbanners:0@--> so it wont show anything else I assume?
Reading this thread it seems that should be <!--@vbbanners:%@--> instead but changing that makes the ads in the header disappear.
So It seems I can only show ads in <!--@vbbanners:0@--> with that same code as the nth placeholder.
What am I doing wrong? I use the <!--@vbbanners:0@--> code in the ad location template

Help?!!
Quote:
Originally Posted by Big-Pete View Post
I can't get this to show up in a CMS widget, Do i need to use a static html widget? and do i just put @vbbanners:%d@ in it??

I have vbseo installed, I've changed the place holder as per the PDF but still can't get it to work.
Quote:
Originally Posted by vikris View Post
One of the greatest addons!!! I have several questions though:

1. Will it be in the future more than 10 positions?

2. Some of the ads are displaying also in the forums (specifically header and footer) how to remove that? I like the ads to be displayed only on CMS page.

3. Maybe this question is out of the thread, but I have to ask: Is there a way to setup a widget on the main CMS to show friendly sites with small graphic and link to them?

Thanks a lot again!

Regards,

vikris
Quote:
Originally Posted by dweber View Post
I would like to add a place holder into a static HTML Widget box on the "Front Page" but am a newbie.

Could anyone give me a sample line of HTML code to insert the placeholder (@vbanners@) into?

Thanks in advance.
See this post: https://vborg.vbsupport.ru/showpost....postcount=1542
Reply With Quote
  #1545  
Old 10-24-2011, 01:12 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ofir24 View Post
i didn't say it's not working, cause it's working, but some option doesn't work, example:
i try: "ad thread last post content" look for ads on the thread, nothing.
Some options need additional work to do, which however have nothing to do with my plugin.

For example, the inbuilt ad locations of vbulletin require you to define additional rules from within Advertising, else they will not show at all. In these definitions you would use then the RBS placeholders instead of other HTML and everything works out just fine
Reply With Quote
  #1546  
Old 10-24-2011, 01:14 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by metalguy639 View Post
Here is a simple way to add your banners in a CMS widget. (...)
Very nice! :up:
Reply With Quote
  #1547  
Old 10-26-2011, 08:03 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to exclude the banners from a specific mobile style. What's the simplest way to do this?
Reply With Quote
  #1548  
Old 10-27-2011, 07:42 AM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
I need to exclude the banners from a specific mobile style. What's the simplest way to do this?
If your banner locations are defined in the Master style, probably it will need moving them into the single styles.

I imagine however, you are using the advertising ... then maybe selecting the style will help.
Reply With Quote
  #1549  
Old 10-27-2011, 03:06 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by y2ksw View Post
If your banner locations are defined in the Master style, probably it will need moving them into the single styles.

I imagine however, you are using the advertising ... then maybe selecting the style will help.
Selecting the style isn't helpful because you can only select one. I only want to EXCLUDE one.

But this worked. I edited the RBS Banner Insertion plugin as follows:

I inserted

Code:
/** don't display banners for Mobile 2 style **/
if (STYLEID!=134) {
at the top of the "Banner Insertion" plugin and

Code:
}
at the very bottom.

May I suggest that an option to exclude certain styles might be added in a new version?
Reply With Quote
  #1550  
Old 10-30-2011, 11:17 AM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
May I suggest that an option to exclude certain styles might be added in a new version?
I don't think so ...

I would have made for each style an ad, instead, if I really had to, or rather not used the ad system at all and modified the relative templates in a way that I could do without it. As a matter of fact, using the ad system slows down the forums quite a bit ... it is useful and simple, but not a long term solution for heavily loaded systems
Reply With Quote
  #1551  
Old 10-31-2011, 04:54 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@all

I soon will review the code and add a few features. Is there anything you may wish to add?
Reply With Quote
Reply


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:37 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.06317 seconds
  • Memory Usage 2,399KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_code
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (19)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete