vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Rotating Banner System (https://vborg.vbsupport.ru/showthread.php?t=188328)

Idawg 01-31-2010 04:52 AM

Okay, I might sound like a nub here, but I have used this mod in the past (3.7 board). I am having issues getting a banner to appear ANYWHERE..

I currently have this code in my Navbar, at the bottom: <center>@vbbanners@</center>

And that is all that appears below my navbar (centered)..

And I take it that is what you use for position 0???

If I want to use position 2, is this what I do - @vbbanners:2@??

Is there a master 'Enable' button somewhere that I missed??

Or maybe it is late and I am cold LOL

Thanks !!

djbaxter 01-31-2010 05:07 AM

Quote:

Originally Posted by Idawg (Post 1971010)
Okay, I might sound like a nub here, but I have used this mod in the past (3.7 board). I am having issues getting a banner to appear ANYWHERE..

I currently have this code in my Navbar, at the bottom: <center>@vbbanners@</center>

And that is all that appears below my navbar (centered)..

And I take it that is what you use for position 0???

If I want to use position 2, is this what I do - @vbbanners:2@??

Is there a master 'Enable' button somewhere that I missed??

Or maybe it is late and I am cold LOL

Thanks !!

That's about where I got confused, too. :o

You need to place the code into the templates as follows:

PHP Code:

<!--@vbbanners:0@--> 

PHP Code:

<!--@vbbanners:1@--> 

PHP Code:

<!--@vbbanners:2@--> 

... etc.

Include the <! -- and --> tags.

Idawg 01-31-2010 05:40 AM

When I include the <!-- and -->, the code completely disappears.. Nothing happens

<center><!--@vbbanners:2@--></center> is the code I am using

Idawg 01-31-2010 05:48 AM

BTW, I set position of banner to 2, so I used @vbbanners:2@, enabled, I set the destination, copied my html code for the banner into the text box, placed the image url in there ect ect... And I placed the code at the very bottom of the Navbar template, right after the </vb:if>

Can I use Ad Location templates instead??

djbaxter 01-31-2010 05:58 AM

Quote:

Originally Posted by Idawg (Post 1971022)
BTW, I set position of banner to 2, so I used @vbbanners:2@, enabled, I set the destination, copied my html code for the banner into the text box, placed the image url in there ect ect... And I placed the code at the very bottom of the Navbar template, right after the </vb:if>

Can I use Ad Location templates instead??

Yes you can and they work better. With some templates, it's easy to misplace the ad and mess up the page opr lose the ad.

djbaxter 01-31-2010 05:59 AM

Yiu can also use the new Advertising feature in the ACP for 4.x... avoid the ones for the header because they're buggy but the others work fine.

At the moment, I'm using all three methods

y2ksw 01-31-2010 09:07 AM

Quote:

Originally Posted by Idawg (Post 1971010)
Okay, I might sound like a nub here, but I have used this mod in the past (3.7 board). I am having issues getting a banner to appear ANYWHERE..

I currently have this code in my Navbar, at the bottom: <center>@vbbanners@</center>

And that is all that appears below my navbar (centered)..

And I take it that is what you use for position 0???

If I want to use position 2, is this what I do - @vbbanners:2@??

Is there a master 'Enable' button somewhere that I missed??

Or maybe it is late and I am cold LOL

Thanks !!

http://www.pagerobot.com/pub/rbs/rbs_01.htm

Please see this tutorial which shows how to implement your first banner with version 2.2.2 of this product. It also shows exactly where and how to setup an alternative placeholder, and gives a demonstration of erratic and fixed insertion of placeholders.

Idawg 01-31-2010 04:36 PM

Tytyty !!!

Idawg 01-31-2010 05:53 PM

I can get the adsense working now, but images, no.. Is there a bug somewhere in 4.0.1 that messes with this?? I am working on a business forum with heavy advertisments in it. I am still not impressed with 4 as I am with 3.8.4..

Does this mod work better in 3.8.x??

y2ksw 01-31-2010 09:47 PM

Quote:

Originally Posted by Idawg (Post 1971457)
I can get the adsense working now, but images, no.. Is there a bug somewhere in 4.0.1 that messes with this?? I am working on a business forum with heavy advertisments in it. I am still not impressed with 4 as I am with 3.8.4..

Does this mod work better in 3.8.x??

It works the same way as with any version from 3.6.5 onwards. Should I make a tutorial for image banners too? :)


All times are GMT. The time now is 06:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02818 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete