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)

Nelson58 12-11-2014 11:41 AM

Sorry! Here it is!!

https://www.flickr.com/photos/129267...8/15971651736/



https://vborg.vbsupport.ru/external/2014/12/31.jpg

I tried all kinds of CSS as per this forum. Nothing worked. Also the LEFT GLOBAL HEADER 1 does not appear at all!!

ozzy47 12-11-2014 11:46 AM

Try adding this to your additional.css.

Code:

.ad_global_header {
    padding-top: 20px;
}

Adjust 20px as needed.


Nelson58 12-11-2014 11:52 AM

Quote:

Originally Posted by ozzy47 (Post 2526733)
Try adding this to your additional.css.

Code:

.ad_global_header {
    padding-top: 20px;
}

Adjust 20px as needed.




That worked, thanks! The left header (Header 1) still isnt showing. Any idea what could be causing that? I have the code properly inserted into the style template.

ozzy47 12-11-2014 11:54 AM

I added that to your site via firebug and it dropped the banner down as it should. Make sure you clear your browsers cache, and cookies, as well as flush any server side caching you may have like vBOptimise.

Evoklub 12-15-2014 07:40 PM

Hi All,

Just upgraded from v2.3.1 to v2.4.2, and banners doesn't work any more.

Any hint, maybe anything to change in ad_global_header1 template, or...?

y2ksw 12-16-2014 07:35 AM

Quote:

Originally Posted by Evoklub (Post 2527332)
Hi All,

Just upgraded from v2.3.1 to v2.4.2, and banners doesn't work any more.

Any hint, maybe anything to change in ad_global_header1 template, or...?

Did you also update vbulletin? If yes, did you revert the templates?

Do the banners list in ACP?

Evoklub 12-16-2014 10:25 AM

Quote:

Originally Posted by y2ksw (Post 2527391)
Did you also update vbulletin? If yes, did you revert the templates?

Do the banners list in ACP?

No, No, and ACP: what should I do there?

In template ad_global_header1 is: <div id="ad_global_header1"><!--@vbbanners:0@--><vb:if condition="$adsshown[] = 4"></vb:if></div> Is it OK?

Evoklub 12-16-2014 05:11 PM

...and it is actually there (by viewing source), but it is invisible.

You can check it here: http://forum.evoklub.hu (header)

y2ksw 12-17-2014 06:21 AM

1 Attachment(s)
Quote:

Originally Posted by Evoklub (Post 2527421)
No, No, and ACP: what should I do there?

In template ad_global_header1 is: <div id="ad_global_header1"><!--@vbbanners:0@--><vb:if condition="$adsshown[] = 4"></vb:if></div> Is it OK?

This should read:
Code:

<!--@vbbanners:0@-->
unless of course you want to make a different use of it. The div is only necessary if you have custom styles for that area.

Quote:

Originally Posted by Evoklub (Post 2527512)
...and it is actually there (by viewing source), but it is invisible.

You can check it here: http://forum.evoklub.hu (header)

If you can see this in source code:
Code:

<!--@vbbanners:0@-->
Then the plugin is disabled. If you can see the banner code, then the banner has moved out of the page or visible area.

In my HTML inspector, I see the banner code and the banner code seems ok, but I can't tell what all the Google code means. I suggest to go to Google Adsense and get the code and replace it. Coincidentally they may have changed something or for some reason, that channel has no banners (I can't tell). Putting there some code which works elsewhere is a good way to find out.

Attachment 151307

Evoklub 12-17-2014 04:15 PM

Dear Giovanni,

Thank you very much. It works with a normal jpg banner, so something is wrong with the Google code.


All times are GMT. The time now is 02:47 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.03793 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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