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)

oddmud 01-14-2011 03:44 PM

Back on topic, Thanks Baxter btw..

I finally got the flash ad to look right in the ad_global_header2 location, was missing the <br>'s in there to bring it down below the navbar.

Is there anyway to reset the statistics on a certain ad?

Also where can I set the target="_self", so it doesn't pop up another tab when clicked?

Kolbi 01-14-2011 04:34 PM

Widht and height attribut for non flash banners should be implemented, too.
HTML Code:

<img src="" alt="" width="" height="" />
and not
HTML Code:

<img src="" alt="" width="" height="">

y2ksw 01-14-2011 04:38 PM

Quote:

Originally Posted by oddmud (Post 2147537)
Why will the <!--@vbbanners:2@--> not work inside the vBulletin Ad Manager?

That would be the best way to implement it wouldn't it? Then I can control it's location properly.

The CSS/float issue is because for some reason when I put it in the ad_global_header2 template it's not showing there, and it's not pulling the css properly from the additional.css. It for some reason is showing up in ad_global_header, and isn't listening to the css instructions.

If HTML comments and this placeholder are not working for you, you can change it in the options (followed by the templates). This argument has been discussed many, many times in this thread and is also handled in the help.

vbulletin's Ad manager adds a level of problems, unless you have rules which are not handled elsewhere. It is much easier just to use the plain templates.

I am unable to reply properly to HTML and CSS problems, since I'm not a designer.

y2ksw 01-14-2011 04:57 PM

1 Attachment(s)
Quote:

Originally Posted by Kolbi (Post 2149029)
Widht and height attribut for non flash banners should be implemented, too.
HTML Code:

<img src="" alt="" width="" height="" />
and not
HTML Code:

<img src="" alt="" width="" height="">

Due to a bug, Mozilla Firebug will show an img tag with no HTML complying closing tag:

Attachment 125640

although it is closed in the page source:

Attachment 125641

and in the plugin code:

Attachment 125642

As for the width and height, they are reccomended but still optional. I will see if I will implement this feature into the next release.

Kolbi 01-14-2011 11:17 PM

Yes you are right. First watched the firefox page source :) After that I looked at the real page source. :D


That would be great!

oddmud 01-15-2011 03:06 PM

Is there anyway to reset the statistics on a certain ad?

Marty McFly 01-15-2011 10:43 PM

Hello,

I installed this and went to add @vbbanners@ to my header file and it just posts the text "@vbbanners@" in the header and doesn't load any banners. What am I doing wrong?

TheLastSuperman 01-15-2011 10:56 PM

Quote:

Originally Posted by Marty McFly (Post 2149731)
Hello,

I installed this and went to add @vbbanners@ to my header file and it just posts the text "@vbbanners@" in the header and doesn't load any banners. What am I doing wrong?

Try adding <-- and --> before and after then pasting example:

Code:

<--@vbbanners@-->
Reference this screenshot for more info:
https://vborg.vbsupport.ru/attachmen...3&d=1290115479

Marty McFly 01-15-2011 11:23 PM

Here's what I have setup:

https://vborg.vbsupport.ru/external/2011/01/31.jpg

This is how it comes out after adding <--@vbbanners@--> into my header template. I also tried just @vbbanners@ and it showed up in plain text too.

https://vborg.vbsupport.ru/external/2011/01/32.jpg

y2ksw 01-16-2011 05:53 AM

Quote:

Originally Posted by oddmud (Post 2149502)
Is there anyway to reset the statistics on a certain ad?

By Query:
Code:

DELETE FROM rbs_hits WHERE bannerid=N
where N is the banner to reset.

You may use these criteria to filter: id, bannerid, userid, dateline, id, servername, referer.

In order to reset all stats, rather use:
Code:

TRUNCATE rbs_hits


All times are GMT. The time now is 09:45 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.03189 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (4)bbcode_html_printable
  • (4)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