Log in

View Full Version : Miscellaneous Hacks - Rotating Banner System


Pages : 1 2 [3] 4 5 6 7 8 9 10 11 12

djbaxter
01-27-2010, 01:02 AM
Nope.

I installed your new version using overwrite. No banners.

I completely ininstalled the add-on. Then re-installed it. Still no banners.

When I installed the newest version, two ACP menu itmes weren't phrases (see attachment).

I guess I neede to try to find another solution. Pity. This one worked well in 3.84.

You didn't upgrade the files ;)

The XML for the menues is twice as large now, due to about 12 new entries. Probably also the other files are not upgraded.

Please check you are actually replacing the files on your server. Some FTP require to first delete and then upload the files in order to upgrade.

My apologies. It wasn't your add-on; it was just me.

I can finally (and happily) confirm that it is indeed working in 4.01. I just needed to go back and read the instructions a little more carefully. :o

djbaxter
01-27-2010, 01:03 AM
By the way, you should probably post this in the vB4 mods forum too.

y2ksw
01-27-2010, 04:02 PM
My apologies. It wasn't your add-on; it was just me.

I can finally (and happily) confirm that it is indeed working in 4.01. I just needed to go back and read the instructions a little more carefully. :o
No problem - things that happen. Your complaint forced me to try it on 4.0.1, and by the way I also added the pending suggestions.

By the way, you should probably post this in the vB4 mods forum too.
Yes, I was wondering if it was possible to move the whole discussion to 4.x and leave a redirect here, since nothing has changed but vbulletin ... :)

djbaxter
01-27-2010, 04:25 PM
No problem - things that happen. Your complaint forced me to try it on 4.0.1, and by the way I also added the pending suggestions.


Yes, I was wondering if it was possible to move the whole discussion to 4.x and leave a redirect here, since nothing has changed but vbulletin ... :)

I'm not sure exactly how things work here, but if it were me I'd start a new thread in the vBulletin 4 Add-ons forum with the initial post containing the latest version for download and most of the instructions in the OP here - also add a reference back to the 3.x version for the benefit of members. Otherwise, people looking for 4.x mods may never know that this exists.

Once you've done that, identify the specific threads here referencing 4.x and PM a moderator or admin to ask to have them moved or copied to that new 4.x thread.

Videx
01-27-2010, 05:18 PM
Agreed, with 34 pages of discussion here you definitely want to start fresh for vb4. The problems will be different, and with the built-in advertising in vb4, the instructions will be different.

y2ksw
01-27-2010, 09:49 PM
I'm not sure exactly how things work here, but if it were me I'd start a new thread in the vBulletin 4 Add-ons forum with the initial post containing the latest version for download and most of the instructions in the OP here - also add a reference back to the 3.x version for the benefit of members. Otherwise, people looking for 4.x mods may never know that this exists.

Once you've done that, identify the specific threads here referencing 4.x and PM a moderator or admin to ask to have them moved or copied to that new 4.x thread.

Agreed, with 34 pages of discussion here you definitely want to start fresh for vb4. The problems will be different, and with the built-in advertising in vb4, the instructions will be different.
Oh well I've asked to move it all, and here we are. One big book with all the replies, but's and if's ... and it makes a better impression in the list ... sooo many replies and visits ... :)

Kat00
01-28-2010, 08:05 AM
This is exactly what I'm looking for.

Ive had a bit of success with crude HTML in various place, I'll have a go at this for sure. Thanks.

zlMark
01-28-2010, 01:21 PM
By the way, you should probably post this in the vB4 mods forum too.
I was searching the 4.0 forum yesterday for a rotating banner system, i'm very pleased to see this today! Thanks! :up:

y2ksw
01-28-2010, 03:10 PM
This is exactly what I'm looking for.

Ive had a bit of success with crude HTML in various place, I'll have a go at this for sure. Thanks.

I was searching the 4.0 forum yesterday for a rotating banner system, i'm very pleased to see this today! Thanks! :up:
You are welcome :)

hohleweg
01-28-2010, 03:25 PM
Hi
Can i see it on a live VB4.0 Forum?
Greetings Jo

djbaxter
01-28-2010, 05:32 PM
It's live on mine. See first link in sig.

y2ksw
01-28-2010, 07:21 PM
Hi
Can i see it on a live VB4.0 Forum?
Greetings Jo
Sure, here (banner just below the navbar): http://www.vbulletin.it/forums/forum.php

armthehomeless1
01-29-2010, 09:02 AM
Got it working fine in 4.0.1 which is great! :)

I'm having a problem with 'header position 2' in the vB advertising configuration. The banner appears, but it's not hard up on the right side of the forum header.

Header position 1 is fine. It's hard left, but I don't want one there.

Anyone else had this and come up with a work around?

armthehomeless1
01-29-2010, 09:23 AM
Attached is what I mean...

Scitz0
01-30-2010, 08:42 AM
Hi,

I need some help placing the placeholders. I want to place two vertical banners to the right of the forum. How can I accomplish this, what template do I need to edit?

Running 3.8.4 p2.

y2ksw
01-30-2010, 11:32 AM
Sorry guys, but I'm not good enough to give advice with HTML issues and in particular with vbulletin 4.x, which is yet in development.

djbaxter
01-30-2010, 11:46 AM
Got it working fine in 4.0.1 which is great! :)

I'm having a problem with 'header position 2' in the vB advertising configuration. The banner appears, but it's not hard up on the right side of the forum header.

Header position 1 is fine. It's hard left, but I don't want one there.

Anyone else had this and come up with a work around?

This is a known bug in 4.01. The header banners are not working as they should.

This may be fixed in 4.02... or 4.03... or 4.04... inquire at vBulletin.com.

djbaxter
01-30-2010, 11:47 AM
in particular with vbulletin 4.x, which is yet in development.

Yes. It was supposed to be a Gold release but it's not even close to that... maybe RC3 even after the 4.01 release. And it's clear there will still be a lot of bugs remaining even after 4,02.

Videx
01-30-2010, 12:52 PM
Well, of course vb4 will be "in development" until vb5 is released. But the important thing to remember is that any work you do in vb3 is basically wasted now, because it is no longer in development.

Most people that have taken the time have found vb4 to be quite nice. Yes, there are bugs, but they're being addressed in a timely fashion.

djbaxter
01-30-2010, 01:11 PM
Well, of course vb4 will be "in development" until vb5 is released. But the important thing to remember is that any work you do in vb3 is basically wasted now, because it is no longer in development.

Most people that have taken the time have found vb4 to be quite nice. Yes, there are bugs, but they're being addressed in a timely fashion.

I'm not slagging vB4 - it will eventually be a decent product. I'm merely stating the obvious: The developers boxed themselves into a corner with the time-limited price incentives for upgrading to the suite. Given that customers had only a limited time ro respond to the offer before it disappeared combined with the fact that those customers were essentially buying the promise of a product rather than one they could actually "touch and feel", vBulletin needed to release something before the end of 2009. The problem is that they really weren't ready to release it and to call 4.0 or even 4.01 a "Gold" release is an insult.

One consequence is that we are now in the position of creating our own work-arounds for bugs in 4.00 or 4.01 that may disappear or morph into an entirely different bug by 4.02 or 4.03.

Idawg
01-31-2010, 04:52 AM
Okay, I might sound like a nub here, but I have used this mod in the past (3.7 board). I am having issues getting a banner to appear ANYWHERE..

I currently have this code in my Navbar, at the bottom: <center>@vbbanners@</center>

And that is all that appears below my navbar (centered)..

And I take it that is what you use for position 0???

If I want to use position 2, is this what I do - @vbbanners:2@??

Is there a master 'Enable' button somewhere that I missed??

Or maybe it is late and I am cold LOL

Thanks !!

djbaxter
01-31-2010, 05:07 AM
Okay, I might sound like a nub here, but I have used this mod in the past (3.7 board). I am having issues getting a banner to appear ANYWHERE..

I currently have this code in my Navbar, at the bottom: <center>@vbbanners@</center>

And that is all that appears below my navbar (centered)..

And I take it that is what you use for position 0???

If I want to use position 2, is this what I do - @vbbanners:2@??

Is there a master 'Enable' button somewhere that I missed??

Or maybe it is late and I am cold LOL

Thanks !!

That's about where I got confused, too. :o

You need to place the code into the templates as follows:

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

<!--@vbbanners:1@-->

<!--@vbbanners:2@-->

... etc.

Include the <! -- and --> tags.

Idawg
01-31-2010, 05:40 AM
When I include the <!-- and -->, the code completely disappears.. Nothing happens

<center><!--@vbbanners:2@--></center> is the code I am using

Idawg
01-31-2010, 05:48 AM
BTW, I set position of banner to 2, so I used @vbbanners:2@, enabled, I set the destination, copied my html code for the banner into the text box, placed the image url in there ect ect... And I placed the code at the very bottom of the Navbar template, right after the </vb:if>

Can I use Ad Location templates instead??

djbaxter
01-31-2010, 05:58 AM
BTW, I set position of banner to 2, so I used @vbbanners:2@, enabled, I set the destination, copied my html code for the banner into the text box, placed the image url in there ect ect... And I placed the code at the very bottom of the Navbar template, right after the </vb:if>

Can I use Ad Location templates instead??

Yes you can and they work better. With some templates, it's easy to misplace the ad and mess up the page opr lose the ad.

djbaxter
01-31-2010, 05:59 AM
Yiu can also use the new Advertising feature in the ACP for 4.x... avoid the ones for the header because they're buggy but the others work fine.

At the moment, I'm using all three methods

y2ksw
01-31-2010, 09:07 AM
Okay, I might sound like a nub here, but I have used this mod in the past (3.7 board). I am having issues getting a banner to appear ANYWHERE..

I currently have this code in my Navbar, at the bottom: <center>@vbbanners@</center>

And that is all that appears below my navbar (centered)..

And I take it that is what you use for position 0???

If I want to use position 2, is this what I do - @vbbanners:2@??

Is there a master 'Enable' button somewhere that I missed??

Or maybe it is late and I am cold LOL

Thanks !!
http://www.pagerobot.com/pub/rbs/rbs_01.htm

Please see this tutorial which shows how to implement your first banner with version 2.2.2 of this product. It also shows exactly where and how to setup an alternative placeholder, and gives a demonstration of erratic and fixed insertion of placeholders.

Idawg
01-31-2010, 04:36 PM
Tytyty !!!

Idawg
01-31-2010, 05:53 PM
I can get the adsense working now, but images, no.. Is there a bug somewhere in 4.0.1 that messes with this?? I am working on a business forum with heavy advertisments in it. I am still not impressed with 4 as I am with 3.8.4..

Does this mod work better in 3.8.x??

y2ksw
01-31-2010, 09:47 PM
I can get the adsense working now, but images, no.. Is there a bug somewhere in 4.0.1 that messes with this?? I am working on a business forum with heavy advertisments in it. I am still not impressed with 4 as I am with 3.8.4..

Does this mod work better in 3.8.x??
It works the same way as with any version from 3.6.5 onwards. Should I make a tutorial for image banners too? :)

Videx
01-31-2010, 10:57 PM
I can get the adsense working now, but images, no.. Is there a bug somewhere in 4.0.1 that messes with this?? I am working on a business forum with heavy advertisments in it.Images should be a lot easier than Google. Double check the paths to the images. I am unaware of a vb4 bug that would affect images you call with this mod.

