vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Rotating Banner System (https://vborg.vbsupport.ru/showthread.php?t=188328)

rgreene1971 06-19-2012 12:18 PM

I have attempted to use the default banner ad system in vb4 and found if I have a shoutbox installed teh banner system conflicts with it. Will this banner system work with shoutbox mods such as vsa's shoutbox? The problem I had run into is when I placed an ad below the navbar, any person who clicked to use the shoutbox would be taken to the ad.

y2ksw 06-20-2012 11:32 AM

Quote:

Originally Posted by rgreene1971 (Post 2341044)
I have attempted to use the default banner ad system in vb4 and found if I have a shoutbox installed teh banner system conflicts with it. Will this banner system work with shoutbox mods such as vsa's shoutbox? The problem I had run into is when I placed an ad below the navbar, any person who clicked to use the shoutbox would be taken to the ad.

The shoutbox hooks into the templates and makes some changes I guess. Maybe you will have to choose another template for the banners, or make sure that there are no template conflicts. Most probably you will run fine inserting the banner just a line below, using <br /> or something alike. I do have forums with shoutbox and banners and there were never problems.

rgreene1971 06-21-2012 02:47 AM

Quote:

Originally Posted by y2ksw (Post 2341414)
The shoutbox hooks into the templates and makes some changes I guess. Maybe you will have to choose another template for the banners, or make sure that there are no template conflicts. Most probably you will run fine inserting the banner just a line below, using <br /> or something alike. I do have forums with shoutbox and banners and there were never problems.


Thank you, I will be on the lookout for a new template for my site.

killerford 06-23-2012 04:49 PM

Just wondering if this is working for 4.2?

rhody401 06-25-2012 09:35 AM

It works like a champ with 4.2 pl2

axix20xx 06-25-2012 12:18 PM

Thanks for this mod
Is it possible to MOD look only for one usergroup permission?
do you have any idea?

dsantana 06-26-2012 08:08 PM

1 Attachment(s)
Is it possible to place ads in a forum sidebar block?
See image...

princesspepper 07-07-2012 06:02 PM

Quote:

Originally Posted by dsantana (Post 2343132)
Is it possible to place ads in a forum sidebar block?
See image...

Yes. you can place them anywhere.

princesspepper 07-07-2012 06:04 PM

What would be REALLY useful for me is if you could specify a username to associate with each ad, and then that username would be associated with a particular usergroup, such as 'sponsors' or 'advertisers'.

I have a section where only advertisers can post, to announce offers, or post updates and it's a pain to have to remember to put them in or take them out of this group when the ads expire.

y2ksw 07-07-2012 07:32 PM

Quote:

Originally Posted by princesspepper (Post 2345865)
What would be REALLY useful for me is if you could specify a username to associate with each ad, and then that username would be associated with a particular usergroup, such as 'sponsors' or 'advertisers'.

I have a section where only advertisers can post, to announce offers, or post updates and it's a pain to have to remember to put them in or take them out of this group when the ads expire.

This feature makes sense only for a fully driven ad management. You may however think about the "notes" field together with the final date/time and/or enabled flag, and some home-brewed cronjob which may solve this problem just for you.

dsantana 07-09-2012 01:42 AM

Quote:

Originally Posted by princesspepper (Post 2345864)
Yes. you can place them anywhere.

Awesome!!! Can you give me a little more info on "How to" do this please?

J709AB9E5C42 07-12-2012 12:41 PM

I am having trouble with it only rotating the first three ads on the main forum page, then showing all ads when I go into a forum, then only showing the first three ad banners on the actual thread pages, why is this happening? I've reinstalled it too, I'm running vbulletin 4.2 L2 and rotating banner 2.4.0
www.fordgtalley.com

y2ksw 07-14-2012 11:16 AM

Quote:

Originally Posted by J709AB9E5C42 (Post 2347258)
I am having trouble with it only rotating the first three ads on the main forum page, then showing all ads when I go into a forum, then only showing the first three ad banners on the actual thread pages, why is this happening? I've reinstalled it too, I'm running vbulletin 4.2 L2 and rotating banner 2.4.0
www.fordgtalley.com

I'm not sure if I understood your question. On the other hand, I see you have banners all over the place ... if there are problems, maybe we rather handle each single instance than all together ... :)
  1. What should happen in forum home, and what happens instead?
  2. What should happen in the forum sections, and what happens instead?
  3. What should happen in the threads, and what happens instead?

Nelson58 07-14-2012 12:55 PM

I just started using your mod and have a simple question.

Do I have to put the vbb code in the advertising section in the cpanel for each location I want to have an ad?

How then can ads be placed anywhere, if I am limited to the positions in the Advertising function?

Thanks in advance!

Nelson

y2ksw 07-14-2012 01:21 PM

Quote:

Originally Posted by Allthumbz (Post 2348024)
I just started using your mod and have a simple question.

Do I have to put the vbb code in the advertising section in the cpanel for each location I want to have an ad?

How then can ads be placed anywhere, if I am limited to the positions in the Advertising function?


Thanks in advance!

Nelson

cpanel isn't vbulletin :)

In Admin CP of vbulletin you will have to add one or more new banners into one or more locations as you wish. Normally you would just occupy location 0 for all banners and put one or more <!--@vbbanners:0@--> at any template you wish, even into CMS widgets or forum blocks. If you have for example the need to show specific banners in your signature, or if you wish to show a page peel, then you would use a different location and a different placeholder, e.g. for location 8: <!--@vbbanners:8@-->.

ComoEstaEso-com 07-16-2012 11:52 AM

Hello,

Question:
Is there a way to have a specific banner not display on a specific CMS/article page?

I am interested in displaying all our rotating banners everywhere on the site, yet there's one Article, where I would like not to display 1 specific banner, yet display the others.

Is there a way?

Thank you!

SimonB 07-16-2012 11:59 AM

Is there any way to weight an ad using this mod? For example if one wants an ad to be 5 times more likely to show up than another, how would one do this (other than the obvious and duplicate the ad 5 times :rolleyes:)

dsantana 07-16-2012 12:41 PM

1 Attachment(s)
I'm still looking for specific instructions on how to put ads in a sidebar block?

SimonB 07-16-2012 01:03 PM

Quote:

Originally Posted by dsantana (Post 2348661)
I'm still looking for specific instructions on how to put ads in a sidebar block?

Create a new HTML block and put the ad code in there as previously instructed

dsantana 07-16-2012 05:20 PM

Quote:

Originally Posted by SimonB (Post 2348666)
Create a new HTML block and put the ad code in there as previously instructed

I've obviously missed this post. I read back to where I first asked the question and still didn't see the answer.

Where would I get the "ad code" from?

Videx 07-17-2012 02:17 AM

Quote:

Originally Posted by dsantana (Post 2348732)
I've obviously missed this post. I read back to where I first asked the question and still didn't see the answer.

Where would I get the "ad code" from?

The code is given in the instructions. But don't start with it; instead, create a simple .jpg the size you want and make sure that shows up correctly where you want it. Then you can use the RBS code in place of it.

y2ksw 07-17-2012 06:05 AM

Quote:

Originally Posted by ComoEstaEso-com (Post 2348645)
Hello,

Question:
Is there a way to have a specific banner not display on a specific CMS/article page?


I am interested in displaying all our rotating banners everywhere on the site, yet there's one Article, where I would like not to display 1 specific banner, yet display the others.

Is there a way?

Thank you!

You may try a style condition based on the article ID and use 2 different locations, where one banner set has all and the other set all but one of the banners. Based off the article ID, you then show the one or the other location.

y2ksw 07-17-2012 06:06 AM

Quote:

Originally Posted by SimonB (Post 2348648)
Is there any way to weight an ad using this mod? For example if one wants an ad to be 5 times more likely to show up than another, how would one do this (other than the obvious and duplicate the ad 5 times :rolleyes:)

Do the obvious :)

