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)

Reef Man 06-07-2012 02:39 PM

Quote:

Originally Posted by y2ksw (Post 2337086)
have the banners expired?

Nop, no of them are expired.

y2ksw 06-07-2012 03:50 PM

Quote:

Originally Posted by Samsine (Post 2337469)
ok, the banner will run.
The date and time were not saved as I had set it.

Regards
Samsine

Right. This is one of the most frequent problems, glad you worked it out :)

y2ksw 06-07-2012 03:53 PM

Quote:

Originally Posted by Reef Man (Post 2337470)
Nop, no of them are expired.

please send me via PM the credentials for an admin account (+ url) in order to look into the problem. I'm pretty much sure something insignificant was just overseen :)

dog-tag 06-13-2012 09:38 PM

I'm totally exhausted trying to fix this...

My ads won't show at all, even though they work fine with VB adverts feature.

Can someone run over what exact code should be inserted into the ad_navbar_below

For example this
Code:

<!--@vbbanners:%d@-->
is my banner options.
If I place the above code into it, it won't work.

If I place any of the above variations it also won't work. (I've read back about 20 pages now)

FYI - I'm in the middle of an argument here with GF over why my hair has been torn out over our bed sheets.... im serious too.

The tutorials are all very nice looking, and time has been put into them, but at the end of the day I've watched and read everything and man I am clueless as to what is going wrong.

I'm on 4.2.0 by the way. And thanks for any replies to my question... now back to arguing with my gf.

Alan_SP 06-13-2012 09:54 PM

This could be something very simple you overlooked. But, on the other hand, it could be very complex why it doesn't work. Just saying that it don't work couldn't give any clue.

You should say what you did, from installing this mod, settings you used, code you used for your banner etc. You mention that you placed banner code that will be replaced with actual banner. Well, this is just one step in successfully using this mod and one that is at the very end of installation process.

My best bet is that you go from the beginning, upload all files, install product, check all settings etc.

dog-tag 06-13-2012 10:17 PM

Hi :)

I have tried many different ways.. here is one example of using HTML with images from an external site -

Code:

<center><a href="http://www.afas.org/"><img src="http://imgur.com/osde8.jpg" /></a></CENTER>
It's not a case of what have I not done, it's more a case of what I haven't.

I'm focusing on this side of the problem, but I have tried them all (my site caches fine BTW)

Quote:

In order to catch all possible errors, please make sure, your placeholder in the options looks
like <!--@vbbanners:%d@--> or like @vbbanners:%d@ (if you have vbSEO or other software
which cleans HTML). It may have any other combination of characters, as long as a %d
appears inside. %d is replaced with numbers between 0 and 9 at runtime.

vbSEO or HTML cleaning software users:
vBulletin Options - Rotating Banner System Options - Nth Placeholder: @vbbanners:%d@

All other users:
vBulletin Options - Rotating Banner System Options - Nth Placeholder: <!--@vbbanners:%d@-->

(2)
Now put a:
vbSEO or HTML cleaning software users:
<div align="center">@vbbanners:0@</div>
<div align="center">@vbbanners:1@</div>

All other users:
<div align="center"><!--@vbbanners:0@--></div>
<div align="center"><!--@vbbanners:1@--></div>
in the template: ad_navbar_below


(3)
and enable the default banners, moving the second banner to position 1. Both banners should
appear, one below the other.
---
On a standard installation, this combination of settings works 100% guaranteed on 4.x. I
have set it up once again from scratch just to be sure. If it doesn't work for you, I'll install a
test board with these settings on, in order to demonstrate the facts.

Possible issues:

- You are using a style which does not implement ad_navbar_below, or which comments out
that template. In this case, no banner appears.

- Your system caches pages (e.g. Apache mod_cache). Unless you refresh the page
explicitly, the banners don't seem to rotate or won't even appear. 24 / 25

- Your vBulletin Options - Rotating Banner System Options - Nth Placeholder is setup like:
<!--@vbbanners:0@--> or @vbbanners:0@. In this case, only banners at location 0 appear.
You should have set: <!--@vbbanners:%d@--> or @vbbanners:%d@ instead.

y2ksw 06-15-2012 08:10 AM

Quote:

Originally Posted by dog-tag (Post 2339390)
I'm totally exhausted trying to fix this...

My ads won't show at all, even though they work fine with VB adverts feature.

Can someone run over what exact code should be inserted into the ad_navbar_below

For example this
Code:

<!--@vbbanners:%d@-->
is my banner options.
If I place the above code into it, it won't work.

If I place any of the above variations it also won't work. (I've read back about 20 pages now)

FYI - I'm in the middle of an argument here with GF over why my hair has been torn out over our bed sheets.... im serious too.

The tutorials are all very nice looking, and time has been put into them, but at the end of the day I've watched and read everything and man I am clueless as to what is going wrong.

I'm on 4.2.0 by the way. And thanks for any replies to my question... now back to arguing with my gf.

You could watch the movie (very first post), or the quick starter help (included PDF), to exhaust less :)
  1. make sure you have a banner. if you deleted the default banners, reinstall the product and keep them; after testing, disable them
  2. don't change options unless you have to
  3. use <!--@vbbanners:0@--> in your templates unless you have banners at other locations and unless you haven't changed the options
  4. use the placeholder in a template where you can see it at once, decide later where to put it definitively
  5. change banners after you have made sure they actually do show up
  6. verify changes
  7. please think simple ;) ... most of the fuzz arises when hurry comes in and no reading of the included help and believing everything must work in a way you already know ...

salvador21 06-15-2012 08:53 AM

Quote:

Originally Posted by dog-tag (Post 2339390)

For example this
Code:

<!--@vbbanners:%d@-->
is my banner options.
If I place the above code into it, it won't work.

It won't, you need to replace %d with a banner location (0 - 9)

e.g. you replace the %d with 0 and place that code in an ad position (either in Options:>manage ads or in an ad position template)

Then you go the RBS control panel in the Admin options menu, click on manage banners and create a banner (New).

Choose position 0
In the text box you put either Google adsense code, an html link top your banner, or just plain text if that's what you want to appear

Do the same for any of the other possible positions (1 - 9)

dog-tag 06-15-2012 12:21 PM

Hey guys, thanks a million for your tips, I wish I had all that info ages ago.

I un-installed it, and used this one here instead - VSA flash image banner

When I setup the new one just today, I spotted what I did wrong. It was SO stupid, but the hurry really ruined my head....

OK here is the embarrassing thing I did. When setting usergroups for the adverts to show, I viewed all my usergroups. Seen "admin" was #1 and set it that only #1 can see it. Looking back, admin is actually #6, and instead I was showing adverts to users who were not logged in.

I seen #1, but it really meant that was that amount of users who were admins. Feeling damn stupid now, I'm usually good with these things! I was so sure of myself too.

Thanks very much for clearing this up for me and others Salvador21 and Y2ksw :)

y2ksw 06-17-2012 10:14 AM

No problem, I felt you were in kind of a hurry :)


All times are GMT. The time now is 09:59 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.03382 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)bbcode_code_printable
  • (6)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