y2ksw
02-01-2010, 06:52 AM
The tutorial How-to create my first banner (http://www.pagerobot.com/pub/rbs/rbs_01.htm) does also show how to insert image banners. Just make sure, the images are accessible and that the typically unused fields are unused ;)

A typical image banner takes just a name, the image URL and the destination URL.

y2ksw
02-03-2010, 07:26 AM
A minor bug fix has been released (2.2.3). It repairs a case where unused placeholders remain visible, moves the function insertion to the hook global_start and changes the product URL to this discussion. No file has changed, but the product-rbs.xml.

AnabolicResourc
02-05-2010, 06:03 PM
Great mod !

Is there any chance we can add .swf files also ?

y2ksw
02-05-2010, 07:51 PM
Great mod !

Is there any chance we can add .swf files also ?
This depends on the swf files :)

Please see: https://vborg.vbsupport.ru/showthread.php?p=1839744#post1839744

One of the next releases will come with a Flash Wrapper which is currently being developed and tested.

Derekclarke
02-05-2010, 09:18 PM
well I am trying to Install this on VB 4.1 and i have done everything exactly as shown in the video and I have no banners showing.

I am totally Baffled.

dimthan
02-06-2010, 08:24 AM
nice add!!!

dimthan
02-06-2010, 08:54 AM
hi i m trying to add a flash banner (swf) but without result . i alreadt the post about it .

i put in the code the following .
<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="forum/images/banners/468x60.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="forum/images/banners/468x60.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="forum/images/banners/transparent.gif" width="468" /></a>

</div>
</div>

and to the url field the following

http://www.fun.com/forum/images/banners/transparent.gif

but nothing appears , only the transparent images

y2ksw
02-06-2010, 08:22 PM
well I am trying to Install this on VB 4.1 and i have done everything exactly as shown in the video and I have no banners showing.

I am totally Baffled.
Have you tried it with the default 4.x style?

y2ksw
02-06-2010, 08:27 PM
hi i m trying to add a flash banner (swf) but without result . i alreadt the post about it .

i put in the code the following .
<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="forum/images/banners/468x60.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="forum/images/banners/468x60.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="forum/images/banners/transparent.gif" width="468" /></a>

</div>
</div>

and to the url field the following

http://www.fun.com/forum/images/banners/transparent.gif

but nothing appears , only the transparent images
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.

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
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
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
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
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:

<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
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
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:

<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
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.

AnabolicResourc
02-08-2010, 07:12 PM
Couldn't get it to work with the code and when i came back to double check i saw you 2.2.4 update.
Just put the .swf file in and it's working right away !

Thanks mate !

LCN2007
02-10-2010, 10:59 AM
Is it possible to add the ability to add more ads than we can out of the box?

y2ksw
02-10-2010, 04:15 PM
Is it possible to add the ability to add more ads than we can out of the box?
You mean to add more positions?

Every single one of the 10 positions may hold an unlimited number of banners. Every banner may be assigned to show to one or more forum sections and/or to specific usergroups.

These features give you a myriad of divisions which make appear banners right where you wish. If you assign to each position a few banners at most, you are not using this product to its full extent. On most boards, 1 or 2 postitions suffice to show all your banners classified to certain areas, and the offer of 10 positions really overdo.

LCN2007
02-11-2010, 02:48 AM
OK cool i was misunderstanding how it all came together.

Thank you sir ill give it a whirl.

robotnjik
02-15-2010, 02:31 PM
Does anyone else experienced problem with VbSEO 3.5?

I installed today vbseo and everything is fine, but after that, all banners are missing.

When I turn off vbseo, banners are back.

This is only plugin I have problem with.

djbaxter
02-15-2010, 02:50 PM
Does anyone else experienced problem with VbSEO 3.5?

I installed today vbseo and everything is fine, but after that, all banners are missing.

When I turn off vbseo, banners are back.

This is only plugin I have problem with.

I'm using this add-on with vBSEO 3.5 RC2 on vBulletin 4.01 and I'm not having that problem.

1. It may be that you have another mod that's interacting with this one and vBSEO.

2, There may be something in the vBSEO settings that is a problem in your case.

robotnjik
02-15-2010, 03:12 PM
I'm using this add-on with vBSEO 3.5 RC2 on vBulletin 4.01 and I'm not having that problem.

1. It may be that you have another mod that's interacting with this one and vBSEO.

2, There may be something in the vBSEO settings that is a problem in your case.

Solved!

it is in Cleanup HTML Code? under Other Enhancements setting in vbseo! It was on "yes" and when I put on "no", everything is fine. Thanks!

djbaxter
02-15-2010, 04:21 PM
Solved!

it is in Cleanup HTML Code? under Other Enhancements setting in vbseo! It was on "yes" and when I put on "no", everything is fine. Thanks!

There you go. I've never used that feature.

y2ksw
02-16-2010, 09:39 AM
Solved!

it is in Cleanup HTML Code? under Other Enhancements setting in vbseo! It was on "yes" and when I put on "no", everything is fine. Thanks!
Thanks. This problem seems to be present quite often. :up:

To work around, it is necessary to change the placeholder from the HTML comment to something else, such as @vbbanners:%d@. In this case, vbSEO will keep the banners, too :)

HappyFeet
02-16-2010, 05:03 PM
Thank you for the flash addition! Works perfect, thanks again. Very nice...:up:

hohleweg
02-16-2010, 05:58 PM
hi
i have e new style
what must i do to see the rbs in the new style
in my standard style i see the rbs
thanks
jo

y2ksw
02-16-2010, 06:48 PM
hi
i have e new style
what must i do to see the rbs in the new style
in my standard style i see the rbs
thanks
jo
You will have to change the same templates you have changed in the other style(s). If you search for vbbanners in your styles, you'll find out quickly which they are :)

meissenation
02-17-2010, 01:10 PM
Throws an error code in VB 4.0.2:
Fatal error: Call to undefined function rbs_url_sanity() in \includes\functions.php(6783) : eval()'d code on line 108

Line 6783 is the call to the global_complete template hook.

Golzarion
02-17-2010, 01:30 PM
Nice ! I will test it .

djbaxter
02-17-2010, 03:17 PM
This needs to be updated for vBulletin 4.02. While it will still work in the forum, it breaks the CMS.

See http://www.vbulletin.com/forum/showthread.php?342017-Blank-page-for-CMS-after-4.01-to-4.02-upgrade

djbaxter
02-17-2010, 03:19 PM
Throws an error code in VB 4.0.2:
Fatal error: Call to undefined function rbs_url_sanity() in \includes\functions.php(6783) : eval()'d code on line 108

Line 6783 is the call to the global_complete template hook.

Yes. See my post above. In my case, I didn't see the error message initially because it was being suppressed by vBSEO - it appeared when I disabled vBSEO temporarily in my search for the blank CMS problem.

hohleweg
02-17-2010, 06:52 PM
Hi
Thanks
Now i found it!
Jo

Skyrider
02-17-2010, 07:06 PM
I just installed it :s
$f = intval($vbulletin->GPC['forumid']); $ids = array(); $qids = array(); $SQL = "SELECT * FROM " . TABLE_PREFIX . "rbs_banners WHERE enabled=1 AND startdate<=" . TIMENOW . " AND enddate>=" . TIMENOW . " AND IF(forumhome, $f=0, IF(forumids='', 1, FIND_IN_SET('$f', forumids))) AND IF(maximpressions>0, impressions0 AND clicksdb->query_read($SQL); while($rs = $vbulletin->db->fetch_array($rss)) { // Handle primary and secondary usergroups if($rs['usergroups']) { // Field defined $usergroups = explode(',', $rs['usergroups']); if(!is_member_of($vbulletin->userinfo, $usergroups)) { // Not member of these groups, skip continue; } } $ids["$rs[position]"][] = $rs; } $vbulletin->db->free_result($rss); // Set target to new page if not local to forum $bburl = $vbulletin->options['bburl']; if(!$rbs_target = $vbulletin->options['rbs_target']) { $rbs_target = '_blank'; } // For each banner position $rbs_n_placeholder = $vbulletin->options['rbs_n_placeholder']; $phs = array(); foreach($ids AS $key => $idx) { $ph = @sprintf($rbs_n_placeholder, $key); $len = strlen($ph); $phs[] = $ph; // Shuffle (mix) the ads randomly shuffle($idx); // Check for available replacements foreach($idx as $rs) { if(!$npos = strpos(strtolower($output), strtolower($ph))) { break; } // Replace next placeholder $html = ''; $embed = ''; $image = rbs_url_sanity($rs['image']); $name = htmlspecialchars($rs['name']); if($rs['clicktrack']) { $url = $bburl . '/rbs_banner.php?id=' . $rs['id']; } else { $url = rbs_url_sanity($rs['url']); } if($rs['flash']) { if($rs['embed']) { $embed = '

steve71
02-17-2010, 11:52 PM
I just did a fresh install then placed <!--@vbbanners:%d@--> in the navbar_below as in the video tutorial but the google test banner is not showing. I copied <!--@vbbanners:%d@--> from the box in rotating banners/options.

??????????

djbaxter
02-18-2010, 12:14 AM
I just did a fresh install then placed <!--@vbbanners:%d@--> in the navbar_below as in the video tutorial but the google test banner is not showing. I copied <!--@vbbanners:%d@--> from the box in rotating banners/options.

??????????

What version of vBulletin?

steve71
02-18-2010, 12:29 AM
4.0.2

Which rbs version should I have...currently running 2.21

Are there any template edits necessary for a fresh install? (I had this working fine in 3.8 but reverted all templates)

Videx
02-18-2010, 12:33 AM
but the google test banner is not showing. FWIW I have never seen the google banners, and I'm not completely sure why. I remember an old banner mod (I think?) specifically excluded Admins because of the google TOS. Anyway, I can see them if I use my regular member login.

steve71
02-18-2010, 12:40 AM
FWIW I have never seen the google banners, and I'm not completely sure why. I remember an old banner mod (I think?) specifically excluded Admins because of the google TOS. Anyway, I can see them if I use my regular member login.


I have tried with some custom banners as well with no success. I think (if I have the right version) it has something to do with <!--@vbbanners:%d@--> because I recall having this issue before.


4.0.2

Which rbs version should I have...currently running 2.21

Are there any template edits necessary for a fresh install? (I had this working fine in 3.8 but reverted all templates)

djbaxter
02-18-2010, 12:41 AM
This needs to be updated for vBulletin 4.02. While it will still work in the forum, it breaks the CMS.

See http://www.vbulletin.com/forum/showthread.php?342017-Blank-page-for-CMS-after-4.01-to-4.02-upgrade

Throws an error code in VB 4.0.2:
Fatal error: Call to undefined function rbs_url_sanity() in \includes\functions.php(6783) : eval()'d code on line 108

Line 6783 is the call to the global_complete template hook.

Yes. See my post above. In my case, I didn't see the error message initially because it was being suppressed by vBSEO - it appeared when I disabled vBSEO temporarily in my search for the blank CMS problem.

4.0.2

Which rbs version should I have...currently running 2.21

Are there any template edits necessary for a fresh install? (I had this working fine in 3.8 but reverted all templates)

Version 2.24 worked in 4.01 but this add-on currently isn't working correctly in 4.02.

jbizzle
02-18-2010, 04:40 AM
For some reason I cannot get this to show up on my forum, any help? I added "<!--@vbbanners:%0@-->" but nothing comes up..

LCN2007
02-18-2010, 04:55 AM
does this mod auto template and locations?

LCN2007
02-18-2010, 04:54 PM
I am having the hardest time installing the locations.

Im trying to install the hooks at the same locations of the vb admanager locations.

can anyone help?

HappyFeet
02-18-2010, 05:13 PM
I am having the hardest time installing the locations.

Im trying to install the hooks at the same locations of the vb admanager locations.

can anyone help?

Here is what I did... I'm using this mod thru the existing vB ad system.

I add banners to say "position 0" and then go to the vB manage ads section. For my under navbar ad, I simply put <center><!--@vbbanners:0@--></center> in the box.

Ads put in "position 2" , I want above footer. So I go to manage ads > above footer and I put this <center><!--@vbbanners:2@--></center> in the box. Etc, etc...

The ads I put in the rotating banner system work perfectly through the vB ad system. That is until 4.0.2, it crashed my CMS so I had to disable it. I'm waiting for an update to fix it so I can enable it again.

Hope this helps...


Phillip

LCN2007
02-18-2010, 06:11 PM
Here is what I did... I'm using this mod thru the existing vB ad system.

I add banners to say "position 0" and then go to the vB manage ads section. For my under navbar ad, I simply put <center><!--@vbbanners:0@--></center> in the box.

Ads put in "position 2" , I want above footer. So I go to manage ads > above footer and I put this <center><!--@vbbanners:2@--></center> in the box. Etc, etc...

The ads I put in the rotating banner system work perfectly through the vB ad system. That is until 4.0.2, it crashed my CMS so I had to disable it. I'm waiting for an update to fix it so I can enable it again.

Hope this helps...


Phillip

this is exactly what i needed thank you.

You say that it doesn't work on 4.0.2?

ill test asap and see how it goes thank you again

djbaxter
02-18-2010, 07:37 PM
You say that it doesn't work on 4.0.2?

Sad but true. It generates error messages and effectively nulls the CMS.

y2ksw
02-18-2010, 09:01 PM
I just did a fresh install then placed <!--@vbbanners:%d@--> in the navbar_below as in the video tutorial but the google test banner is not showing. I copied <!--@vbbanners:%d@--> from the box in rotating banners/options.

??????????
Copy <!--@vbbanners:0@--> and it will work.

y2ksw
02-18-2010, 09:03 PM
For some reason I cannot get this to show up on my forum, any help? I added "<!--@vbbanners:%0@-->" but nothing comes up..

Remove the % :)

y2ksw
02-18-2010, 09:05 PM
does this mod auto template and locations?

Nope. It replaces a specially formatted string just before output.

y2ksw
02-18-2010, 09:12 PM
Version 2.24 worked in 4.01 but this add-on currently isn't working correctly in 4.02.
You may try to move the "Rotating Banner System" -> "Functions" plugin from the hook "global_start" to "global_complete".

HappyFeet
02-18-2010, 10:15 PM
You may try to move the "Rotating Banner System" -> "Functions" plugin from the hook "global_start" to "global_complete".

SUPER!!!

Thank you very much.:up: Works perfect!!!

Your Mod is awesome, wish I could nominate it 100 more times! Donation coming soon!!!

Thanks again!

Phillip

jbizzle
02-18-2010, 10:52 PM
Okay I got it but how come it won't rotate banners?

jbizzle
02-18-2010, 11:02 PM
Never mind, thanks to everyone who helped :)

TrailRecon
02-18-2010, 11:54 PM
works perfectly! Thank you for this!

TrailRecon
02-19-2010, 12:54 AM
I was just thinking. would there be any way to add a filter to the impresions and clicks to show only the ones for a certain time frame?

something like a drop down that would show impressions and clicks for the last 24 hours, 30 days, year, all time, average per month, etc?

maybe even a graph to show progression? maybe thats a bit much :)

y2ksw
02-19-2010, 06:22 AM
SUPER!!!

Thank you very much.:up: Works perfect!!!

Your Mod is awesome, wish I could nominate it 100 more times! Donation coming soon!!!

Thanks again!

Phillip
Thank you for trying ... which leads us to a hotfix :)

y2ksw
02-19-2010, 06:26 AM
I was just thinking. would there be any way to add a filter to the impresions and clicks to show only the ones for a certain time frame?

something like a drop down that would show impressions and clicks for the last 24 hours, 30 days, year, all time, average per month, etc?

maybe even a graph to show progression? maybe thats a bit much :)
You are welcome to code it by yourself :)

iadventure
02-19-2010, 09:53 AM
can you add coding to see a banner ad?

Videx
02-19-2010, 01:06 PM
can you add coding to see a banner ad?I'm not sure I understand the question, as you can do that with the stock vb4. This mod allows you to rotate your banners so they don't always show up in the same spot.

meissenation
02-19-2010, 02:11 PM
Thanks!

dadams982
02-19-2010, 08:33 PM
Call me dumb, but I am wanting to place two banners between forums on the forum home side by side with a few spaces in between them. How would I go about doing that?

LCN2007
02-19-2010, 09:17 PM
I cant get images to show up?

The sample ads show if i turn them on but i cant get my new ones too.

Any ideas?

Videx
02-19-2010, 11:01 PM
The sample ads show if i turn them on but i cant get my new ones too.Sounds like a path problem. Assuming of course that you can see them if you browse to them.

djbaxter
02-19-2010, 11:20 PM
Call me dumb, but I am wanting to place two banners between forums on the forum home side by side with a few spaces in between them. How would I go about doing that?

At the location where you want them to appear, try something like this:

<span align="center">
<!--@vbbanners:0@-->&nbsp;&nbsp;&nbsp;<!--@vbbanners:1@-->
</span>

assuming that you have set up banner 0 and banner 1 as the correct dimensions.

I haven't tryied to do this, mind you, partly because I upgraded to 4.02 and this add-on isn't yet upgraded for 4.02, but it's worth a try.

LCN2007
02-19-2010, 11:48 PM
Sounds like a path problem. Assuming of course that you can see them if you browse to them.

I am able to see the images in a browser if I navigate to them.

we don't have to add any html correct should just be the path to the images right?

dadams982
02-20-2010, 01:11 AM
At the location where you want them to appear, try something like this:

<span align="center">
<!--@vbbanners:0@-->&nbsp;&nbsp;&nbsp;<!--@vbbanners:1@-->
</span>

assuming that you have set up banner 0 and banner 1 as the correct dimensions.

I haven't tryied to do this, mind you, partly because I upgraded to 4.02 and this add-on isn't yet upgraded for 4.02, but it's worth a try.

Oh, good call.. I am on 4.0.2, so I will await with you.

y2ksw
02-20-2010, 04:27 AM
I am able to see the images in a browser if I navigate to them.

we don't have to add any html correct should just be the path to the images right?
Maybe you will need the full http://... to the images in order to make them run. Also make sure the images don't require web authentication, else they are not visible to guests. ;)

JonSidneyB
02-21-2010, 11:49 AM
Will this allow lets say 20 banners on the main forum page but inside of one of the boards only 5 of the banners appear in rotation.

Targeting banners to a section of the board?

y2ksw
02-21-2010, 12:12 PM
Will this allow lets say 20 banners on the main forum page but inside of one of the boards only 5 of the banners appear in rotation.

Targeting banners to a section of the board?
Yes.

You will have to create 20 banner records for the home page and additional 5 banner records for the specific section.

If you would have 20 global banner records (no filters) and additional 5 banner records for the specific section, the specific section will rotate also the globally visible banners in addition to the section banners.

JonSidneyB
02-21-2010, 03:08 PM
Reading now. I see that it will support 10 locations. So that would be The main forum plus 9 of the boards.

Can this be made to do more?

y2ksw
02-21-2010, 07:04 PM
Reading now. I see that it will support 10 locations. So that would be The main forum plus 9 of the boards.

Can this be made to do more?
It doesn't mean that :)

A location is merely a group of banner types, such as horizontal and vertical, text and graphical banners. You may apply many filters to each of these groups.

I am using this plugin on a commercial site and I actually use 3 locations only. 10 locations are really over the top.

You may have, for example, location 0 banners in the logo, between messages and at the bottom of all of your pages, but you may show only part of all banners in specific forum sections and/or to specific usergroups.

If you think about 10 locations, on a large board you have literally milions of different possibilities to show a single banner.

iadventure
02-22-2010, 12:16 AM
I can get position 0 to show great, but when I try 1 or 2 etc. it doesn't show...

y2ksw
02-22-2010, 08:32 AM
I can get position 0 to show great, but when I try 1 or 2 etc. it doesn't show...
You will also need to add somewhere the <!--@vbbanners:1@--> and <!--@vbbanners:2@--> placeholders in your templates :)

FlyB
02-22-2010, 04:22 PM
Hi,

I'm a noob to all this i've been trying to make your hack work for days now and i finally succed. i'd like to thank you, this feature is super and i'm very exited about it

y2ksw
02-22-2010, 05:19 PM
Hi,

I'm a noob to all this i've been trying to make your hack work for days now and i finally succed. i'd like to thank you, this feature is super and i'm very exited about it
You are welcome :)

kiawah75
02-22-2010, 05:50 PM
This is a great mod thanks for your work on it. I have successfully put the ads on three different places on the page ie. header, footer and under the threads.

I am having a problem having any of the banners showing up within a thread or posts, has anyone else had the same problem? I also cannot get the vertical ads to display. I have copied positions that are working.

My last problem is that this line shows up just above the Whats going on? section of the forum:
ad_forum_below_threadlist

Anybody know how to get rid of it, it maybe not be related to the mod.

I am a newbee so it is probably just me.

I am using the latest version and 4.02

y2ksw
02-22-2010, 09:59 PM
If the sections don't allow HTML, probably vBulletin cleans out HTML comments or convert < and > into &lt; and &gt;, which then results in missing banners. In this case you will have to replace the placeholders with something else (in the options, e.g. @vbbanners:%d@ and in the templates, e.g. @vbbanners:0@)

1GTurn
02-23-2010, 02:00 AM
I must be missing something.... Can I get a little help. I uploaded the parts that needed to go in the admincp, includes, and put the other two files where the "index.php" was then I installed the product. Everything went fine. By default it looked like two banners were turned on I refreshed my forum homepage but it wasn't showing anything. Do I need to do anything within "Style Manager"? Sorry if you answered this question a thousand times. I'm using 4.0.2.

Thanks.

y2ksw
02-23-2010, 06:14 AM
I must be missing something.... Can I get a little help. I uploaded the parts that needed to go in the admincp, includes, and put the other two files where the "index.php" was then I installed the product. Everything went fine. By default it looked like two banners were turned on I refreshed my forum homepage but it wasn't showing anything. Do I need to do anything within "Style Manager"? Sorry if you answered this question a thousand times. I'm using 4.0.2.

Thanks.
In order to show the default banners just below the navbar, please insert into the ad_navbar_below template the following code:

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

audis3
02-24-2010, 01:10 PM
Hallo!

May i ask you something?

Can this work to make the forum background change?

Videx
02-24-2010, 02:14 PM
Can this work to make the forum background change?No. Why would you think to use a rotating banner mod to change the forum background?

y2ksw
02-24-2010, 05:45 PM
Hallo!

May i ask you something?

Can this work to make the forum background change?

No. Why would you think to use a rotating banner mod to change the forum background?
Oh well, maybe ... it can be used to rotate forum logo's.

It will not work with CSS, if they are imported as files - it may work with CSS inserted in a page, but I never tried this ...

SoulStealer
02-25-2010, 02:50 AM
without any doubt "y2ksw" you have done super awesome work , its a great product/plugin, but unfortunately i probably did something wrong that is why i've a problem :( , i'll be thankful to you if you help me with the given below problem:

i choosed 3 banners locations for my site at the moment
10 Position 0 Navbar adsense 720x90 0 9,653 0
13 Vertical Banner 728x90 1 8,677 0
16 Archive top 728x90 2 3 0

Position 0 at ad_navbar_below <center><!--@vbbanners:0@--></center>
Position 1 at ad_footer_start <center><!--@vbbanners:1@--></center>
Position 2 at ad_archive_above_content1 <!--@vbbanners:2@-->

Position 0 and 1 , header and footer banners are working fine but position 2 banner is not working also if i try to add more google adsense or any banner anywhere none of them are showing

y2ksw
02-25-2010, 06:19 AM
without any doubt "y2ksw" you have done super awesome work , its a great product/plugin, but unfortunately i probably did something wrong that is why i've a problem :( , i'll be thankful to you if you help me with the given below problem:

i choosed 3 banners locations for my site at the moment
10 Position 0 Navbar adsense 720x90 0 9,653 0
13 Vertical Banner 728x90 1 8,677 0
16 Archive top 728x90 2 3 0

Position 0 at ad_navbar_below <center><!--@vbbanners:0@--></center>
Position 1 at ad_footer_start <center><!--@vbbanners:1@--></center>
Position 2 at ad_archive_above_content1 <!--@vbbanners:2@-->

Position 0 and 1 , header and footer banners are working fine but position 2 banner is not working also if i try to add more google adsense or any banner anywhere none of them are showing
I never tried ad_archive_above_content1 ... but the banner impression count is 3, thus I believe it works (?)

y2ksw
02-25-2010, 06:23 AM
also if i try to add more google adsense or any banner anywhere none of them are showing
Please try the duplicate button and make just a few changes to the duplicates, such as a different image, different times, forum sections, whatever you wish.

The most common mistake is to select accidentally a filter which is then strictly applied, such as an impression limit, a section with a different style and no placeholder ... ;)

SoulStealer
02-25-2010, 06:56 AM
I never tried ad_archive_above_content1 ... but the banner impression count is 3, thus I believe it works (?)

nope it is not working i tried few others template too like ad_showthread_firstpost_sig and few more ad position is 2 and in template the code is <!--@vbbanners:2@-->

:(


EDIT : Please try the duplicate button and make just a few changes to the duplicates, such as a different image, different times, forum sections, whatever you wish.

The most common mistake is to select accidentally a filter which is then strictly applied, such as an impression limit, a section with a different style and no placeholder ...

ok i'll try again

SoulStealer
02-25-2010, 07:02 AM
Please try the duplicate button and make just a few changes to the duplicates, such as a different image, different times, forum sections, whatever you wish.

The most common mistake is to select accidentally a filter which is then strictly applied, such as an impression limit, a section with a different style and no placeholder ... ;)

yay! thanks duplicate button thingy works :P

sorry for double post

audis3
02-25-2010, 09:35 PM
I'm trying to find a way to make my forum background change when page changes or refresh and i don't know any mod doing that.

JonSidneyB
02-27-2010, 12:18 AM
Anyone having trouble getting the banner to appear on 4.02. Another banner set up was tried as well and could get nothing to show up.

JWL
02-27-2010, 05:40 PM
Anyone having trouble getting the banner to appear on 4.02. Another banner set up was tried as well and could get nothing to show up.

+1

Unable to make it work in 4.02 PL1

Bummer,

djbaxter
02-27-2010, 09:06 PM
I can confirm that it doesn't work correctly in 4.02.

It actually did work for me in the sense that it would display and rotate at least some of the banners but it conflicted with core 4.02 features (to be honest I forget which ones - after the upgrade to 4.02 so much had changed that i had to disable 3 or 4 add-ons and rework some others).

JWL
02-27-2010, 09:12 PM
I can confirm that it doesn't work correctly in 4.02.

It actually did work for me in the sense that it would display and rotate at least some of the banners but it conflicted with core 4.02 features (to be honest I forget which ones - after the upgrade to 4.02 so much had changed that i had to disable 3 or 4 add-ons and rework some others).

Thanks, I am sure he will fix it, just a matter of when. I like the feature list and ease of use. I like it because I can make a Bazillion dollars. No I just need it to work...... :erm:

djbaxter
02-27-2010, 09:24 PM
I would vote for the addition of the bazillion dollars feature.

JWL
02-27-2010, 10:23 PM
I would vote for the addition of the bazillion dollars feature.

:up:

I think it is coming in the form of a VB bailout :eek:

Videx
02-28-2010, 12:15 AM
I hadn't noticed before you guys got me to look, but my banner below the navbar has disappeared, but my banner above the footer is still fine. 402pl1

TruthElixirX
02-28-2010, 10:58 PM
For some reason when I use the click tracking function, it does not count clicks from banners on vBadvanced pages. Any ideas? It works everywhere else.

ecky
03-02-2010, 08:16 PM
I managed to get this mod working in v4.0.2 but cant figure out how to place two rotating 468x60 banners side by side in the ad_navbar_below template. Also have a problem adding a side column. Sorry if Ive overlooked the obvious:erm:

djbaxter
03-02-2010, 09:35 PM
I managed to get this mod working in v4.0.2 but cant figure out how to place two rotating 468x60 banners side by side in the ad_navbar_below template. Also have a problem adding a side column. Sorry if Ive overlooked the obvious:erm:

See https://vborg.vbsupport.ru/showpost.php?p=1986922&postcount=598

y2ksw
03-03-2010, 04:18 AM
I'm trying to find a way to make my forum background change when page changes or refresh and i don't know any mod doing that.
https://vborg.vbsupport.ru/showpost.php?p=1990575&postcount=616

y2ksw
03-03-2010, 04:20 AM
I managed to get this mod working in v4.0.2 but cant figure out how to place two rotating 468x60 banners side by side in the ad_navbar_below template. Also have a problem adding a side column. Sorry if Ive overlooked the obvious:erm:
Just put two placeholders side by side and make sure you have at least 2 banners in your database, e.g.:

<!--@vbbanners:0@-->&nbsp;<!--@vbbanners:0@-->

y2ksw
03-03-2010, 04:24 AM
Anyone having trouble getting the banner to appear on 4.02. Another banner set up was tried as well and could get nothing to show up.

+1

Unable to make it work in 4.02 PL1

Bummer,

I can confirm that it doesn't work correctly in 4.02.

It actually did work for me in the sense that it would display and rotate at least some of the banners but it conflicted with core 4.02 features (to be honest I forget which ones - after the upgrade to 4.02 so much had changed that i had to disable 3 or 4 add-ons and rework some others).

Thanks, I am sure he will fix it, just a matter of when. I like the feature list and ease of use. I like it because I can make a Bazillion dollars. No I just need it to work...... :erm:
Did you also install the hotfix?

ecky
03-03-2010, 06:18 AM
See https://vborg.vbsupport.ru/showpost.php?p=1986922&postcount=598

Just put two placeholders side by side and make sure you have at least 2 banners in your database, e.g.:

<!--@vbbanners:0@-->&nbsp;<!--@vbbanners:0@-->

Thanks :)

rienits
03-03-2010, 11:36 AM
Hi, the rotator works with (vBulletin 4.0.2 Patch Level 1), but only the placeholder <!--@vbbanners:0@--> work. All other placeholder ic can´t getting work. I imported the hotfix with replace addon...

Tettinntil
03-03-2010, 07:54 PM
Using this with success on 3.8.4 and working fine on normal forum pages. But when integrating PhotoPost (Gallery), the banners I have put in the left column do not show. I see <!--@vbbanners:1@--> in the source, so it definitely calls for the code (which shows correctly on other forum pages). Any idea why it does not work?

DFW Auto Club
03-04-2010, 03:48 AM
I have this installed on 3.8.2 and works perfect. I recently installed a 4.0.2 VB and installed this (including latest patch) the default google ads show but copying text from my 3.8.2 banners doesn't show up? Here's what I inserted into the text box

<a href="http://www.xxx.com" target="_blank"><img src="http://www.xyz/forums/images/banner/rbc_banner_x1.jpg" alt="Please support our sponsor: RBC Wealth Management" border="0" /></a>

DFW Auto Club
03-04-2010, 04:31 AM
I have this installed on 3.8.2 and works perfect. I recently installed a 4.0.2 VB and installed this (including latest patch) the default google ads show but copying text from my 3.8.2 banners doesn't show up? Here's what I inserted into the text box

<a href="http://www.xxx.com" target="_blank"><img src="http://www.xyz/forums/images/banner/rbc_banner_x1.jpg" alt="Please support our sponsor: RBC Wealth Management" border="0" /></a>

Nevermind fixed. Adding the new banner defaulted the start date to tomorrow so it wouldn't show. Reset start date and banner now shows up. Thx for the mod.

rienits
03-04-2010, 07:39 AM
I Tried everything but no other placeholder except <!--@vbbanners:0@--> will work at my vb4.?.2. PL 1

Hi, the rotator works with (vBulletin 4.0.2 Patch Level 1), but only the placeholder <!--@vbbanners:0@--> work. All other placeholder ic can?t getting work. I imported the hotfix with replace addon...

DFW Auto Club
03-04-2010, 03:30 PM
I'm trying to get ads to show in the space directly beneath the navbar without success. vb4's ad_navbar_below is integrating the banner into the body, I want the banner between the navbar and body. Tried editing the FORUMHOME template and get the same result. TIA.

y2ksw
03-04-2010, 05:45 PM
I Tried everything but no other placeholder except <!--@vbbanners:0@--> will work at my vb4.?.2. PL 1
If one placeholder works, all others should do so, too.

If you have <!--@vbbanners:1@--> somewhere in your templates, you still find them in your HTML page code? If not, the plugin works, but you haven't a valid banner available to show. In that case, please duplicate one of the default banners and assign position 1, in order to see where it appears.

y2ksw
03-04-2010, 05:46 PM
I'm trying to get ads to show in the space directly beneath the navbar without success. vb4's ad_navbar_below is integrating the banner into the body, I want the banner between the navbar and body. Tried editing the FORUMHOME template and get the same result. TIA.
I'm sorry, I can't help with HTML and style issues at all.

deni_z
03-04-2010, 07:11 PM
I Tried everything but no other placeholder except <!--@vbbanners:0@--> will work at my vb4.?.2. PL 1

I have the same problem with 3.8.4. Only <!--@vbbanners:0@--> works, and I've even tried to move the banners from 0 to 2, and it still doesn't show up where i've put <!--@vbbanners:2@-->.

JWL
03-04-2010, 09:30 PM
If one placeholder works, all others should do so, too.

If you have <!--@vbbanners:1@--> somewhere in your templates, you still find them in your HTML page code? If not, the plugin works, but you haven't a valid banner available to show. In that case, please duplicate one of the default banners and assign position 1, in order to see where it appears.

Well I am instaleld, and cannot see the banner n html

grahamsmythe
03-04-2010, 11:42 PM
At first glance, this mod is just what I've been looking for, but I'm struggling to get started.

I downloaded the latest version 2.2.4, then the later 2.2.5 .xml file.

I've uploaded all the relevant files, and now imported the 2.2.5 .xml file

I've checked, double checked and triple checked everything is installed as per the instructions, but still nothing appears.

Anyone got any ideas?

djbaxter
03-05-2010, 12:24 AM
If one placeholder works, all others should do so, too.

If you have <!--@vbbanners:1@--> somewhere in your templates, you still find them in your HTML page code? If not, the plugin works, but you haven't a valid banner available to show. In that case, please duplicate one of the default banners and assign position 1, in order to see where it appears.

"Should" is the operative word here. I agree it should. But I can confirm that it doesn't work in 4.02.

I just tried it again:


