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
  #2112  
Old 11-30-2012, 02:49 PM
tibobdenazareth tibobdenazareth is offline
 
Join Date: Nov 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After a couple of days trying and trying ... I DID IT!!! I found out we can't use the same position banners in multiple places. It will stick to only the first position we used it.

For example, if you use banner0@ under the navbar, you have to use another position (banner 1@ or banner3@...) after the first post or every 5 and 10 posts.

Now my next issue ... THE LOGO BANNER!

I NEED to change my static logo image into a rotating banner. I've already created the swf flash file with the exact dimensions of the current logo image. I read that editing header templates would not work. ANY HELP please.
Reply With Quote
  #2113  
Old 11-30-2012, 03:15 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tibobdenazareth View Post
After a couple of days trying and trying ... I DID IT!!! I found out we can't use the same position banners in multiple places. It will stick to only the first position we used it.

For example, if you use banner0@ under the navbar, you have to use another position (banner 1@ or banner3@...) after the first post or every 5 and 10 posts.
No, that's incorrect. I use the different banner numbers for different sizes of banner. Then I display those banners wherever I wish.
Reply With Quote
  #2114  
Old 11-30-2012, 05:51 PM
tibobdenazareth tibobdenazareth is offline
 
Join Date: Nov 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I edited the header template SUCCESSFULLY thanks to y2ksw's previous posts on the subject. THANKS y2ksw.

The only issue was when I use a swf flash file. I searched everywhere and couldn't find a way to have the stand-alone swf file to have a transparent background in Flash CS6 (you can do it with the HTML file, not the swf file). And the swf was hiding all the login info at the logo header.

I had to go back and add 9 or so banners at that position using instead png images. The drawback is people have to refresh or new/click to see a different image. I was hoping the swf was gonna work.

If anybody knows either a way to make the swf stand-alone file have a transparent background, or a way to send the swf logo file in the background of all the login info found in the header template, please let me know.
Reply With Quote
  #2115  
Old 11-30-2012, 05:56 PM
tibobdenazareth tibobdenazareth is offline
 
Join Date: Nov 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Based on what I've done so far, here's a summary for anybody or especially newbie (like me) looking for a lot of things but doesn't want to go through hundreds of pages of info.

TO PLACE IN THE HEADER ... AS LOGO

Style Manager--> Edit Templates--> header

REPLACE: (from 3rd line)
<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div></vb:if>

WITH:
<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><!--@vbbanners:0@--></a></div></vb:if>

NB- There's an issue with the stand-alone swf flash file with no transparent background, covering all the login info found in the header template. Works better with png image files.

Still waiting to see if there's a way to send the swf logo banner file in the background.

------------------------------------

TO PLACE AFTER FIRST POST

Style Manager--> Edit Templates--> Ad location Templates--> ad_showthread_firstpost_sig

Add at the end: <div align="center"><!--@vbbanners:0@--></div>

NB- ad_showthread_firstpost_sig places the banner as a SIGNATURE after the first post;
ad_showthread_firstpost_start places the banner inside at the start of the first post
ad_thread_first_post_content places the banner in the content space of the first post (NOT WORKING FOR ME anyway)

-------------------------------------

TO PLACE 2 BANNERS SIDE BY SIDE (Horizontal)

1) Make sure the 2 banner dimensions will fit horizontally without overlapping, based on the total horizontal ad space in the site width. Both at the same position
since they will occupy just one "row" of space together. If you set them at diff position, it will work but this would be a waste of banner position. Instead of
using banners:0@ and banners:0@, use (for example) banners:0@ and banners:1@ [again, this is a waste of position 1]
2) Wherever you are insterting them just write the following code in the appropriate template: <div align="center"><!--@vbbanners:0@--><!--@vbbanners:0@--></div>

-------------------------------------

TO PLACE BANNERS EVERY 5th AND 10th POST

Style Manager--> Edit Templates--> Postbit Templates--> postbit_legacy

Paste the following code at the end:

<vb:if condition="THIS_SCRIPT == 'showthread' AND (($post['postcount'] % 15 == 10) OR $post['postcount'] == 10)">
<div class="thread_controls">
<div style="width: 100%; text-align: center">
<!--@vbbanners:3@-->
</div>
</div>
<vb:elseif condition="THIS_SCRIPT == 'showthread' AND (($post['postcount'] % 15 == 5) OR $post['postcount'] == 5)" />
<div class="thread_controls">
<div style="width: 100%; text-align: center">
<!--@vbbanners:4@-->
</div>
</div>
</vb:if>

NB- This code assumes you have already created at position 3 a banner to be placed after every 10th post and a position 4 banner after every 5th post.
Feel free to adjust according to your banner list settings. You may even include 2 banners at the same position in those codes. See above for instructions.

------------------------------------

Hope that helps.
Reply With Quote
  #2116  
Old 11-30-2012, 10:12 PM
zackw zackw is offline
 
Join Date: Aug 2010
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have time to search all over but has anybody noticed that when you set a date/time for the banners to turn on and off the script will simply change your numbers to something else?

