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)

attroll 07-10-2011 08:17 PM

Quote:

Originally Posted by Londonladadz (Post 2219059)
I've figured out the first issue.


I have a quick question and this this might be nooby, but how would I centre the banner located in ad_navbar_below?

Many Thanks!

Us the following code:
PHP Code:

<div align="center"><!--@vbbanners:0@--></div


MySaltyreef 07-10-2011 09:28 PM

Quote:

Originally Posted by Videx (Post 2218665)
Play around with AdminCP>Advertising>Add new Ad. And be sure to read this entire thread (which you're always supposed to do before installing any mod).


understood but can you kick a noob in the right direction? there's almost 1400 posts here :)

MySaltyreef 07-10-2011 10:06 PM

Quote:

Originally Posted by y2ksw (Post 2200808)
You will also need to make changes to your templates and add a few banners of your choice, as indicated in the included help files and the additional Flash movie linked in the very first post ;)

o man i feel like chop, there is a movie:eek: and the center helps alot thanks !!

MySaltyreef 07-10-2011 10:21 PM

its amazing its so easy now, thanks awesome hack !!

MySaltyreef 07-10-2011 10:37 PM

if i want 2 banners one under the other in the ad_navbar_below can i just add another position under the current as an example

i have put

<!--@vbbanners:9@-->

can i use it like this

<!--@vbbanners:9@-->
<!--@vbbanners:8@-->

mdreamer 07-11-2011 05:58 AM

Quote:

Originally Posted by attroll (Post 2218996)
Here is a followup to my post #1375.
I have included two screen shoots showing how the flash banner lies on top of the drop down menu.

I would really appreciate some help.

open the XML file and add to the EMBED tag:

wmode="transparent"

BadgerDog 07-11-2011 10:03 AM

1 Attachment(s)
Quote:

Originally Posted by mdreamer (Post 2219201)
open the XML file and add to the EMBED tag:

wmode="transparent"

I thought this might fix a similar problem I'm having, only with Safari and in vbCMS articles, but unfortunately it didn't.

See attached pic showing where footer placement with this mod overwrites top of vbCMS article ...

Thanks any way .... :)

Any other suggestions? Perhaps there's something that needs to be changed in the HTML code for in the template as to how and when it places the banner?

Regards,
Doug

attroll 07-11-2011 02:08 PM

Quote:

Originally Posted by mdreamer (Post 2219201)
open the XML file and add to the EMBED tag:

wmode="transparent"

I am sure you meant the installation XML file. The product is already install.
Wouldn't that mean that I need to edit one of the plugins? If so, which one.
I have tried putting this code in with no luck.
Where would I put the "wmode="transparent".

attroll 07-11-2011 04:58 PM

I found out where to place the code so that the flash banners will not be placed over the top of dropdown menus.

Go to you plugins and find the plugin "".

Find this code:
PHP Code:

$embed '<embed src="' $bburl '/rbs_wrapper.swf" FlashVars="banner=' $image '&jlink=' $url iif($rs['width'], '&bwidth=' $rs['width']) . iif($rs['height'], '&bheight=' $rs['height']) . '" loop="false" pluginspage="http://www.macromedia.com/go/get/flashplayer" type="application/x-shockwave-flash" ' iif($rs['width'], ' width="' $rs['width'] . '"') . iif($rs['height'], ' height="' $rs['height'] . '"') . '></embed>'

Insert this code:
PHP Code:

wmode="transparent" 

It should not look like this:
PHP Code:

$embed '<embed src="' $bburl '/rbs_wrapper.swf" wmode="transparent" FlashVars="banner=' $image '&jlink=' $url iif($rs['width'], '&bwidth=' $rs['width']) . iif($rs['height'], '&bheight=' $rs['height']) . '" loop="false" pluginspage="http://www.macromedia.com/go/get/flashplayer" type="application/x-shockwave-flash" ' iif($rs['width'], ' width="' $rs['width'] . '"') . iif($rs['height'], ' height="' $rs['height'] . '"') . '></embed>'


Londonladadz 07-13-2011 07:14 AM

Right I've got it centred, thanks for the reply.

When I disable the google ad, that comes with the plugin. The ad disappears even though I have one installed. So, to confirm:

URL: URL to linked website that is being advertised
Image/Flash: Image URL

So as an example
URL: http://www.google.com
Image/Flash: http://www.example.com/image.png
Tick click tracking
I leave the flash banner options as I'm not using flash, just an image
Max Clicks: 300

Thats correct right? As I dont seem to see an ad when I disable the google ones. Im expecting for a proper face palm moment but as long as it gets sorted ill happily take the palm!


All times are GMT. The time now is 04:51 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.02591 seconds
  • Memory Usage 1,763KB
  • 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
  • (4)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
  • (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