<!--@vbbanners:0@--> inserted after first post works

<!--@vbbanners:1@--> inserted below navbar, above footer, and below threadlist does NOT display.

djbaxter
03-05-2010, 12:49 AM
Added:

The ad codes are fine, by the way. I can manually insert exactly the same code and the ads are displayed. They just aren't displayed via this add-on.

djbaxter
03-05-2010, 04:35 AM
Added - Curiouser and Curiouser:

Since <!--@vbbanners:0@--> was working, I decided to renable the add-on to at least get rotating banners in that location.

I had hardcoded the ads in the other locatiions, leaving the non-working <!--@vbbanners:1@--> above the hardcoded ad.

After about half an hour, I noticed that a double ad was appearing in just one of the locations (below navbar) using <!--@vbbanners:1@--> but NOT in the other two locations using that tag. In other words, the hardcoded ad plus the rotating ad from <!--@vbbanners:1@--> was being displayed, but only in that one location.

This is just bizarre. I've now disabled the add-on again. If it worked reliably in 4.02 as it did earlier, it would be amazing but as it is it's jusy plain spooky.

y2ksw
03-05-2010, 06:08 AM
Ok, let's try to trace it down. :)

I have a clean installation and for me it works at any place for any placeholder, ranging from <!--@vbbanners:0@--> to <!--@vbbanners:9@-->. I do have also several production sites where it works perfectly well with any combination of rules, some of which are very complex.

Together, we have found that vbSEO may clean HTML comments, thus the standard placeholders won't work at all, and would have to be replaced by a different one.


(1)
In order to catch all possible errors, please make sure, your placeholder in the options looks like <!--@vbbanners:%d@--> or like @vbbanners:%d@ (if you have vbSEO or other software which cleans HTML). It may have any other combination of characters, as long as a %d appears inside. %d is replaced with numbers between 0 and 9 at runtime.


vbSEO or HTML cleaning software users:
vBulletin Options - Rotating Banner System Options - Nth Placeholder: @vbbanners:%d@

All other users:
vBulletin Options - Rotating Banner System Options - Nth Placeholder: <!--@vbbanners:%d@-->


(2)
Now put a:


vbSEO or HTML cleaning software users:
<div align="center">@vbbanners:0@</div>
<div align="center">@vbbanners:1@</div>

All other users:
<div align="center"><!--@vbbanners:0@--></div>
<div align="center"><!--@vbbanners:1@--></div>

in the template: ad_navbar_below


(3)
and enable the default banners, moving the second banner to position 1. Both banners should appear, one below the other.

---

On a standard installation, this combination of settings works 100% guaranteed on 4.0.2 PL1. I have set it up once again from scratch just to be sure. If it doesn't work for you, I'll install a test board with these settings on, in order to demonstrate the facts.


Possible issues:
- You are using a style which does not implement ad_navbar_below, or which comments out that template. In this case, no banner appears.
- Your system caches pages (e.g. Apache mod_cache). Unless you refresh the page explicitly, the banners don't seem to rotate or won't even appear.
- Your vBulletin Options - Rotating Banner System Options - Nth Placeholder is setup like: <!--@vbbanners:0@--> or @vbbanners:0@. In this case, only banners at location 0 appear. You should have set: <!--@vbbanners:%d@--> or @vbbanners:%d@ instead.

djbaxter
03-05-2010, 12:28 PM
On a standard installation, this combination of settings works 100% guaranteed on 4.0.2 PL1. I have set it up once again from scratch just to be sure. If it doesn't work for you, I'll install a test board with these settings on, in order to demonstrate the facts.

I don't dispute that you got it to work on a clean install. It may well be that there is a conflict with another add-on somewhere but I have done and double-checked all of the things you list above - still not working reliably.

I am using vBSEO but I don't use (and never have) the "HTML cleaning" option.


Possible issues:
- You are using a style which does not implement ad_navbar_below, or which comments out that template. In this case, no banner appears.

No.

- Your system caches pages (e.g. Apache mod_cache). Unless you refresh the page explicitly, the banners don't seem to rotate or won't even appear.

No.

- Your vBulletin Options - Rotating Banner System Options - Nth Placeholder is setup like: <!--@vbbanners:0@--> or @vbbanners:0@. In this case, only banners at location 0 appear. You should have set: <!--@vbbanners:%d@--> or @vbbanners:%d@ instead.

Set correctly.

y2ksw
03-05-2010, 03:13 PM
I don't dispute that you got it to work on a clean install. It may well be that there is a conflict with another add-on somewhere but I have done and double-checked all of the things you list above - still not working reliably.

I am using vBSEO but I don't use (and never have) the "HTML cleaning" option.



No.



No.



Set correctly.
Thanks. :)

So the next questions are:

- Do you have a product or plugin which disables or jumps over the global_complete hook, or changes existing hook code? Since banners are rendered there, it is the only place I would look at.
- Which of your products / plugins are working with this hook?
- Do some of the other global_complete hooks call a PHP: die; or: exit(0); command? I suppose not, else no banners would be rendered...

... out of other options and ideas ... :erm:

silencio2222
03-06-2010, 12:15 AM
Just wanted to share...I am new to this forum and to vBulletin and am just figuring out how to edit the templates and css....but I needed a rotating banner system...and really like the features in this mod. I have the latest version of vb 4.02 pl1 and after not being able to figure out how to edit the templates I decided to try adding the required code to the build in banner ad setup....and it worked like a charm.

I used the code <div align="center"><!--@vbbanners:0@-->&nbsp;<!--@vbbanners:2@--></div> and created a new ad "below navbar" and "above footer" and they work perfectly....so far. I wanted to banners side by side.

Maybe it's a good shortcut and maybe it's not but right now it's working...really good, tracking the impressions and clicks just like it would otherwise...so maybe this could help someone else...until code changes and causes it not to work...;)

Hey a guy has to be creative right?

Check it out if you want to here (http://www.trinidadco.com/forum/forum.php)and please let me know what you think.

vortodox
03-06-2010, 07:52 AM
I would like to put rotating banner instead of default vbulletin logo. Is this possible?
I have putted code in ad_header_logo, and removed image of vbulletin logo, but there is space between image and navigation bar.
You can see it here: http://www.bg-anime.com/forum.php
Can someone help me with this?

Videx
03-06-2010, 01:49 PM
I would like to put rotating banner instead of default vbulletin logo. Is this possible?Hm. You mean use this as a logo rotator? Yes, I guess you could. In your case I'm not so sure it's the space below that's messing you up, it's the lack of space above to balance it out. Have you tried adding a <br> in there to move it down a bit? Beyond that I have no clue; it's all in the CSS somewhere.

Tettinntil
03-06-2010, 04:46 PM
Using this with success on 3.8.4 and working fine on normal forum pages. But when integrating PhotoPost (Gallery), the banners I have put in the left column do not show. I see <!--@vbbanners:1@--> in the source, so it definitely calls for the code (which shows correctly on other forum pages). Any idea why it does not work?

Any help with this?

vortodox
03-06-2010, 06:17 PM
Hm. You mean use this as a logo rotator? Yes, I guess you could. In your case I'm not so sure it's the space below that's messing you up, it's the lack of space above to balance it out. Have you tried adding a <br> in there to move it down a bit? Beyond that I have no clue; it's all in the CSS somewhere.

I tried but that didn't helped...
But, with your help I have found Logo rotator, which will resolve my problems :)
Thanks!

skol
03-06-2010, 09:59 PM
Guys if your adding adsence it could take up to an hour for it to show have patience...

djbaxter
03-06-2010, 11:34 PM
Guys if your adding adsence it could take up to an hour for it to show have patience...

That's only true when you're creating a new banner. I'm using existing banners and those should show up immediately, just as they do if they are added via hard coding.

jnrdavo
03-07-2010, 08:25 PM
Hi guys,

I've searched through pages of this mod, but can't seem to find an answer.

I would like to be able to place an add in the right hand column, but can't seem to find the template to do it... Can anybody help?

It's the only reason that I haven't converted my forum to vb4 as I'm still using vbadmanagement as it seems to work.

This looks much better, but need to be able to work out how to display the add correct. Could I use the new Forum Blocks with this code?

My website is http://www.ozaudi.com, you can see what I am trying to achieve...

UPDATE I've managed to get it to work in one of my new forums (www.ozbmw.com) that is running on VB4.0.2....

However, if I use the VB Blocks, the user can close them and that's not ideal. So still after any help with what template could be used for a right hand column (hopefully to sit where the current blocks are).

y2ksw
03-08-2010, 05:11 AM
Hi guys,

I've searched through pages of this mod, but can't seem to find an answer.

I would like to be able to place an add in the right hand column, but can't seem to find the template to do it... Can anybody help?

It's the only reason that I haven't converted my forum to vb4 as I'm still using vbadmanagement as it seems to work.

This looks much better, but need to be able to work out how to display the add correct. Could I use the new Forum Blocks with this code?

My website is http://www.ozaudi.com, you can see what I am trying to achieve...

UPDATE I've managed to get it to work in one of my new forums (www.ozbmw.com (http://www.ozbmw.com)) that is running on VB4.0.2....

However, if I use the VB Blocks, the user can close them and that's not ideal. So still after any help with what template could be used for a right hand column (hopefully to sit where the current blocks are).
In order to ad a column to the standard layout of your pages, you would have to add a table right below the <body> tag and add one or more columns, and close the table right at the bottom of the page, before the </body> tag.

Your layout would roughly look like:

<body>

<table>
<tr>
<td style="width: 100%;">
Original template contents (header, navbar, contents, footer)
</td>
<td style="width: 160px;">
Additional right column, 160 pixels wide.
</td>
</tr>
</table>

</body>

jnrdavo
03-08-2010, 05:48 AM
In order to ad a column to the standard layout of your pages, you would have to add a table right below the <body> tag and add one or more columns, and close the table right at the bottom of the page, before the </body> tag.

Your layout would roughly look like:

<body>

<table>
<tr>
<td style="width: 100%;">
Original template contents (header, navbar, contents, footer)
</td>
<td style="width: 160px;">
Additional right column, 160 pixels wide.
</td>
</tr>
</table>

</body>


thanks, I really appreciate your help.

Would this be able to go under the new 'Forum Blocks' that are available in VB4.0?

y2ksw
03-08-2010, 06:46 AM
thanks, I really appreciate your help.

Would this be able to go under the new 'Forum Blocks' that are available in VB4.0?
I do think so, but vBulletin is still undergoing many changes, so I would not rely too much on them.

JWL
03-08-2010, 10:12 PM
I cannot get any banner to work at all

I have installed it uninstalled it and tried everything listed in these forums

Site is www.NorCalCanyonCarvers.com

VB Version is 3.8.4 PL2
VBadvanced is 3.2.1

Just not showing up

Update

Got it to work following the instructions for VBseo. User in the option @vbbanners:%d@ with out the <!-- -->

But the only place these ads appear is in the below navbar :confused:

I can use my Google, Adsense in Admincp for that.

Pretty buggy stuff if you ask me

One thing I have been noticing is every single ad I create is set for start date to be 2 days ahead. So example is, Today is 3/8/10 The Start date is 3/10/10 Odd. Just caught that. Uninstalled and reinstalled same issue. I think I will wait until this is a far more stable system. I like it an all, but I can accomplish the same thing just by putting my adsense code where i want it. I am a new site so it is no big deal to me right now.

For the larger sites, tis is just to much work I might as well install phpads

y2ksw
03-10-2010, 07:46 AM
The date/time problem is most certainly a problem with your board's timezone settings, and likely an additional problem with your server, running a day ahead.

