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
  #1232  
Old 04-19-2011, 09:00 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 nick221 View Post
Installed mod fine. I can place banners no problem. It's my understanding that I can have as many banners as I want say in Horizontal (0) Banner list and they will all rotate in one after the other. If this is correct it doesn't work for me. Any ideas to help me figure it out?
They will rotate randomly and they do

You may check this if you disable the ones you have already seen. If they don't show you probably haven't setup the right rule.

You may need to use refresh on yourself, but on a life site the banners rotate very well and almost evenly.
Reply With Quote
  #1233  
Old 04-19-2011, 09:02 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 strudinox View Post
I'm not sure if my question has been answered somewhere in the previous 80+ pages, but is there a way to add more locations?
It was answered in the way that each single location can be reused for N banners and rarely you would find enough occasions to use all 10 banner locations together
Reply With Quote
  #1234  
Old 04-19-2011, 09:15 PM
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
Location: California
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by y2ksw View Post
It was answered in the way that each single location can be reused for N banners and rarely you would find enough occasions to use all 10 banner locations together
Yeah, I understand that for 99% of sites out there. I'm putting together a site where I need many more. Would adding more locations be hard to incorporate?
Reply With Quote
  #1235  
Old 04-20-2011, 06:02 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 strudinox View Post
Yeah, I understand that for 99% of sites out there. I'm putting together a site where I need many more. Would adding more locations be hard to incorporate?
Pretty much ... it will need several additions in many places and in the end it will slow down the process of parsing the banners into the pages.

You are free to do these changes for your own ... I don't like to sound cynical but 10 locations are really enough if you use them together with all other imaginable filters (usergroups, sections, date/time) I agree with you, if you skip these settings and make it a location based setup. But you can reuse one location, for example, to show in each of your forum sections a different and dedicated banner set. Most banner software is location based, and this means you have to create for each banner a location. Here, you can use one location for many different banners and the scope can be different.
Reply With Quote
  #1236  
Old 04-20-2011, 02:34 PM
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
Location: California
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your reply. If it requires that many changes to the code, then I won't worry about it. The reason I need so many is I planned to use this mod for an additional use alongside advertizing while using custom placement via the code tag.

Maybe creating additional locations can be an additional future in the future?
Reply With Quote
  #1237  
Old 04-20-2011, 05:06 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 strudinox View Post
Thanks for your reply. If it requires that many changes to the code, then I won't worry about it. The reason I need so many is I planned to use this mod for an additional use alongside advertizing while using custom placement via the code tag.

Maybe creating additional locations can be an additional future in the future?
I see that you would need at most 2 locations. 1 location for the site advertising and another for the code tag. Since you can define a different banner for each forum section and still use the same location (tag code), each code tag would require just as many banners of that section in the database as you probably may show on a single page. Say you have 10 posts and 5 code tags per page, you may use location 0 five times on the same page and setup 5 different (or same) banners for that forum section, and you are done. If you need the same scheme on another section but different banners, you just filter that section with another 5 banners. And in the same time you have still 9 locations to fit your site advertising much the same way
Reply With Quote
  #1238  
Old 04-20-2011, 05:37 PM
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
Location: California
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ohhh, that makes sense, I didn't know you could use the same code tag with the same ID multiple times on the same page. In that case, 9 locations should be plenty! Thanks for your help on this one
Reply With Quote
  #1239  
Old 05-13-2011, 10:38 AM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Giovanni,

I am trying to have my banners (for guests only) between the first and second post of my threads. However it is not showing the banners at all

Here is the code I am using on postbit_legacy:

Code:
<if condition="$show['guest']">
<if condition="(($post[postcount] % $vboptions[maxposts] == 1) and !$GLOBALS['vbulletin']->GPC['ajax'])">

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr><br />
<td align="center">
#reklama:2#
</td>
</tr>
</table>

</if>
</if>
I have the same custom code/ placeholder (#reklama:2#) working just fine in navbar template, but it is showing blank in postbit_legacy.

Any hints how to make this work ?

Thanks for your time.
Reply With Quote
  #1240  
Old 05-13-2011, 04:59 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe:

($post[postcount] % $vboptions[maxposts]) == 1

makes the difference? I believe without extra parentesis it operates as if:

$post[postcount] % ($vboptions[maxposts] == 1)

The expression may fail due to a division by 0 and thus never execute ...
Reply With Quote
  #1241  
Old 05-14-2011, 10:19 AM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by y2ksw View Post
Maybe:

($post[postcount] % $vboptions[maxposts]) == 1

makes the difference? I believe without extra parentesis it operates as if:

$post[postcount] % ($vboptions[maxposts] == 1)

The expression may fail due to a division by 0 and thus never execute ...
The conditional statement which I posted works in every other case. It is working for rotating banners through a simpler mt_rand () plugin. Though I like your solution better, due to tracking capabilities and better banners management.

Here's a sample link with banner (through mt_rand() plugin) between first and second post.

http://www.insurance-forums.net/foru...-t30355-3.html

Note the banner, on navbar is produced by your product but the one between first and second posts is the other plugin. If you have time to check, in that link, I left the placeholder between the banner and the Quick Register form. You will notice it is returning a blank.


I may be wrong so please correct if I am doing so, but my assumption is that the limitation that it should only be run on global_complete hook is maybe causing to stop displaying in postbit_legacy.


Thanks,
Val.
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 08:11 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.09341 seconds
  • Memory Usage 2,382KB
  • 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
  • (1)bbcode_code
  • (6)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
  • (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