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)

MartynK 12-30-2008 11:17 PM

Quote:

Originally Posted by y2ksw (Post 1697424)
Could you please ensure you have in the banner options (bottom of vbulletin option list) 2 different placeholders? If both are the same, the replacement may swap. I could not imagine other conflicts.

Yes, I have to seperate setting, the default ones. I want to put Google ads at in one place and my ads in another, but as soon as I enable the Google ads, they switch places.

Also, is there a way to stop someone getting the same advert displayed multiple times, one after the other ?

y2ksw 12-31-2008 07:55 PM

Quote:

Originally Posted by MartynK (Post 1697503)
Yes, I have to seperate setting, the default ones. I want to put Google ads at in one place and my ads in another, but as soon as I enable the Google ads, they switch places.

Also, is there a way to stop someone getting the same advert displayed multiple times, one after the other ?

Could you please attach a snapshot of each kind of ad (horizontal, vertical) you have been setting up and which creates the problem? I'm unable to reproduce the problem.

There is already a filter against showing one ad more than once on any page. If you have the same ad inserted multiple times in the database though, you will have to disable the ones you wish not to show, or apply different rules.

wmlvb 12-31-2008 10:30 PM

Hi

I tried to do a search but nothing showed up! Can someone tell me why I am not allowed to upload .gif with this banner rotator?

y2ksw 12-31-2008 11:52 PM

Quote:

Originally Posted by wmlvb (Post 1698199)
Hi

I tried to do a search but nothing showed up! Can someone tell me why I am not allowed to upload .gif with this banner rotator?

Can you please attach a snapshot of the banner settings?

meissenation 01-01-2009 06:50 PM

Great mod - thank you thank you thank you! I love the differentiation between horizontal and vertical!

meissenation 01-01-2009 07:28 PM

There's definitely a bug that MartynK is talking about.

I have not changed the Options - it still has @vbbanners@ and @vbbanners_vertical@ yet everwhere that I have @vbbanners@ it's pulling my Vertical images and everwhere that I have @vbbanners_vertical@ it's pulling my horizontal images. This ONLY started after I added @vbbanners_vertical@ - when I was only using @vbbanners@ it was showing the correct horizontal images.

Edit: Easiest fix is to switch the variables in the Banner Options:
Change Horizontal Placeholder to @vbbanners_vertical@
Change Vertical Placeholder to @vbbanners@

Now it's working correctly.

y2ksw 01-01-2009 09:34 PM

Quote:

Originally Posted by meissenation (Post 1698727)
There's definitely a bug that MartynK is talking about.

I have not changed the Options - it still has @vbbanners@ and @vbbanners_vertical@ yet everwhere that I have @vbbanners@ it's pulling my Vertical images and everwhere that I have @vbbanners_vertical@ it's pulling my horizontal images. This ONLY started after I added @vbbanners_vertical@ - when I was only using @vbbanners@ it was showing the correct horizontal images.

Edit: Easiest fix is to switch the variables in the Banner Options:
Change Horizontal Placeholder to @vbbanners_vertical@
Change Vertical Placeholder to @vbbanners@

Now it's working correctly.

I've tried yesterday to simulate and I didn't succeed in reproducing the problem. @vbbanners@ shows to me horizontal banners and @vbbanners_vertical@ vertical banners with no exception.

How many banners do you have of each kind?

y2ksw 01-01-2009 09:55 PM

I think I found the problem. From the moment you disable or delete the samples and add first vertical, then horizontal banners, you run into this problem.

Update on the way for the weekend.

meissenation 01-01-2009 10:31 PM

Ah - yeah that would probably be it. I actually deleted all the samples.

Here's my site with a demo of it. The horizontal banners under the MiFbody.com logo and the banners down the right side of the page are all done through this product. Works great - I really like the impressions and clicks logging!

http://www.mifbody.com/vbulletin/

wmlvb 01-01-2009 11:31 PM

1 Attachment(s)
Quote:

Originally Posted by y2ksw (Post 1698234)
Can you please attach a snapshot of the banner settings?


Image attached


All times are GMT. The time now is 06: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.03874 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
  • (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