This software can't and won't ever fix problems with servers, browsers and vbulletin styles. I'm almost sure that your style does not support all Ad locations the vbulletin Default style does, and for this reason it may not work everywhere :)

kiawah75
03-10-2010, 12:14 PM
I have a strange issue that I could not find an answer to. I have a google image ad that shows up just below the navigation of my site and I cant seem to get rid of it. My Google Adsense is disabled on the forum and I have disabled all of the ads in the Rotating Banner System. I have also deleted all the google image ads in the module and it still shows up. Any suggestions?

y2ksw
03-10-2010, 12:47 PM
I have a strange issue that I could not find an answer to. I have a google image ad that shows up just below the navigation of my site and I cant seem to get rid of it. My Google Adsense is disabled on the forum and I have disabled all of the ads in the Rotating Banner System. I have also deleted all the google image ads in the module and it still shows up. Any suggestions?
Probably it is hard-coded into your style. A few of the free styles for vBulletin have this feature enabled.

ecky
03-10-2010, 10:32 PM
In order to ad a column to the standard layout of your pages, you would have to add a table right below the <body> tag and add one or more columns, and close the table right at the bottom of the page, before the </body> tag.


I also need a side column, how do I add this and where to?

y2ksw
03-11-2010, 05:10 AM
I also need a side column, how do I add this and where to?
https://vborg.vbsupport.ru/showpost.php?p=1999622&postcount=662

;)

All the rest depends really on you ... :)

ecky
03-11-2010, 06:24 AM
https://vborg.vbsupport.ru/showpost.php?p=1999622&postcount=662

;)

All the rest depends really on you ... :)

This is the same post I was referring to. Maybe I asked the wrong question?

Where do I enter this piece of code?
Into a specific template or into the mod html text box?:confused: This is the area which is causing me the confusion.

Everything else works A1 on vb4.0.2, I just cant figure out how to install a side column. Could you explain in laymans terms please?

Thanks

y2ksw
03-11-2010, 07:00 AM
This is the same post I was referring to. Maybe I asked the wrong question?

Where do I enter this piece of code?
Into a specific template or into the mod html text box?:confused: This is the area which is causing me the confusion.

Everything else works A1 on vb4.0.2, I just cant figure out how to install a side column. Could you explain in laymans terms please?

Thanks
I would like to, but unfortunately I have not enough time to solve also the HTML related issues.

Though, you may have a look at the templates FORUMHOME and FORUMDISPLAY in order to get an idea where to start with, but eventually you will end up to add a second column to many other templates, each of which has its own characteristics.

ecky
03-11-2010, 08:04 AM
I would like to, but unfortunately I have not enough time to solve also the HTML related issues.

Though, you may have a look at the templates FORUMHOME and FORUMDISPLAY in order to get an idea where to start with, but eventually you will end up to add a second column to many other templates, each of which has its own characteristics.

Thats a step in the right direction. Your help is appreciated. :up:

Tettinntil
03-11-2010, 06:30 PM
Using this with success on 3.8.4 and working fine on normal forum pages. But when integrating PhotoPost (Gallery), the banners I have put in the left column do not show. I see <!--@vbbanners:1@--> in the source, so it definitely calls for the code (which shows correctly on other forum pages). Any idea why it does not work?
New try. I have marked as installed, and would appreciate a reply...

y2ksw
03-11-2010, 07:57 PM
New try. I have marked as installed, and would appreciate a reply...
There is not much I can add :)

There have been issues with PhotoPost, which is replacing partially the source code of vBulletin, and forgets sometimes about calling the terminating hook: global_complete.

If you see the placeholders in the HTML code, the RBS code in global_complete has not been executed.

I have no solution for fixing this problem.

salvador21
03-12-2010, 04:09 PM
I have this working very nicely but cannot work out how to use a flash (.swf) file.

I don't understand what this means:

Image / Flash: If you define here a picture, it is shown together with the Name as a tooltip, and the URL as destination. For Flash banners, please insert here the swf file.

I tried entering the URL of the file, but that doesn't work.

Can anyone help please?

Tettinntil
03-12-2010, 05:39 PM
There is not much I can add :)

There have been issues with PhotoPost, which is replacing partially the source code of vBulletin, and forgets sometimes about calling the terminating hook: global_complete.

If you see the placeholders in the HTML code, the RBS code in global_complete has not been executed.

I have no solution for fixing this problem.Thanks a lot - then there is no use for me trying to find a solution.

y2ksw
03-13-2010, 05:04 AM
I have this working very nicely but cannot work out how to use a flash (.swf) file.

I don't understand what this means:



I tried entering the URL of the file, but that doesn't work.

Can anyone help please?
It would be a valid URL to a SWF file, like

http://www.domain.tld/myflash.swf

If this file is publically accessible and the name is conforming to HTML name standards (no spaces, special characters ecc, and if it isn't a script, it will be loaded by the Flash wrapper. Please note, that flash banners also need to specify their dimensions (width, height) in order to show up correctly.

If your flash banner can be shown normally on a HTML page, it really should work in the wrapper, too. However, if the file of the flash banner isn't a true banner, but a camouflaged Java Script or anything else, it won't. The wrapper will not interpret flash banners which aren't conforming to Flash.

If you are sure the flash should work, please send me via PM the link to your file and the expected width and height. I'll have a closer look to it :)

salvador21
03-13-2010, 07:45 AM
Sorted, my fault entirely, I hadn't uploaded the wrapper!:eek:

BTW this is brilliant, I've nominated it. :up::up::up::D

But, I think it is a bit unclear that you need to put a URL in the image/flash field. Yes it's kind of obvious but I think it would be good to make the instructions very explicit.

Also it would be good if banners could be disabled/enabled in the list, without having to go into each banner's properties to do this.

y2ksw
03-13-2010, 10:10 AM
Sorted, my fault entirely, I hadn't uploaded the wrapper!:eek:

BTW this is brilliant, I've nominated it. :up::up::up::D

But, I think it is a bit unclear that you need to put a URL in the image/flash field. Yes it's kind of obvious but I think it would be good to make the instructions very explicit.

Also it would be good if banners could be disabled/enabled in the list, without having to go into each banner's properties to do this.
That was actually a bug (missing check upon upgrade/installation) and got fixed today.

Version 2.2.6 though will not be released immediately, since I'm also adding, as suggested, some of the most important issues to the help file.

kiawah75
03-16-2010, 12:51 PM
right
you will need to insert a placeholder in your templates, e.g. open ad_navbar_below, and insert: <div align="center"><!--@vbbanners:0@--></div><br /> in order to show all banners which belong to position 0.
You are fine with the latest version.


I have two banners that I would like to place in rotation. I have placed them in position "0" in the ad_navbar_below section of the website. When I activate both of them they both show up at once rather than rotating them. I tried adding another <!--@vbbanners:0@--> in the style sheet based upon some other posts and that does not seem to work. Any suggestions would be appreciated. I am using 4.02 Patch 1. Thanks.

y2ksw
03-16-2010, 02:17 PM
I have two banners that I would like to place in rotation. I have placed them in position "0" in the ad_navbar_below section of the website. When I activate both of them they both show up at once rather than rotating them. I tried adding another <!--@vbbanners:0@--> in the style sheet based upon some other posts and that does not seem to work. Any suggestions would be appreciated. I am using 4.02 Patch 1. Thanks.
If you have only 2 banners in your database, of course they will never rotate, if you also show them both on a page :)

In order to make banners rotate, you should have more banners (with the same criteria) in your database than the highest number of banners you ever will show on a single page, unless you accept that in certain moments or pages no rotating is fine.

This product chooses from a number of banners, which fit the rules to show up, shuffles and then picks one for each placeholder. Thus, if there are 2 banners and 2 placeholders, all of them are shown.

kiawah75
03-16-2010, 02:57 PM
If you have only 2 banners in your database, of course they will never rotate, if you also show them both on a page :)

In order to make banners rotate, you should have more banners (with the same criteria) in your database than the highest number of banners you ever will show on a single page, unless you accept that in certain moments or pages no rotating is fine.

This product chooses from a number of banners, which fit the rules to show up, shuffles and then picks one for each placeholder. Thus, if there are 2 banners and 2 placeholders, all of them are shown.

Sorry in advance for the follow up question - I am sure I am missing the obvious. I want to have two different banners rotate in the same location and have them each show up 50% of the time - is that not possible? For example each time the page is refreshed the new banner would show up. Thanks in advance for your help.

Videx
03-16-2010, 03:53 PM
I want to have two different banners rotate in the same location and have them each show up 50% of the time - is that not possible?Yes, that is what this mod does by default. Stop messing with it and that's what will happen.

Note that at least one other mod (chatbox) cuts off the 'navbar below' ad location.

y2ksw
03-16-2010, 05:59 PM
Sorry in advance for the follow up question - I am sure I am missing the obvious. I want to have two different banners rotate in the same location and have them each show up 50% of the time - is that not possible? For example each time the page is refreshed the new banner would show up. Thanks in advance for your help.
Just use 1 placeholder on your pages and the 2 banners in your database will alternate each other with about 50% of the time.

While I am at it, if you have for example 1 unique banner and 2 identical banners in your database, you may move the weight to one side. The unique banner will get 33% and the other two 66%, which looks like, as if one banner appears more often.

kiawah75
03-16-2010, 06:15 PM
Just use 1 placeholder on your pages and the 2 banners in your database will alternate each other with about 50% of the time.

While I am at it, if you have for example 1 unique banner and 2 identical banners in your database, you may move the weight to one side. The unique banner will get 33% and the other two 66%, which looks like, as if one banner appears more often.

Thanks for your help, I am still having the problem. I am going to reinstall the mod and hopefully that will clear up the problem.

rEd86
03-16-2010, 10:12 PM
Greetings.

It would appear that only users that are primary users of the "Administrators" group have access to this tool. Users that are in the Administrators group, but as an "Additional Usergroups" don't have access. Is this a bug or a feature? :)

Thanks!

--Ed

HRCHOSTING
03-17-2010, 01:58 AM
Banner not showing on content.php page (main cms page)

Have I dont something wrong on the install or is this feature not available?

dadams982
03-17-2010, 03:50 PM
I watched your video and this seem quite easy. Anyone know where to edit a template to put a place holder to place two of them side by side between forum topics on forumhome?

Hope that made sense.

Overbr
03-19-2010, 01:56 PM
Hello ! Thanks your help-me ! (sorry my englhish OK)

Look, this, i?m inserting in POSTBIT_LEGACY an the codig.



<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1">
<div class="postbit">
<h3 class="posthead">&nbsp; &nbsp;Publicidade</h3>
<div class="postbody"><br />
</div>
<!--@vbbanners:0@-->
<br />
<br />
</div>
</vb:if>


but when done this way he does not show the banners. Please, if you forgot to do some procedure? I'm sorry if already been answered in almost 50 pages.
I read up to 40 and could not do anything that would help me.
I use VB 4.0.2 OK.
Thanks in advance for any help and tip possible. I really need to make this mod work

Antonio Pereira
03-22-2010, 04:19 PM
Its possible to use VBSEO - Clean HTML ?

Wen Clean HTML off is terrible for SEO.

Best Regards

djbaxter
03-22-2010, 04:35 PM
Its possible to use VBSEO - Clean HTML ?

Wen Clean HTML off is terrible for SEO.

No, that's incorrect. All "Clean HTML" does is remove white space from the code, which makes the code easier to read. Search engine spiders have no problem jumping over spaces and it isn't going to affect indexing or ranking on any search engine.

