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 12-17-2010 03:58 PM

Quote:

Originally Posted by motorola (Post 2134221)
Works this on 4.1.0 PL2 ? I cant see any banners show up

I can't tell yet.

motorola 12-17-2010 05:50 PM

It works finally for me. So to show random two or more banners I must add every banner in a different position and then i should add the code e.g <!--@vbbanners:0@--><!--@vbbanners:2@--><!--@vbbanners:4@--> or is it possible to put the banners in a single position and to show them random?

Also how can I make the banners to change after x seconds?

Thank you for this wonderfull mod

y2ksw 12-18-2010 12:34 AM

Quote:

Originally Posted by motorola (Post 2135482)
It works finally for me. So to show random two or more banners I must add every banner in a different position and then i should add the code e.g <!--@vbbanners:0@--><!--@vbbanners:2@--><!--@vbbanners:4@--> or is it possible to put the banners in a single position and to show them random?

Also how can I make the banners to change after x seconds?


Thank you for this wonderfull mod

You may use one position for more banners - it was designed to rotare all available banners in that one position :)

Please look back for some posts (I belive #989) for the unofficial x seconds hack ...

CybaGirl 12-18-2010 12:52 AM

Any idea as to what is going on with my issue posted on the previous page?

Ok seem to have noticed a small problem in where when you click on a banner it loads the URL that it is suppose to as indicated in the control panel setting for the banner. But at the same time it loads another page that displays just the banner on it's own.

Thanks.

y2ksw 12-18-2010 12:56 AM

Quote:

Originally Posted by motorola (Post 2134221)
Works this on 4.1.0 PL2 ? I cant see any banners show up

Yes, it does work on 4.1.0 PL2.

y2ksw 12-18-2010 01:07 AM

Quote:

Originally Posted by CybaGirl (Post 2135667)
Any idea as to what is going on with my issue posted on the previous page?

Ok seem to have noticed a small problem in where when you click on a banner it loads the URL that it is suppose to as indicated in the control panel setting for the banner. But at the same time it loads another page that displays just the banner on it's own.

Thanks.

I guess you have a script in your banner which works that way.

CybaGirl 12-18-2010 02:13 AM

Hi and thanks for getting back to me.

No script or url is used in the banner itself.

The only URL is the the one that is entered into the URL field in the banner configuration page.

Ok I took out the URL listed in the banner configuration page and when you now click on the banner it goes to the following address.

http://www.kawariders.com.au/rbs_banner.php?id=5

How is this possible when no URL is listed on the banner configuration page nor in the banner itself?

Ok just edited a banner to include a URL so that when you click on it you are taken the URL. But for some unknown reason it doesn't open the URL it is still opening the rbs_banner.php?id=5 .

I viewed the source code of the page and this is what it lists.

Code:

        <div class="ad_global_header">
                <br><br><br>
<div align="center"><table>
<tr>
    <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" border="0"  width="468" height="60"><param name="movie" value="http://www.kawariders.com.au/rbs_wrapper.swf"/><param name="FlashVars" value="banner=http://www.kawariders.com.au/images/banners/jds-1.swf&jlink=http://www.kawariders.com.au/rbs_banner.php?id=5&userid=7859&bwidth=468&bheight=60"/><embed src="http://www.kawariders.com.au/rbs_wrapper.swf" FlashVars="banner=http://www.kawariders.com.au/images/banners/jds-1.swf&jlink=http://www.kawariders.com.au/rbs_banner.php?id=5&userid=7859&bwidth=468&bheight=60" loop="false" pluginspage="http://www.macromedia.com/go/get/flashplayer" type="application/x-shockwave-flash"  width="468" height="60"></embed></object></td>
</tr>
</table>
</div>

Any idea as to why it is still linking to this http://www.kawariders.com.au/rbs_banner.php?id=5 for?

The only time it doesn't link to this address is when I enter in a URL in the banner configuration page where it says.

URL
If you are using an Image banner, please insert here the destination URL.

But then I have the problem of when you click on the banner it loads the banner in a new page as well as the URL in another new page.



Thanks.

motorola 12-18-2010 06:48 AM

Quote:

Originally Posted by y2ksw (Post 2135659)
You may use one position for more banners - it was designed to rotare all available banners in that one position :)

