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)

attroll 06-24-2011 02:48 PM

I am feeling really dumb because the mod said it was straight forward and I have done everything that looks like it need to be done and I still cannot get any banners to display.

I created a banner in Horizontal (0) Banner List
Here is the code I put in the text block.
PHP Code:

<a href="http://www.mysite.net/" target="_blank"> <img src="http://www.mysite.net/forum/wb_style/misc/logo.png" /></a

I enabled he banner
I placed this code in the ?ad_global_below_navbar?
PHP Code:

<div align="center"><!--@vbbanners:0@--></div

The banner will not display.
Am I missing a step of doing something wrong?

y2ksw 06-25-2011 08:41 AM

Quote:

Originally Posted by attroll (Post 2212226)
I am feeling really dumb because the mod said it was straight forward and I have done everything that looks like it need to be done and I still cannot get any banners to display.

I created a banner in Horizontal (0) Banner List
Here is the code I put in the text block.
PHP Code:

<a href="http://www.mysite.net/" target="_blank"> <img src="http://www.mysite.net/forum/wb_style/misc/logo.png" /></a

I enabled he banner
I placed this code in the ?ad_global_below_navbar?
PHP Code:

<div align="center"><!--@vbbanners:0@--></div

The banner will not display.
Am I missing a step of doing something wrong?

Does one of the default banners view?

Probably you will have to use the template ad_navbar_below, because this one is used on all pages. The ad_global_below_navbar template is shown only under certain circumstances.

attroll 06-25-2011 11:27 AM

Quote:

Originally Posted by y2ksw (Post 2212495)
Does one of the default banners view?

Probably you will have to use the template ad_navbar_below, because this one is used on all pages. The ad_global_below_navbar template is shown only under certain circumstances.

Yes, I tried the default banner and I also tried the ad_navbar_below and it still does not display.

I don't know what I am doing wrong. Hoping for some help and advise here.

y2ksw 06-25-2011 01:07 PM

Quote:

Originally Posted by attroll (Post 2212530)
Yes, I tried the default banner and I also tried the ad_navbar_below and it still does not display.

I don't know what I am doing wrong. Hoping for some help and advise here.

Do you have vbSEO and its HTML cleaning enabled? Are you editing the right style? Does the start and end date/time fit your server time? Have you enabled other restrictions? Does the image exist?

Please continue with ad_navbar_below and maybe with the default style first, just to be sure everything works as it should.

Then, please put the image URL into the Image field and the landing page into the URL field. Keep the Text field empty unless you want to show a banner which isn't a plain picture.

Does it now work?

Sorry all the questions but I prefer to make them now all together :)

attroll 06-25-2011 01:31 PM

Quote:

Originally Posted by y2ksw (Post 2212576)
Do you have vbSEO and its HTML cleaning enabled? Are you editing the right style? Does the start and end date/time fit your server time? Have you enabled other restrictions? Does the image exist?

Please continue with ad_navbar_below and maybe with the default style first, just to be sure everything works as it should.

Then, please put the image URL into the Image field and the landing page into the URL field. Keep the Text field empty unless you want to show a banner which isn't a plain picture.

Does it now work?

Sorry all the questions but I prefer to make them now all together :)


What are you referring to when "Do you have vbSEO and its HTML cleaning enabled?".

Yes,
I am editing the correct style
The start and end dates are withing the time frame
I have not enabled any other restrictions
Yes the picture does exist.

This is on my test site. I put it there to get it working before I go to my live site.
If you would like access to the site to check it out, I can give it to you just let me know.

y2ksw 06-25-2011 03:27 PM

Quote:

Originally Posted by attroll (Post 2212584)
What are you referring to when "Do you have vbSEO and its HTML cleaning enabled?".

Yes,
I am editing the correct style
The start and end dates are withing the time frame
I have not enabled any other restrictions
Yes the picture does exist.

This is on my test site. I put it there to get it working before I go to my live site.
If you would like access to the site to check it out, I can give it to you just let me know.

If you had vbSEO installed, there was a footnote in the help files regarding this addon and a relative setting ...

If I could have access to the test site, it would simplify our conversation a lot :)

attroll 06-26-2011 01:17 AM

I do not have vbSEO installed in this site.

I will send you a PM with access to the site.

foudu1030 06-26-2011 07:48 AM

Hi,
I do upload to Root (rbs_iframe.php) ?
It's only file ?
Tahnks :)

attroll 07-01-2011 03:28 PM

Let me make sure I understand this correctly.

If I have ten banners created for for "position 0" and I have them all enabled. Then those 10 banners will rotate constantly?

If that is the case it is not working because the banners all show up in "position 0" at the same time.

djbaxter 07-01-2011 03:46 PM

Quote:

Originally Posted by attroll (Post 2215489)
Let me make sure I understand this correctly.

If I have ten banners created for for "position 0" and I have them all enabled. Then those 10 banners will rotate constantly?

If that is the case it is not working because the banners all show up in "position 0" at the same time.

:confused:

I cannot even imagine how you managed to get that to happen. Can you post a screen shot?


All times are GMT. The time now is 12:07 AM.

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.02353 seconds
  • Memory Usage 1,756KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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