Theda
03-22-2010, 10:13 PM
would this work for just the main logo banner at the top of forums? or is ad-specific?

Antonio Pereira
03-23-2010, 06:48 AM
No, that's incorrect. All "Clean HTML" does is remove white space from the code, which makes the code easier to read. Search engine spiders have no problem jumping over spaces and it isn't going to affect indexing or ranking on any search engine.

Cleanup HTML code?
Select 'Yes' to remove unnecessary whitespace characters and HTML comments from the source code of your forum pages.
This increases the C2C (Content to Code) ratio and reduces page sizes, resulting in a net performance increase and reduction in bandwidth required.

So you are tell-me increasing C2C is not important to google:confused:

Best Regards

djbaxter
03-23-2010, 12:10 PM
So you are tell-me increasing C2C is not important to google:confused:

Yes, that's what I'm telling you. The effect of applying that is negligible at best.

dweber
03-24-2010, 05:59 PM
I would like to add a place holder into a static HTML Widget box on the "Front Page" but am a newbie.

Could anyone give me a sample line of HTML code to insert the placeholder (@vbanners@) into?

Thanks in advance.

mobe00
03-26-2010, 12:07 PM
is it possible to add the options to change the wmode parameters in flash banners <param name="wmode" value="opaque" />

If i add an flash banner with rotating banner system the flash will lay over the vbulletin drop down menus etc. See the attached picture. I had to use the built in ad management in vbulletin and add the flash code manually to get it working correctly.

this is the flash code that displays it correctly

<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="728" height="90" id="myFlashContent">
<param name="movie" value="banner.swf" />
<param name="wmode" value="opaque" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.mydomain.com/images/ads/banner.swf" width="720" height="240">
<param name="wmode" value="transparent" />
</object>
</object>
</div>

Edit: wrong wmode on the attached picture..it should be opaque and not transparent

TruthElixirX
03-26-2010, 10:06 PM
For some reason when I use the click tracking function, it does not count clicks from banners on vBadvanced pages. Any ideas? It works everywhere else.

Any body?

y2ksw
03-26-2010, 10:41 PM
is it possible to add the options to change the wmode parameters in flash banners <param name="wmode" value="opaque" />

If i add an flash banner with rotating banner system the flash will lay over the vbulletin drop down menus etc. See the attached picture. I had to use the built in ad management in vbulletin and add the flash code manually to get it working correctly.

this is the flash code that displays it correctly

<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="728" height="90" id="myFlashContent">
<param name="movie" value="banner.swf" />
<param name="wmode" value="opaque" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.mydomain.com/images/ads/banner.swf" width="720" height="240">
<param name="wmode" value="transparent" />
</object>
</object>
</div>Edit: wrong wmode on the attached picture..it should be opaque and not transparent
I'm sorry, I can't fix problems with the embedded flash. My flash wrapper embeds arbitrary flash images in order to allow to change the destination URL and eventually enable click tracking. If this doesn't work for you, you still can use your code inside a rotating banner in the Text field, but also would habe to code the flash accordingly to point or to the click tracker, or to your final URL.

y2ksw
03-26-2010, 10:43 PM
Any body?
At line 57 in rbs_banner.php, you may comment out the if statement. In this case, the referers are not checked against the forum URL, and clicks should be counted. However, this opens a door to click fraud.

y2ksw
03-26-2010, 10:44 PM
I would like to add a place holder into a static HTML Widget box on the "Front Page" but am a newbie.

Could anyone give me a sample line of HTML code to insert the placeholder (@vbanners@) into?

Thanks in advance.
As in the help files ;)

<!--@vbbanners:0-->
<!--@vbbanners:1-->
<!--@vbbanners:2-->
...
<!--@vbbanners:9-->

dadams982
03-27-2010, 01:39 AM
I watched your video and this seem quite easy. Anyone know where to edit a template to put a place holder to place two of them side by side between forum topics on forumhome?

Hope that made sense.

Can anybody lend a hand? Am I supposed to define two banners 1-2? or just one? And where would I put this to make this work?

dadams982
03-27-2010, 01:43 AM
At the location where you want them to appear, try something like this:

<span align="center">
<!--@vbbanners:0@-->&nbsp;&nbsp;&nbsp;<!--@vbbanners:1@-->
</span>

assuming that you have set up banner 0 and banner 1 as the correct dimensions.

I haven't tryied to do this, mind you, partly because I upgraded to 4.02 and this add-on isn't yet upgraded for 4.02, but it's worth a try.

Definitley going to try this dj, do you know where to insert this to show up side by side between forums on the forumhome? Also, can I set more than two banners to rotate if I only use the 2 defined? A good representation of what I am trying to accomplish is on anabolicminds.com on forumhome

TruthElixirX
03-27-2010, 02:05 AM
At line 57 in rbs_banner.php, you may comment out the if statement. In this case, the referers are not checked against the forum URL, and clicks should be counted. However, this opens a door to click fraud.

Worked! Thanks!

shahryar_neo
03-28-2010, 02:27 PM
how can show banners between every X post ? for example set these :

1) show after last and first post of topic.
2) between posts .

I used vB 4 Advertisement management and I shifted to this mod and it's so better but cannot customize well for between posts .

66tiger
03-28-2010, 02:42 PM
I have this installed on vB4.0.2 PL4 and I can get it to work in some places but not in others.

It seems to work correctly on the index page, but it doesn't work inside the forums.

For example, I added <!--@vbbanners:2@--> to the ad_global_header2 template, then set up a banner which I set to Position 2, and set it to display in all forums (nothing selected in the list of forums). The URL for the image is valid; I can enter it directly into my browser and it will display.

I can see the banner on the index page, but if I go to any forum it isn't shown. Can anyone help me to understand why it doesn't work as I expect it to?

y2ksw
03-28-2010, 03:27 PM
Maybe ad_global_header2 isn't implemented in all templates, such as FORUMDISPLAY. There were or still are a few bugs reported regarding the banners in the header area.

If the "Forum Home" option is checked, it will show only there though.

66tiger
03-28-2010, 05:18 PM
D'oh! The Forum Home setting was it. Thanks!

y2ksw
03-28-2010, 08:57 PM
At least I got it right once :)

acekillerboy
03-29-2010, 02:26 PM
i use CMPS how can i make that banners to appear only in CMPS portal and nowhere else on forum ? Thanks

stinger2
03-29-2010, 09:53 PM
hi y2ksw

works great......is there any way to exclude vbadvanced from showing the banners?

y2ksw
03-30-2010, 09:29 AM
i use CMPS how can i make that banners to appear only in CMPS portal and nowhere else on forum ? Thanks
If you use vBAdvanced, you may add placeholders to the vbAdvanced templates only. Other CMS which don't use vBulletin as engine, are not supported.

y2ksw
03-30-2010, 09:38 AM
hi y2ksw


works great......is there any way to exclude vbadvanced from showing the banners?
If you explicitly select the forums, vBAdvanced will be excluded. Another solution is to choose templates which aren't propagated to vBAdvanced.

acekillerboy
03-30-2010, 12:15 PM
If you use vBAdvanced, you may add placeholders to the vbAdvanced templates only. Other CMS which don't use vBulletin as engine, are not supported.

Thank for your answer .Yes i`m using Vbadvanced can you please say me exactly what i have to do since i`m newbie with coding.

Should i place
<!--@vbbanners@--> ? where exactly?

Many thanks !!!

shahryar_neo
03-30-2010, 02:10 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=2011637&postcount=705" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=705</a>

Developer's help need :d

y2ksw
03-30-2010, 04:29 PM
https://vborg.vbsupport.ru/showpost.php?p=2011637&postcount=705

Developer's help need :d
You will have to ask an HTML / Style expert for this issue. Then, when you know how to show an 'X' between your posts, you may also replace that X with a banner placeholder :)

y2ksw
03-30-2010, 04:32 PM
Thank for your answer .Yes i`m using Vbadvanced can you please say me exactly what i have to do since i`m newbie with coding.

Should i place
<!--@vbbanners@--> ? where exactly?

Many thanks !!!
As replied in PM.

Please don't send me PM's if you also ask here. Also, public questions are likely to be replied more quickly ;)

stinger2
03-31-2010, 10:05 AM
If you explicitly select the forums, vBAdvanced will be excluded. Another solution is to choose templates which aren't propagated to vBAdvanced.
thank you very much for the fast response

if i select the whole forums....forum home will NOT be included....if i chose the forum home...it will exclude the other forums

i just want to exclude the portal from showing the ads...

do you have any tip to do this

regards

S2

y2ksw
03-31-2010, 11:47 AM
thank you very much for the fast response

if i select the whole forums....forum home will NOT be included....if i chose the forum home...it will exclude the other forums

i just want to exclude the portal from showing the ads...

do you have any tip to do this

regards

S2
If this is a general rule and you are happy with changing the code a bit, you may add (hook: global_complete, "Banner Insertion"), on the very top:

if(THIS_SCRIPT == 'adv_index')
{
and, on the very bottom:
}This way, the plugin code will run only when the portal pages are shown. However, it also keeps the placeholders unchanged in other pages, which may have undesireable side effects, if they are not in the HTML comment format. True vBAdvanced support would require more coding.

If some more users are interested in an additional feature for vBAdvanced support, this is the time to ask :)

Bacon Butty
04-01-2010, 01:04 PM
Looks great. Is there any chance the placeholder can be placed after the first post in every thread, like;

https://vborg.vbsupport.ru/

