Thread: Miscellaneous Hacks - Rotating Banner System
View Single Post
  #2483  
Old 02-08-2014, 12:45 AM
drdoc drdoc is offline
 
Join Date: Nov 2011
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
@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!



^ 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#.



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.



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.
Quote:
Originally Posted by bzcomputers View Post
For side by side change banner 4 to this:

Code:
<table align="center"><tr><td>Put what you have currently in Banner 4 here</td><td>Put what you have currently in Banner 5 here</td><td>Put what you have currently in Banner 6 here</td></tr></table>
If you want spacing between the banners add this code between each banner code above:
Code:
<td style="width: 20px;">&nbsp;<td>
Adjust "20" to any spacing width you would like.

You can then delete Banners 5 & 6.
I have one doubt here about this code <table align="center"><tr><td>Put what you have currently in Banner 4 here</td><td>Put what you have currently in Banner 5 here</td><td>Put what you have currently in Banner 6 here</td></tr></table>

sorry but I have few qs on this

1. I need to place this code in below navbar template beside <!--@vbbanners:0@-->??

2. you said, Put what you have currently in Banner 4...5...6...what i should put there exactly? ..any example

3. why should i delete 5 and 6, how can i redirect to my website URL and image source URL...little bit confused here....example i have banner 4, 5, 6 under 10,11,12 ID at position 0,

I think i need to read pdf little more...yes am thinking of avoiding duplicate banners to show more often...

4. As shown in demo by coder here, http://www.pagerobot.com/pub/rbs/rbs_01.htm where is ad_header_logo in AD templates as shown in demo...i think it is not present in VB 4.2.2...am also thinking of placing banners above logo...

thx
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01168 seconds
  • Memory Usage 1,780KB
  • 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
  • (2)bbcode_code
  • (2)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