If I try to set:
Start: Dec 1, 00 01
End: Dec 1, 23 59

It changes automatically to
Start: Dec 1, 01 01
End: Dec 2, 00 59

Why? Sometimes I'll change the 00 to 01 hour and then BOTH start and end become 02 hour! Sometimes the start or end date jumps to the next day. This is bugging me!

All I want to do is start the banner at the beginning of the day, and then stop it at the end of the day, but it will not accept this. So I tried to start at beginning of the day and end beginning of the next day, and it won't go any earlier than hour 02!

That's not all. So I finally was able to use Dec 1, 01 01 to Dec 2, 01 01. But then I went to my next banner which is supposed to be Dec 2, 01 01, to Dec 3, 01 01 and it refuses that, instead changing it to hour 02 02!

There is no rhyme or reason here, but it does not seem to ever accept any time I put in there! It changes the hour or the minutes or the day to whatever it wants.

What is going on?

Thanks, I hope to fix this soon as an ad campaign is beginning tomorrow!

UPDATE:

Note, if I simply hit SAVE on a banner over and over without even changing anything, the hours auto increment up and up every time. So in order to get 23:59 I actually have to put in 22:59 so that it will increment to the right time. Since 00 will increment to 01, there is no way to put 00 as my hour.
Reply With Quote
  #2117  
Old 12-02-2012, 04:35 AM
tibobdenazareth tibobdenazareth is offline
 
Join Date: Nov 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rathar than editing postbit_legacy AND showthread_firstpost_sig templates, we cand edit postbit_legacy te,plate by adding a third section for after the first post. In that sense, the ad will fall truly AFTER the first post rather than above the signature. Here's the code.

NB- for the mobile version, that's the only way we can get something after the first post since the showthread_firstpost templates do not exist.

<vb:if condition="THIS_SCRIPT == 'showthread' AND (($post['postcount'] % 15 == 10) OR $post['postcount'] == 10)">
<div class="thread_controls">
<div style="width: 100%; text-align: center">
<!--@vbbanners:3@--><!--@vbbanners:3@-->
</div>
</div>
<vb:elseif condition="THIS_SCRIPT == 'showthread' AND (($post['postcount'] % 15 == 5) OR $post['postcount'] == 5)" />
<div class="thread_controls">
<div style="width: 100%; text-align: center">
<!--@vbbanners:2@--><!--@vbbanners:2@-->
</div>
</div>
<vb:elseif condition="THIS_SCRIPT == 'showthread' AND $post['postcount'] == 1" />
<div class="thread_controls">
<div style="width: 100%; text-align: center">
<!--@vbbanners:1@--><!--@vbbanners:1@-->
</div>
</div>

</vb:if>
Reply With Quote
  #2118  
Old 12-03-2012, 08:09 AM
Maxi62 Maxi62 is offline
 
Join Date: Jun 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello
How can the system from version 2.3.1 to the latest 2.4.0 update without loss of data?
Reply With Quote
  #2119  
Old 12-09-2012, 07:59 PM
deanattridge deanattridge is offline
 
Join Date: Dec 2012
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tibobdenazareth View Post
Based on what I've done so far, here's a summary for anybody or especially newbie (like me) looking for a lot of things but doesn't want to go through hundreds of pages of info.

TO PLACE IN THE HEADER ... AS LOGO

Style Manager--> Edit Templates--> header

REPLACE: (from 3rd line)
<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div></vb:if>

WITH:
<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><!--@vbbanners:0@--></a></div></vb:if>

NB- There's an issue with the stand-alone swf flash file with no transparent background, covering all the login info found in the header template. Works better with png image files.

Still waiting to see if there's a way to send the swf logo banner file in the background.
This post saved me from deleting this mod, to complex for a noob like me who just wanted a rotating Header.

However - Once I do this it seems subsequent images in position 0 list will appear below the navbar instead of at the same place as my first image. Anybody have an idea what I am doing wrong ?

KUDOS !
Reply With Quote
  #2120  
Old 12-10-2012, 04:04 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 Maxi62 View Post
Hello
How can the system from version 2.3.1 to the latest 2.4.0 update without loss of data?
As you would do with any other plugin ... and you would normally make a backup before that, as well
Reply With Quote
  #2121  
Old 12-12-2012, 12:39 PM
Desibabu19 Desibabu19 is offline
 
Join Date: Jan 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been using this hack for more than year. And I am very satisfied.

Recently I found an issue.

If I display the flash file directly, it runs at normal speed. However, under the RBS banner hack, it runs very fast. File is same.

for reference, I have displayed the file in both format. It is Edifice Ad displayed two times.

Page:
http://www.indianrealestateboard.com...e-Other-Cities

First Edifice ad through RBS hack. Second is direct html code.

swf file in use:
http://www.indianrealestateboard.com...s/edifice3.swf

Has any one faced this problem ? What parameters I need to change to make the file to run at normal speed ?
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:57 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.10794 seconds
  • Memory Usage 2,390KB
  • 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
  • (3)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
  • (5)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
  • (9)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