... as detailed here (https://vborg.vbsupport.ru/showthread.php?t=239498)

ovidiuletu
04-01-2010, 04:02 PM
Hy,
I have a client who asks the following for his banner:
1. At this point the baner has Atribut ?nofollow? ? he wants to be removed the rel=?nofollow? from the link;

2. My banner has an internal link named: http://www.ciclism.ro/forums/rbs_banner.php?id=3 and he wants a direct link to http://www.veloteca.ro

Can you help me with this?
My website is www.ciclism.ro/forums

y2ksw
04-01-2010, 09:04 PM
Looks great. Is there any chance the placeholder can be placed after the first post in every thread, like;

http://img171.imageshack.us/img171/8165/advertg.jpg

... as detailed here (https://vborg.vbsupport.ru/showthread.php?t=239498)

Put the placeholder in the template: ad_showthread_firstpost ... maybe within a div align center tag ... :)

y2ksw
04-01-2010, 09:13 PM
Hy,
I have a client who asks the following for his banner:
1. At this point the baner has Atribut ?nofollow? ? he wants to be removed the rel=?nofollow? from the link;

2. My banner has an internal link named: http://www.ciclism.ro/forums/rbs_banner.php?id=3 and he wants a direct link to http://www.veloteca.ro

Can you help me with this?
My website is www.ciclism.ro/forums (http://www.ciclism.ro/forums)

Change the banner code accordingly to your wishes (plugin hook: global_complete, "Banner Insertion"). Please note that you have to reapply this change after each upgrade. Also, direct links to other sites without nofollow have a direct impact on your Google Site Rank (your page ranking decreases).
Uncheck the Click Tracking option (you can't have enabled click tracking and direct links in the same moment).

Videx
04-02-2010, 12:38 AM
Put the placeholder in the template: ad_showthread_firstpost ... maybe within a div align center tag ... :)Cool. For some odd reason, this position doesn't seem to be included in the vb advertising positions (?).

But it doesn't look too bad to put it in AdminCP>Advertising>Add New Ad>Page:Thread>First Post Content><div style="text-align:center;border:1px solid black"><!--@vbbanners:0@--></div>I wonder if anyone has filed a bug report that the "After first post" is missing.

y2ksw
04-02-2010, 05:13 AM
Cool. For some odd reason, this position doesn't seem to be included in the vb advertising positions (?).

But it doesn't look too bad to put it in AdminCP>Advertising>Add New Ad>Page:Thread>First Post Content>I wonder if anyone has filed a bug report that the "After first post" is missing.
The normal templates are filled and they do work. If not, probably you are encountering a style problem.

Videx
04-02-2010, 01:17 PM
The normal templates are filled and they do work. If not, probably you are encountering a style problem.No, I only have the default style. Maybe I'm just not explaining it correctly. Take a look at the attachments and you'll see that when creating a new ad there are no locations listed within a thread except two. Both fairly useless, imho.

stinger2
04-04-2010, 10:15 PM
If this is a general rule and you are happy with changing the code a bit, you may add (hook: global_complete, "Banner Insertion"), on the very top:

if(THIS_SCRIPT == 'adv_index')
{
and, on the very bottom:
}This way, the plugin code will run only when the portal pages are shown. However, it also keeps the placeholders unchanged in other pages, which may have undesireable side effects, if they are not in the HTML comment format. True vBAdvanced support would require more coding.

If some more users are interested in an additional feature for vBAdvanced support, this is the time to ask :)

thanks......this is a nice practical solution....

i usually do not modefy the board alot.........first because i forget the modification....second..would be very hard to make upgrades..........hehehe........as if i am going to upgrade to vb 4 with all my modifications.

thanks alot....nice and great hack

Traxion
04-06-2010, 07:41 PM
I cant seem to get a banner to show up. I believe I have it installed correctly, made sure I added the correct code to the ad_navbar_below template and I have checked the HTML code and spelling but I cant get anything to show up anywhere. Any ideas?

Update: I kept messing a little more with this and found that it tries to place the default banner where I want it but doesnt show because of a javascript error from the google ads. I can verify this cause it displays on my smartphone but not on my desktop. Now when I try to create an entirely new banner and place in the same exact position I get nothing. Any help would be appreciated. Thanks!

anabolika
04-06-2010, 09:28 PM
Hi,

I can't seem to get it to work :( I'm running 4.0.2 , is it tested for this version? I've tried all placeholders in the forum block manager and I still see <!--@vbbanners:0@--> or <!--@vbbanners:0-->

Is there a way to check for errors?

y2ksw
04-07-2010, 07:40 AM
I cant seem to get a banner to show up. I believe I have it installed correctly, made sure I added the correct code to the ad_navbar_below template and I have checked the HTML code and spelling but I cant get anything to show up anywhere. Any ideas?

Update: I kept messing a little more with this and found that it tries to place the default banner where I want it but doesnt show because of a javascript error from the google ads. I can verify this cause it displays on my smartphone but not on my desktop. Now when I try to create an entirely new banner and place in the same exact position I get nothing. Any help would be appreciated. Thanks!
Please try to show a standard image banner and disable the Google ads. Also check if your banner will show up in a normal HTML page :)

y2ksw
04-07-2010, 07:46 AM
Hi,

I can't seem to get it to work :( I'm running 4.0.2 , is it tested for this version? I've tried all placeholders in the forum block manager and I still see <!--@vbbanners:0@--> or <!--@vbbanners:0-->

Is there a way to check for errors?
It is tested in 4.0.2 and except for another heavily hacked and modded board, it runs.

If you see <!--@vbbanners:0--> in your HTML code and this product is enabled, it is a proof, that the global_complete hook never executes, thus some of your products/applications intercept this hook and drop standard execution of the vbulletin code. There is nothing I can do about this.

If you know the intercepting product, you may try to move the plugin hooks somewhere else, probably to the replacing hooks, but it is not guaranteed to work.

Traxion
04-07-2010, 03:09 PM
Please try to show a standard image banner and disable the Google ads. Also check if your banner will show up in a normal HTML page :)

I have tried to place a standard image banner but with no luck. I dont know if im doing something wrong in the Image / Flash area or not. I have just been putting in the full location of the image I want displayed and in the URL box putting its click destination address. Im sure its something simple, but I just cant get it figured out. Thanks so much for your help on this.

Videx
04-07-2010, 07:05 PM
I have tried to place a standard image banner but with no luck. What about the other thing he told you to try? If you can't get a plain jpg banner to show in a normal html page then you'll never get them to show in this mod.

Traxion
04-08-2010, 03:42 AM
I assume you mean just typing the full address to the image and seeing if it pulls up in browser the answer is yes.

y2ksw
04-08-2010, 06:38 AM
I assume you mean just typing the full address to the image and seeing if it pulls up in browser the answer is yes.
Please put in place of the banner placeholder (or in addition) a simple 'X' and check if this shows up, e.g.:

<!--@vbbanners:0@-->X

Edit:
May it be that you have used just: <!--@vbbanners:0--> instead of <!--@vbbanners:0@--> (missing final @)?

Traxion
04-08-2010, 03:12 PM
Please put in place of the banner placeholder (or in addition) a simple 'X' and check if this shows up, e.g.:

<!--@vbbanners:0@-->X

Edit:
May it be that you have used just: <!--@vbbanners:0--> instead of <!--@vbbanners:0@--> (missing final @)?

Not sure what happened, but after testing with the 'X' outside the <> and it showing correctly it started working. Im sure I messed something up somewhere, but good news is that it works!! Thanks for all your help!

Antonio Pereira
04-09-2010, 06:25 AM
Have installed:
Rotating Banner System: 2.2.6
Vbulletin: 4.0.3
and have a problem wen make zoom with mouse "Ctrl+Scroll Mouse"

The Flash dont zoom if i put flash banner in HTML zoom is ok.

Did you have a fix for this?

Best Regards

pepsicola38
04-09-2010, 01:16 PM
should the code be entered as
<!--@vbbanners:0@-->
<!--@vbbanners:4@-->

or

<!--@vbbanners:0@-->
<!--@vbbanners:1@-->
<!--@vbbanners:2@-->
<!--@vbbanners:3@-->
<!--@vbbanners:4@-->

thanks

djbaxter
04-11-2010, 07:11 PM
Weird bug: I have this add-on installed in 4.03 currently (but have been using it since 3.8x through 4.01 and 4.02).

I have the banners inserted in some custom places but in order to minimize template reverts and editing where possible I use the vBulletin ACP | Advertising settings and insert the <!--@vbbanners:0@--> or <!--@vbbanners:1@--> codes there.

The only bug I've found is a persistent though internittent one: Using the Below Navbar location in combination with <!--@vbbanners:1@--> defined as a leaderboard size (wide) banner (rotating between AdSense and some affiliate banners), most of the time it works fine. Very now and then, though, it will stop displaying banners at that location (other locations continue to work). To fix it, I need to go back into that location in the ACP, click on Edit, and then Save without making any changes.

I'm really not 100% certain whether this is an issue with this add-on or a vBulletin 4.x issue. However, for a while, I disabled the add-on and hard-coded the ads in that location (i.e., no rotation) and the problem did not occur under those conditions.

djbaxter
04-11-2010, 07:13 PM
should the code be entered as
<!--@vbbanners:0@-->
<!--@vbbanners:4@-->

or

<!--@vbbanners:0@-->
<!--@vbbanners:1@-->
<!--@vbbanners:2@-->
<!--@vbbanners:3@-->
<!--@vbbanners:4@-->

thanks

You enter only one at a time in each location where you want that set of banners to be rotated. Enter EITHER <!--@vbbanners:0@--> OR <!--@vbbanners:1@--> OR <!--@vbbanners:2@--> OR <!--@vbbanners:3@--> OR <!--@vbbanners:4@-->.

It would be rare that you'd want to have more than one group in a specific location, unless you want them side by side or one under the other.

DakoomNetwork
04-12-2010, 07:48 PM
y2ksw, could it works also as a Google Adsense, so recreating the same functions?

vikris
04-12-2010, 10:05 PM
One of the greatest addons!!! :) I have several questions though:

1. Will it be in the future more than 10 positions?

2. Some of the ads are displaying also in the forums (specifically header and footer) how to remove that? I like the ads to be displayed only on CMS page.

3. Maybe this question is out of the thread, but I have to ask: Is there a way to setup a widget on the main CMS to show friendly sites with small graphic and link to them?

Thanks a lot again!

Regards,

vikris

Scooterpig
04-16-2010, 09:14 PM
We want to put our banners to in the Header to the right of the logo but can't work it out. Can anyone please tell me what template or where I put the code as per the attached pic for it to show up underneath the Welcome and above the Search?

Thank you..:)

y2ksw
04-17-2010, 08:59 AM
y2ksw, could it works also as a Google Adsense, so recreating the same functions?
The plugin is not a replacement for Google Adsense or any other system. However you may use it to show Google Adsense scripts and will give you a little extra feedback, such as the number of impressions.

y2ksw
04-17-2010, 09:11 AM
One of the greatest addons!!! :) I have several questions though:

1. Will it be in the future more than 10 positions?

2. Some of the ads are displaying also in the forums (specifically header and footer) how to remove that? I like the ads to be displayed only on CMS page.

3. Maybe this question is out of the thread, but I have to ask: Is there a way to setup a widget on the main CMS to show friendly sites with small graphic and link to them?

Thanks a lot again!

Regards,

vikris

As said before, 10 positions are much more than you ever would need on any kind of site. If you see a position as a fixed place somewhere in your styles, it is a partly wrong assumption. Positions are rather banner types, like square, wide or skyscraper. Together with other settings, you get almost unlimited filters where and how to show banners, all with one of the same "position", or at most, one or two additional ones.
You will have to use conditionals in your styles. I don't know yet how this works on 4.x, but I'm sure somebody knows (I'm not a designer). Most probably it hasn't changed much and a comparison to THIS_SCRIPT suffices (some sort of if condition="THIS_SCRIPT='content'" tag).
I believe so. But since I'm not a designer, I can't tell :)

y2ksw
04-17-2010, 09:36 AM
We want to put our banners to in the Header to the right of the logo but can't work it out. Can anyone please tell me what template or where I put the code as per the attached pic for it to show up underneath the Welcome and above the Search?

Thank you..:)
I believe those are: ad_global_header1 and ad_global_header2 ...

Scooterpig
04-17-2010, 10:47 PM
I believe those are: ad_global_header1 and ad_global_header2 ...

Thanks but nope that don't work sorry...:(

y2ksw
04-18-2010, 01:25 PM
Thanks but nope that don't work sorry...:(
Well' I pass the hot potatoe to the designers. I'm anyway only a coder and design/style problems are not my strength.

vikris
04-18-2010, 01:55 PM
As said before, 10 positions are much more than you ever would need on any kind of site. If you see a position as a fixed place somewhere in your styles, it is a partly wrong assumption. Positions are rather banner types, like square, wide or skyscraper. Together with other settings, you get almost unlimited filters where and how to show banners, all with one of the same "position", or at most, one or two additional ones.
You will have to use conditionals in your styles. I don't know yet how this works on 4.x, but I'm sure somebody knows (I'm not a designer). Most probably it hasn't changed much and a comparison to THIS_SCRIPT suffices (some sort of if condition="THIS_SCRIPT='content'" tag).
I believe so. But since I'm not a designer, I can't tell :)

Thanks a lot for this clarification!

Regards,

Vikris

heatherw610
04-19-2010, 04:21 PM
Hello, when I have 2-3 banners in, every so often it will show nothing. Its like it goes through them all and then will "run out" so that space on my forum is like there was nothing ever there. Anyone know how to fix this?