y2ksw 07-17-2012 06:08 AM

Quote:

Originally Posted by dsantana (Post 2348661)
I'm still looking for specific instructions on how to put ads in a sidebar block?

Quote:

Originally Posted by SimonB (Post 2348666)
Create a new HTML block and put the ad code in there as previously instructed

Sample code:
PHP Code:

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


SimonB 07-17-2012 06:21 AM

Quote:

Originally Posted by y2ksw (Post 2348855)
Do the obvious :)

I was hoping you wouldn't say that... just makes reporting on that ad a tad more difficult I guess. Perhaps something to consider for a future version?

Now if I can try work out why the ad wont show up in my "Below Navbar" position but it works in all my other custom positions...

y2ksw 07-17-2012 07:32 AM

Quote:

Originally Posted by SimonB (Post 2348859)
I was hoping you wouldn't say that... just makes reporting on that ad a tad more difficult I guess. Perhaps something to consider for a future version?

Now if I can try work out why the ad wont show up in my "Below Navbar" position but it works in all my other custom positions...

The weight calculations would add far too much overhead on loading, since it would need to query also the impression history each time, and also the start and end dates, and, and, and ... trust me, you would not like this plugin any more after you got proper weight handling :)

If we would work around this history, making it just "more probable" to show up, we would run in a new bunch of problems, such as showing weighted banners too often. The only weighting we have been playing with for a while, was the favouring of new banners until they have somewhat levelled compared to the old banners, but even this method was then abbandoned.

