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 06-29-2009 05:48 PM

Quote:

Originally Posted by jskoh (Post 1838856)
hi.. does this mod work well with flash? i install this plugin. however, i input the script and the url, the flash didnt have the url link to it.

If you insert the flash in the image field, it works half and half. The Flash needs to have the right link inside, else it won't work.

If you prefer to use the code, you also will need to cover the flash with a transparent gif, as shown here. Then you may use a different link, but still you will have to code each Flash banner manually.
HTML Code:

<div>
    <div style="z-index: -1; position: absolute; height: 468px; width: 60px;">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="468" height="60">
            <param name="movie" value="images/banners/yourflash.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="transparent" />
            <embed src="images/banners/yourflash.swf" quality="high" wmode="transparent" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60" ></embed>
        </object>
    </div>
    <div style="z-index: 10; position: absolute; width: 468px; height: 60px;">
        <a href="http://www.domain.tld/yourlink" target="_blank"><img alt="" border="0" height="60" src="img/transparent.gif" width="468" /></a>
    </div>
</div>


MaR? 06-30-2009 09:18 PM

Quote:

Originally Posted by y2ksw (Post 1816146)
New release: Now we have up to 10 locations, although it may be possible to extend the feature to an almost unlimited number. However, for performance reasons and also for easier maintenance and user feedback, it is currently limited. During the upgrade process, also an expired test banner (Shopping Ad) will be disabled, since it may produce blank entries.

The screenshots are not updated yet, since the upgrade is only necessary for handling more than 2 locations.


GREAAAAAAAAAAAAAAAAT!

y2ksw 07-01-2009 04:29 PM

Quote:

Originally Posted by MaR? (Post 1840395)
GREAAAAAAAAAAAAAAAAT!

Phew, I'm glad you appreciate :D

pauldack 07-02-2009 11:48 AM

Love this mod, now have it running on all of my sites.

Once modification I'd really love to see is to change the option 'Define here the target window' to be configurable per banner. Some banners I want to open a new tab\window and some banners I want to point to locartion on same site.

Any chance of this in a future release please?

jskoh 07-02-2009 12:04 PM

i find that the "reset" doesnt really work well.. when i hit on the reset button. it doesnt reset the ads.

and del button, when i hit the del button, like deleted ID 1, and ID 1 will nv appear again.

y2ksw 07-02-2009 12:20 PM

Quote:

Originally Posted by pauldack (Post 1841366)
Love this mod, now have it running on all of my sites.

Once modification I'd really love to see is to change the option 'Define here the target window' to be configurable per banner. Some banners I want to open a new tab\window and some banners I want to point to locartion on same site.

Any chance of this in a future release please?

I believe this cannot be done anyway. Neither vBulletin nor the banner system are aware on which browser window they are shown - you may show vbulletin forums on a popup window if you like.

But if you have a way to decide which browser windows are what, you just insert the placeholder in the appropriate template and the banner should look up (if the whole thing is also connected to vbulletin).

y2ksw 07-02-2009 12:30 PM

Quote:

Originally Posted by jskoh (Post 1841375)
i find that the "reset" doesnt really work well.. when i hit on the reset button. it doesnt reset the ads.

and del button, when i hit the del button, like deleted ID 1, and ID 1 will nv appear again.

The reset button works only for changes you have made before saving. It is not a history button to retrieve changes once you have saved. If you need such a thing, it possible to restore the rbs_banners table from a recent backup.

When you delete an ad, the same ID is never used again for a precise reason: the ID field is a counter field and increments (adds 1) to each new entry, no matter how many have existed before. If I would reuse ID's, a link to an old banner may still work and falsify the statistics.

And by the way, I would really appreciate if you would keep banners 1 and 2 in place, since they are proven to run and provide me a minimal income (like about 10 $cents daily fom all installations) in order to maintain this plugin.

imk 07-06-2009 01:01 PM

GRRRRRRRR i can't get it to work

ive uploaded and installed the plugin

added a banner and put the code within a template in my header and still nothing :(


heres my forum

http://manlystuff.com/forum/index.php

i donno why its not working man.....i have the 2.1 version

am i using the correct code?

imk 07-06-2009 01:02 PM

<!--@vbbanners:%d@-->
ALSO i see nothing under the options setting?

y2ksw 07-06-2009 04:20 PM

If you have the placeholder code in the home page and the product is enabled, there should no placeholder to be found, and in fact there isn't any. This means it does work, but your rules do not fit the condition to show up in home.

Can you please enable one of the standard (first two) banners and check them out before setting up rules, please :) Those two are guaranteed to run, and if they aren't, something else isn't working as supposed to. Once you get them run, you may try your own ;)


All times are GMT. The time now is 06:47 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.01997 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
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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