Please look back for some posts (I belive #989) for the unofficial x seconds hack ...

I've put 2 banners in a position and the second banner appear bellow the first one. ( I put the code in the text field, its right in this way?)

y2ksw 12-18-2010 10:40 AM

1 Attachment(s)
Quote:

Originally Posted by CybaGirl (Post 2135705)
Hi and thanks for getting back to me.

No script or url is used in the banner itself.

The only URL is the the one that is entered into the URL field in the banner configuration page.

Ok I took out the URL listed in the banner configuration page and when you now click on the banner it goes to the following address.

http://www.kawariders.com.au/rbs_banner.php?id=5

How is this possible when no URL is listed on the banner configuration page nor in the banner itself?

Ok just edited a banner to include a URL so that when you click on it you are taken the URL. But for some unknown reason it doesn't open the URL it is still opening the rbs_banner.php?id=5 .

I viewed the source code of the page and this is what it lists.

Code:

    <div class="ad_global_header">
        <br><br><br>
<div align="center"><table>
<tr>
    <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" border="0"  width="468" height="60"><param name="movie" value="http://www.kawariders.com.au/rbs_wrapper.swf"/><param name="FlashVars" value="banner=http://www.kawariders.com.au/images/banners/jds-1.swf&jlink=http://www.kawariders.com.au/rbs_banner.php?id=5&userid=7859&bwidth=468&bheight=60"/><embed src="http://www.kawariders.com.au/rbs_wrapper.swf" FlashVars="banner=http://www.kawariders.com.au/images/banners/jds-1.swf&jlink=http://www.kawariders.com.au/rbs_banner.php?id=5&userid=7859&bwidth=468&bheight=60" loop="false" pluginspage="http://www.macromedia.com/go/get/flashplayer" type="application/x-shockwave-flash"  width="468" height="60"></embed></object></td>
</tr>
</table>
</div>

Any idea as to why it is still linking to this http://www.kawariders.com.au/rbs_banner.php?id=5 for?

The only time it doesn't link to this address is when I enter in a URL in the banner configuration page where it says.

URL
If you are using an Image banner, please insert here the destination URL.

But then I have the problem of when you click on the banner it loads the banner in a new page as well as the URL in another new page.



Thanks.

Right, this is probably a combination of things. One of the most common errors is to setup banner features which aren't used or necessary, and thus nothing works. Take it easy, it is meant to rotate banners with the least immaginable efford :)

From your code, I see you have flash banners enabled and also click tracking. But you haven't specified an image, and the landing page is your image. Thus it is absolutely clear a user jumps to the banner ;)

Please disable for a moment all of your banners and create a new one. In the Image field, please paste an URL which goes directly to an image, such as:

http://www.google.com/images/logos/ps_logo2.png

In the URL field, please paste your landing page, such as:

http://www.kawariders.com.au/

In the title, type something which makes sense to users while the mouse is over but not clicked yet. Also, assign a position, if you have more than one. And just save. You should now see the image in your banner location and when you click, go directly to the landing page.

It should now look like (template ad_below_navbar):

Attachment 124592

Attachment 124593

All the rest are extra features, which may replace or extend these basic features in one or another way, and are very similar.

So now, if you have a flash banner and want to wrap it, the swf file URL goes into the Image/ Flash field, and the landing page is URL, and in addition you will click on Flash Banner: yes, and insert the flash dimensions.

If you want click tracking, you enable it as well, which will direct the users to the phantomatic rbs_banner.php?id=xxx script on your site, which is then redirecting to your landing page.

y2ksw 12-18-2010 10:46 AM

Quote:

Originally Posted by motorola (Post 2135799)
I've put 2 banners in a position and the second banner appear bellow the first one. ( I put the code in the text field, its right in this way?)

If it is Java script, yes.

You see how this has to be setup with the two default banners coming with the product.


All times are GMT. The time now is 02:34 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.03961 seconds
  • Memory Usage 1,768KB
  • 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
  • (7)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