---

Most banner problems are due to a wrong time frame, spelling errors and/or too restrictive additional rules ;)

SimonB 07-17-2012 08:36 AM

Quote:

Originally Posted by y2ksw (Post 2348868)
The weight calculations would add far too much overhead on loading, since it would need to query also the impression history each time, and also the start and end dates, and, and, and ... trust me, you would not like this plugin any more after you got proper weight handling :)

If we would work around this history, making it just "more probable" to show up, we would run in a new bunch of problems, such as showing weighted banners too often. The only weighting we have been playing with for a while, was the favouring of new banners until they have somewhat levelled compared to the old banners, but even this method was then abbandoned.

Not sure if it needs to be too complex, just basing the ad placement on probabilities. If one's site carries enough traffic and it has a decent "randomiser" the probabilities should work out in the end.

I use Advertisment Management on my phpBB site (which is being migrated to vBulletin, hence the "need") and it works pretty well.

PS, the missing banner seemed to be a problem with the vbulletin ad side - just deleted the ad and created a new one.

y2ksw 07-17-2012 04:13 PM

Quote:

Originally Posted by SimonB (Post 2348880)
Not sure if it needs to be too complex, just basing the ad placement on probabilities. If one's site carries enough traffic and it has a decent "randomiser" the probabilities should work out in the end.

I use Advertisment Management on my phpBB site (which is being migrated to vBulletin, hence the "need") and it works pretty well.

PS, the missing banner seemed to be a problem with the vbulletin ad side - just deleted the ad and created a new one.

I understand perfectly well, but I would not like to make this product work like a full driven advertising management. For that, much more work has to be done, it's just not only banners weight, but also reports, graphics, payment, channels, customers, providers, resellers, Google integration + 100 other small and big features :)

Nelson58 07-18-2012 10:23 PM

<font size="3">What do you guys use to create the banner ads for your sites?

I want to use this modification to rotate banners that I create for users that write excellent articles for my site. A banner such as "Project of the Month Winner John Smith" is what I want to create.

How do you guys create these types of banners?

Thanks!!

Nelson</font>

FannBlade 07-18-2012 10:56 PM

Quote:

Originally Posted by Allthumbz (Post 2349377)
What do you guys use to create the banner ads for your sites?

I want to use this modification to rotate banners that I create for users that write excellent articles for my site. A banner such as "Project of the Month Winner John Smith" is what I want to create.

How do you guys create these types of banners?

Thanks!!


Nelson

I've been using Laughingbird's logo creator for years now and work great for those quick little banners and logos.
http://www.youtube.com/watch?v=0XYaLuPFa-I

Videx 07-18-2012 11:43 PM

We just use Photoshop or whatever other graphics app is handy. No special software required. My biggest problem is creativity. It's not easy to keep coming up with brand new designs. Especially ones that fit in with all of our styles.

