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)

bsalu 02-07-2010 03:41 AM

Hi,

I have installed this Mod. I followed the instruction and watched the video few times. But i cant just get this mod work with my banners.

It shows adsense banners but it goes blank when it suppose to show the image banner i have added.

I checked the link for image banner and it is correct but it just doesnt show in banner rotator.

Thanks for help

y2ksw 02-07-2010 10:07 AM

Quote:

Originally Posted by bsalu (Post 1976425)
Hi,

I have installed this Mod. I followed the instruction and watched the video few times. But i cant just get this mod work with my banners.

It shows adsense banners but it goes blank when it suppose to show the image banner i have added.

I checked the link for image banner and it is correct but it just doesnt show in banner rotator.

Thanks for help

Please make sure that you actually can access the banners you have specified, in a test page. There is no way to show a banner which isn't available on a normal HTML. Though you may use relative paths relative to your forum home, it is far better to use full paths to your images and links, since other products benefit from it (e.g. vbadvanced).
Starting with version 2.2.3 you may clone a banner by klicking the "Duplicate" button. This way you may modify a working banner slightly. In this case, you may clone one of the working adsense banners and paste your image and destination URL, remove the adsense and save. If your images are there, the banner must show up (in rotation) :)

dimthan 02-07-2010 12:00 PM

Quote:

Originally Posted by y2ksw (Post 1976249)
Maybe you need to use full paths to the flash, and replace the paths with your own file data.

The sample is intended to give only an idea about implementing a Flash banner and is for no reason complete or with "absolute" values.

even if i use the full path i dont have any result with the flash . i can see only the transparent gif and if i click on it , goes to the advertised domain . but finally i cant see the flash banner

speedracer68 02-07-2010 03:54 PM

Can I get this to rotate banners on the right side of my forum in a random order?

See http://www.pro-touring.com/forum/ for my old site example

y2ksw 02-07-2010 04:03 PM

Quote:

Originally Posted by speedracer68 (Post 1976744)
Can I get this to rotate banners on the right side of my forum in a random order?

See http://www.pro-touring.com/forum/ for my old site example

Yes. You would have to add for at least each item a record, and in your template a finite number of placeholders, e.g. for 3 random banners of the same kind:

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

If you like to show groups of banners in a certain order, you may do this:

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

<!-- position 1 banners -->
<!--vbbanners:1@--><br />
<!--vbbanners:1@--><br />
<!--vbbanners:1@--><br />

and so on, with up to 10 different groups.

speedracer68 02-07-2010 04:12 PM

Hmm, might be over my head. At times I might have 80 or more banners rotating on the right.

y2ksw 02-07-2010 04:38 PM

1 Attachment(s)
Quote:

Originally Posted by dimthan (Post 1976589)
even if i use the full path i dont have any result with the flash . i can see only the transparent gif and if i click on it , goes to the advertised domain . but finally i cant see the flash banner

I have noticed there are some differences between browsers. This is why I am actually at developing a flash wrapper which will solve this problem for all.

I attach it here and you may try it at your own. Until it will get publically released, the flash banner insertion will work only by filling the code by hand to fit your needs. I suggest to use only full paths.

Since it is a work in progress, I can't guarantee it will work on all systems and browsers.

Sample:
Code:

<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="your_banner_width" height="your_banner_height">
 <param name="movie" value="http://www.your_domain.tld/rbs_wrapper.swf"/>
 <param name="FlashVars" value="banner=http://www.domain.tld/your_flash_file.swf&jlink=http://www.domain.tld/your_destination_link&bwidth=your_banner_width&bheight=your_banner_height"/>
 <embed src="http://www.your_domain.tld/rbs_wrapper.swf" FlashVars="banner=http://www.domain.tld/your_flash_file.swf&jlink=http://www.domain.tld/your_destination_link&bwidth=your_banner_width&bheight=your_banner_height" loop="false" pluginspage="http://www.macromedia.com/go/get/flashplayer" type="application/x-shockwave-flash" width="your_banner_width" height="your_banner_height"></embed>
</object>


y2ksw 02-07-2010 05:07 PM

Quote:

Originally Posted by speedracer68 (Post 1976751)
Hmm, might be over my head. At times I might have 80 or more banners rotating on the right.

That's quite a number ... :)

dimthan 02-07-2010 06:16 PM

Quote:

Originally Posted by y2ksw (Post 1976776)
I have noticed there are some differences between browsers. This is why I am actually at developing a flash wrapper which will solve this problem for all.

I attach it here and you may try it at your own. Until it will get publically released, the flash banner insertion will work only by filling the code by hand to fit your needs. I suggest to use only full paths.

Since it is a work in progress, I can't guarantee it will work on all systems and browsers.

Sample:
Code:

<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="your_banner_width" height="your_banner_height">
 <param name="movie" value="http://www.your_domain.tld/rbs_wrapper.swf"/>
 <param name="FlashVars" value="banner=http://www.domain.tld/your_flash_file.swf&jlink=http://www.domain.tld/your_destination_link&bwidth=your_banner_width&bheight=your_banner_height"/>
 <embed src="http://www.your_domain.tld/rbs_wrapper.swf" FlashVars="banner=http://www.domain.tld/your_flash_file.swf&jlink=http://www.domain.tld/your_destination_link&bwidth=your_banner_width&bheight=your_banner_height" loop="false" pluginspage="http://www.macromedia.com/go/get/flashplayer" type="application/x-shockwave-flash" width="your_banner_width" height="your_banner_height"></embed>
</object>




Great support !!!!!!
this worked without using ur file rbs_wrapper.swf , only with entering the code !
thx men !

y2ksw 02-07-2010 11:47 PM

Quote:

Originally Posted by dimthan (Post 1976828)
Great support !!!!!!
this worked without using ur file rbs_wrapper.swf , only with entering the code !
thx men !

You're welcome :)

Also you may now try the integrated flash banner support (still beta) of version 2.2.4.


All times are GMT. The time now is 10:22 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.02950 seconds
  • Memory Usage 1,756KB
  • 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
  • (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