Thread: Miscellaneous Hacks - Rotating Banner System
View Single Post
  #2475  
Old 02-07-2014, 10:41 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@bzcomputers I'd like all of your posts for helping dr.reddy if it would let me, can only like one for now until I share more "like love" so instead a shout out to you for being super nice and helping him today!

Quote:
Originally Posted by dr.reddy View Post
How i did....i created 2 banners and saved in "position 0 banner list" and next went to RBS in settings => options...and changed <!--@vbbanners:%d@--> to <!--@vbbanners:0@-->
^ Go back in settings and change that BACK to the previous value, it should always read <!--@vbbanners:%d@-->

If you currently have it set to: <!--@vbbanners:0@--> then it will not work, it must have the %d.
To explain the mod knows that the %d represents a # i.e. the banner list ID#.

Quote:
Originally Posted by dr.reddy View Post
Next went to style manager=>edit templates=>navbar below=> template box was empty so i added this "<!--@vbbanners:0@-->" Hope i did correctly so far
That is correct, that will now show the banners (all banners you have added to LIST 0) from list 0 in that location. If more than one banner they will randomly rotate in.

Quote:
Originally Posted by dr.reddy View Post
next what should i do in order to add position 1-9, i mean in settings=>options=>what should i add in the place of Nth Placeholder , as i have already entered <!--@vbbanners:0@-->

pls clarify and also let me know about rotating banner with time gap automatically instead of rotation banner after refreshing page.

Thanks
Add more banners to List 0 OR manage the other list and add in banners to those list, you only add more code to the template i.e. <!--@vbbanners:0@--> and <!--@vbbanners:1@--> if you are showing the banners from list 0 AND list 1.

Edit: Ahh and this mod rotates the banners on page load/refresh there is currently no timer function.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02311 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete