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 03-03-2011 08:22 PM

Quote:

Originally Posted by y2ksw (Post 2149859)
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

This did not work. Details are still the same.

Xerosis 03-04-2011 12:59 AM

how can i put in this position ?

https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

djbaxter 03-04-2011 01:13 AM

Quote:

Originally Posted by Xerosis (Post 2169350)

You need to edit the header template and and the banner placeholder there. It will look something like this:

Admin CPO -> Styles & Templates ->Style Manager -> {your style} -> Common Templates

FIND vBulletin ad locations which don't work properly:

PHP Code:

    </div>
    <
div class="ad_global_header">
        {
vb:raw ad_location.global_header1}
        {
vb:raw ad_location.global_header2}
    </
div>
    <
hr /> 

ADD AFTER:

PHP Code:

<br />
<!--@
vbbanners:0@-->
<
br /> 

or alternatively, to put the banner at the top:

FIND:

PHP Code:

    <div id="toplinks" class="toplinks"

ADD AFFTER:

PHP Code:

<br />
<!--@
vbbanners:0@-->
<
br /> 

Youi may need to play a bit to find the right location for your header and you may need to add align right to get the placement correct.

Xerosis 03-04-2011 02:37 AM

*yes, but how can I put the "remember password" on the side of the password ?

djbaxter 03-04-2011 02:58 AM

Quote:

Originally Posted by Xerosis (Post 2169369)
*yes, but how can I put the "remember password" on the side of the password ?

I don't understand. In your screen captures, that box and phrase is there. This shouldn't affect that part.

cbehan 03-05-2011 04:10 AM

I'm attempting to move from the built in vb advertising to RBS, and in doing so, I placed the "<!--@vbbanners:0@-->" code right into the "Ad HTML" field of the Previous Ad setup.

Now my ads aren't showing up.

Did I do that wrong, or am I missing something else?

cbehan 03-05-2011 10:58 PM

bump to see if anyone can help out....

cbehan 03-06-2011 01:53 AM

Quote:

Originally Posted by oddmud (Post 2160275)
I found out using the <!--@vbbanners:0@--> code will work in the vB Advertising program.

It didn't prior, but for some reason it is now working. I am using the BETA 4.1.2 MS. This may have something to do with it working properly in the advertisement section. It's much better when you don't have to edit code.

This is exactly what I'm trying to do with no luck.

Do I just put "<!--@vbbanners:0@--> " into the code section?

Videx 03-06-2011 02:40 AM

vb 4.1.2 updated: In the "above footer" mine is actually "<div style="text-align:center"><!--@vbbanners:0@--></div>". I also manually added code after the first post somehow, but it looks like now they have a spot 'first post content' that would work.

cbehan 03-06-2011 04:01 AM

Quote:

Originally Posted by Videx (Post 2170026)
vb 4.1.2 updated: In the "above footer" mine is actually "<div style="text-align:center"><!--@vbbanners:0@--></div>". I also manually added code after the first post somehow, but it looks like now they have a spot 'first post content' that would work.

I tried this and it's not working.

It's as though the code is not being inserted.....

The Plugins are turned on and the product is enabled. I'm lost.


All times are GMT. The time now is 07:06 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.04464 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)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