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)

y2ksw 09-26-2013 10:46 AM

Quote:

Originally Posted by desmomax (Post 2447687)
I am using vbulletin 3.8.7 patch level 3, is this mod working with my version? many thanks
is any italian translation for my vbulletin version?

Yes, and yes: http://www.vbulletin.it/14-vbulletin...-banner-system

y2ksw 09-26-2013 10:47 AM

Quote:

Originally Posted by DonLKSAB (Post 2447971)
I have been running the rotater for some while on my sandbox setup. And it works perfect.
But now im installing it on my real system and i get a problem.
I use the iframe files to display some of my banners and for some reason it shows me the full page in every iframe.
So i have my page with a duplicate of each page in every iframe.

Any ideas?

Maybe there is a redirect at .htaccess level?

DonLKSAB 10-02-2013 06:10 AM

Quote:

Originally Posted by y2ksw (Post 2448103)
Maybe there is a redirect at .htaccess level?

How would that look?
I need to know what to look for :-)

y2ksw 10-02-2013 06:38 AM

Quote:

Originally Posted by DonLKSAB (Post 2449413)
How would that look?
I need to know what to look for :-)

No idea ... sandboxes are usually less restrictive and behave better than production sites. One suspect is about fully qualified URL's. Eventually your iframes refer still to your sandbox and the redirect in production fills the iframe with the full page. Thus you would have to create an exception or revisit the iframe code.

Cicada 10-02-2013 08:59 PM

I'm stil; unsure -- does this addon allow me to place banners between posts?

Videx 10-02-2013 10:30 PM

Quote:

Originally Posted by Cicada (Post 2449562)
I'm stil; unsure -- does this addon allow me to place banners between posts?

No, this mod allows you to randomly rotate banners via placeholder(s).

There are various ways to get vbulletin to put a banner where you want it, including between posts. If it's only one banner, you don't need this mod.

rhody401 10-05-2013 12:24 AM

It'll do it if you change the postbit code and insert the trigger(s). I have it display with this mod every 5th post, and also after the last post. This is the code I used, which I believe I found from a previous post in this thread:

PHP Code:

BANNER AFTER LAST POST HACK Added this mod to our forum on 3/1/12 

GO TO
Admin Console -> Styles Templates -> Style Manager -> edit template ->  postbit templates -> postbit_legacy  

......at the END add this, if you want it to display random ad after the LAST post:

<
vb:if condition="$post['islastshown']">
 <
div align="center"><!--@vbbanners:0@--></div><br />
</
vb:if> 


.....
at the VERY END add this:  (puts random ad after 5th and 10th posts)

<
vb:if condition="THIS_SCRIPT == 'showthread' AND (($post['postcount'] % 15 == 10) OR $post['postcount'] == 10)">
    <
div class="thread_controls">
        <
div style="width: 100%; text-align: center">
            <!--@
vbbanners:0@-->
        </
div>
    </
div>
<
vb:elseif condition="THIS_SCRIPT == 'showthread' AND (($post['postcount'] % 15 == 5) OR $post['postcount'] == 5)" />
    <
div class="thread_controls">
        <
div style="width: 100%; text-align: center">
            <!--@
vbbanners:0@-->
        </
div>
    </
div>
</
vb:if> 

Hope this is helpful! We LOVE the RBS add-on!

johnscanlan2 10-05-2013 09:24 PM

I have tried a couple of these rotating banner mods over the many years of using vB. This will be my last. Simply because it works. Once you figure it out, you quickly find that you can put the placeholder any place you want correctly.

I love it!

y2ksw 10-06-2013 04:02 PM

Quote:

Originally Posted by johnscanlan2 (Post 2450268)
I have tried a couple of these rotating banner mods over the many years of using vB. This will be my last. Simply because it works. Once you figure it out, you quickly find that you can put the placeholder any place you want correctly.

I love it!

Thanks :)

webmaster74 10-13-2013 10:41 PM

Hi. What is the meaning of the star next to the name of the banner in the banner list ?


All times are GMT. The time now is 01:02 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.03663 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
  • (1)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
  • (5)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