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
  #912  
Old 10-28-2010, 07:56 PM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love the mod, and have been using it on 5 sites for about a year now....

I've been modding the swf files I have and redirecting them to a php file so I could log additional information.

$Usr= $_SERVER['remote_user'];

$CallingServer = $_SERVER['SERVER_NAME'];
$UserID = $_COOKIE['bbuserid'];

chdir('/home/sitename/public_html/redirects');

$con = mysql_connect("localhost","sitelogin","sitepasswor d");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}

mysql_select_db("site_forum", $con);


// Get IP Address of remote address

// $ip=@$REMOTE_ADDR;
$ip=$_SERVER['REMOTE_ADDR'];

// Update values that are required
$sql="INSERT INTO page_hits (i_date, i_time, ip_address, calling_site, calling_ad, UserName)
VALUES
(now(),curtime(),'$ip','$CallingServer','Sponsor - General','$UserID')";

Would it be possible to add some further details in to this mod so that we can record the following:

calling sitename
IP address of user who click on the ad
Date
Time
username (if they have a login)

If so, then I reckon we would have an excellet tool and be able to produce some meaning full stats that could help people taget their advertising.
Reply With Quote
  #913  
Old 10-29-2010, 07:07 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 jnrdavo View Post
Love the mod, and have been using it on 5 sites for about a year now....

I've been modding the swf files I have and redirecting them to a php file so I could log additional information.

$Usr= $_SERVER['remote_user'];

$CallingServer = $_SERVER['SERVER_NAME'];
$UserID = $_COOKIE['bbuserid'];

chdir('/home/sitename/public_html/redirects');

$con = mysql_connect("localhost","sitelogin","sitepasswor d");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}

mysql_select_db("site_forum", $con);


// Get IP Address of remote address

// $ip=@$REMOTE_ADDR;
$ip=$_SERVER['REMOTE_ADDR'];

// Update values that are required
$sql="INSERT INTO page_hits (i_date, i_time, ip_address, calling_site, calling_ad, UserName)
VALUES
(now(),curtime(),'$ip','$CallingServer','Sponsor - General','$UserID')";

Would it be possible to add some further details in to this mod so that we can record the following:

calling sitename

IP address of user who click on the ad
Date
Time
username (if they have a login)


If so, then I reckon we would have an excellet tool and be able to produce some meaning full stats that could help people taget their advertising.
I put this on schedule for the next revision. It is a reasonable addition, although some data can't be tracked as 100% reliable, such as "the user who clicked", because it may depend on specific cookie settings to make this information available. Also, some proxies may show an IP of 127.0.0.1, which then would look like as if your server had clicked the ad

Along this addition, I'll also add an optional and complete banner impression trace, which will allow to see at least, who is viewing the banners in general. However, I will not add any statistics at this point, which have to be studied a bit beforehand.

For all those users who would like statistics, please tell what you need, including what you would like to show (directly) to your sponsors/customers.
Reply With Quote
  #914  
Old 11-03-2010, 07:09 PM
fridaypassion fridaypassion is offline
 
Join Date: Dec 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
Admin CP > Advertising > Add New Ad > Ad Selector > Global: Below Navbar

or

Styles & templates > Style manager > Ad Location Templates > ad_global_below_navbar
I'm more confused now! do you also need to change a setting in the rotating banner system section as well? I've added the ad location but the new location doesn't appear in the rotating ad system only the usual horizontal position 1 etc.
Reply With Quote
  #915  
Old 11-04-2010, 09:23 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 fridaypassion View Post
I'm more confused now! do you also need to change a setting in the rotating banner system section as well? I've added the ad location but the new location doesn't appear in the rotating ad system only the usual horizontal position 1 etc.
Please read the included guide and eventually have a look at the Flash Guide as indicated in the first post of this thread.

You need to make changes to your templates and insert banners in the database in order to show banners. The way you do it, is easy and straight forward. There are no such fixed locations as the inbuilt vBulletin locations, but you may use them if you wish.
Reply With Quote
  #916  
Old 11-04-2010, 01:34 PM
DieselTruck DieselTruck is offline
 
Join Date: Feb 2008
Location: TN
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Call me stupid, but I cannot get a banner to display.

I have tried <!--@vbbanners:0@--> in all the ad hook locations, none will show. I get this when adding to the header location. See attachment.

As you can see, it just shows the code.
Attached Images
File Type: jpg bannerheaderexample.JPG (10.5 KB, 0 views)
Reply With Quote
  #917  
Old 11-04-2010, 07:40 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 DieselTruck View Post
Call me stupid, but I cannot get a banner to display.

I have tried <!--@vbbanners:0@--> in all the ad hook locations, none will show. I get this when adding to the header location. See attachment.

As you can see, it just shows the code.
Could you please just try the template called "ad_navbar_below" with:
Code:
<div align="center"><!--@vbbanners:0@--></div>
and enable one of the default banners. You should get a banner between the navbar (menu) and the forum contents, similar to:

Attachment 123395
Reply With Quote
  #918  
Old 11-04-2010, 07:43 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PS: if it still shows the code, check also the options. It should look like:

Attachment 123396
Reply With Quote
  #919  
Old 11-05-2010, 02:08 AM
DieselTruck DieselTruck is offline
 
Join Date: Feb 2008
Location: TN
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, I've been playing with it all evening and I'm down to this "x" where the ad should be (See attachment).

I can successfully see the the banner in the browser address bar with the URL the same as I put in the URL Field.
If I click the image placeholder it takes me to the banner successfully.
Attached Images
File Type: jpg adx.jpg (8.0 KB, 0 views)
Reply With Quote
  #920  
Old 11-06-2010, 05:48 PM
DieselTruck DieselTruck is offline
 
Join Date: Feb 2008
Location: TN
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any ideas?
Reply With Quote
  #921  
Old 11-06-2010, 06:18 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 DieselTruck View Post
Any ideas?
Oh, I thought you solved the problem ... so what?

You say you click the placeholder, then you go to the banner? You mean your banner shows on a single page and nothing else? Sounds like you target your banner.

Maybe you have put the image URL into the target field. Please check this first. If this isn't the problem, ... maybe you better reinstall and use the default banners for a start. I have the strong idea we miss something
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 03:54 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.06594 seconds
  • Memory Usage 2,401KB
  • 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
  • (5)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
  • (11)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