Nelson58 07-19-2012 04:05 PM

Quote:

Originally Posted by Videx (Post 2349391)
We just use Photoshop or whatever other graphics app is handy. No special software required. My biggest problem is creativity. It's not easy to keep coming up with brand new designs. Especially ones that fit in with all of our styles.

I assume you simply store them in the images file on your site and point the rotating ad mod to that URL.


Nelson

Videx 07-20-2012 12:14 AM

Quote:

Originally Posted by Allthumbz (Post 2349557)
I assume you simply store them in the images file on your site and point the rotating ad mod to that URL.


Nelson

Yes, is there any other way?

Breixo 07-20-2012 08:57 AM

Working on 4.1.12, it takes some time to learn how to use it but it's well documented.

Thanks!

J709AB9E5C42 07-24-2012 01:32 PM

Quote:

Originally Posted by y2ksw (Post 2347986)
I'm not sure if I understood your question. On the other hand, I see you have banners all over the place ... if there are problems, maybe we rather handle each single instance than all together ... :)
  1. What should happen in forum home, and what happens instead?
  2. What should happen in the forum sections, and what happens instead?
  3. What should happen in the threads, and what happens instead?

It's taken me a while to get back to the site, but I'm still having trouble.

So I found that little box in settings that says to show only on homepage... I unchecked that so that all the banners should be rotating evenly throughout the site. NOW the problem I have is that NONE of the banners are showing up on the homepage! How do I get the banners to show up on the homepage? I've selected ALL the forum selections in the Forum options of the settings. Thanks! (the banner area I'm referencing is the top main header area)
www.fordgtalley.com

tamiyausa 07-24-2012 05:19 PM

Ok I have a weird one.

VB4.2
VBadvanced CMPS

Banners show
But you can not click on them? Yes there is a link in the "URL" spot.

Any ideas?

rhody401 07-24-2012 06:13 PM

I have noticed a small one too, in the past several versions:

The start and end dates fields... The times will change sometimes, after you save them.

Set it, save it, go back and check and it has different times.

I always assumed it had to do with me and my server being in different time zones - or something of that sort.

Has anyone else seen this behavior?

y2ksw 07-24-2012 06:14 PM

Quote:

Originally Posted by Videx (Post 2349702)
Yes, is there any other way?

You may also hotlink banners from other sites and link them to your landing pages :D

y2ksw 07-24-2012 06:22 PM

Quote:

Originally Posted by J709AB9E5C42 (Post 2351049)
It's taken me a while to get back to the site, but I'm still having trouble.

So I found that little box in settings that says to show only on homepage... I unchecked that so that all the banners should be rotating evenly throughout the site. NOW the problem I have is that NONE of the banners are showing up on the homepage! How do I get the banners to show up on the homepage? I've selected ALL the forum selections in the Forum options of the settings. Thanks! (the banner area I'm referencing is the top main header area)
www.fordgtalley.com

  1. To show a banner on all pages, deselect the "Home" option and also don't select any of the sections; this is the default for new banners.
  2. To show a banner on home and pages which have no section (PM, profile etc), select the "Home" option and don't select any of the sections.
  3. To show the banner in one or more sections but the home, deselect the "Home" option and select the desired sections and subsections (they don't propagate permissions).
  4. To show the banner in one or more sections and the home, you need to create one banner for the home and one for the sections.
Hope this helps :)

y2ksw 07-24-2012 06:25 PM

Quote:

Originally Posted by rhody401 (Post 2351107)
I have noticed a small one too, in the past several versions:

The start and end dates fields... The times will change sometimes, after you save them.

Set it, save it, go back and check and it has different times.

I always assumed it had to do with me and my server being in different time zones - or something of that sort.

Has anyone else seen this behavior?

It is a server issue. If the time zone of the MySQL server isn't the same as the server's timezone, there may be a time shift for one or more hours each time you save. The problem goes usually away when synching time with NTP once and then on all servers.


All times are GMT. The time now is 03:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03949 seconds
  • Memory Usage 1,858KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete