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)

webmaster74 02-04-2015 08:33 AM

y2ksw, I need your help. Banners are not showing up on my site and I have no idea why.

johnscanlan2 02-04-2015 05:07 PM

Quote:

Originally Posted by y2ksw (Post 2533895)
Maybe you are taking it too serious. Could you please just take any existing template and paste the following code, after a clean (re)install:
Code:

<!--@vbbanners:0@-->
and save?

The default banners will show. Then, eventually, you could start to make changes and see what happens.

I agree 100%. Seems most folks way over think this great app. I find 99% of the time when it fails to work, it is due to something I goofed up. If you have a moderate familiarity of HTML this this gem becomes a powerhouse.

1.) My most common errors has to do with leaving out something in the code above.

2.) Next biggest error is the start and expire dates. If your dates are outside of the current date or wrong, nothing shows up.

3.) Next, I put the graphic banner in a separate directory and then make darn sure the software knows where to look. Example:

/sponsors/Joesgasstation/banner1.jpg
/sponsors/ajax/banner1.jpg

I find many inexperienced vb folks get confused over where the files are. So if this program can't find them, nothing shows up.

Perhaps when I get a chance I'll do a Dummies Guide RBS. It really is a simple program that even I way over thought in the beginning. Once I figured it out, I was banging my head on the wall over not being able to see the ease of use of this great little program.

I currently have 25 advertising spots, some rotating, some not, on my site.

John Scanlan
Columbus OH

rhody401 02-05-2015 02:30 PM

I have about 40 spots going, for various purposes on my site. (Some in the header, some between posts, some for unregistered users, some on the main menu only, etc)

It is a fantastic plug-in, and highly configurable.

I like that you can assign "run dates", provide stats, and can keep comments on each banner.

Everything you should need is in the docs, and in this thread.

dknelson 02-28-2015 09:58 PM

I've been using this for some time now and it's a great mod. I just installed it on another forum and have the same problem I had on the first one.

The only way I can get it to work is to actually edit the template to place the code in the hook location where I want it to show up. It works great that way.

If I try to add it to the VBulletin Advertising "New Banner", it never shows up.

If I try to edit templets and put it any ANY of the "Ad Location" templates, they don't show up.

The only way it works is if I edit the actual template, Header, Breadcrumb, etc. and place it directly in the template.

Can anybody tell me why?

y2ksw 02-28-2015 10:07 PM

If you use custom styles, they may not implement part of the template hooks.

dknelson 02-28-2015 10:15 PM

Thanks, but it's a default style on the new site.

y2ksw 03-01-2015 03:32 PM

Then, eventually you have vbSEO installed and HTML cleaning enabled, or some other HTML cleaning active. Or, you are doing something wrong, but I have no idea, what.

y2ksw 03-09-2015 02:34 PM

Quote:

Originally Posted by X-or (Post 2539936)
hi, thanks for this :-)

but is it only for ads?

or can I simply use this for picking a random banner among a pool for my site

It's for anything you like. I've used it also to show random phrases from famous people.

y2ksw 03-09-2015 06:44 PM

How simple must it be to be simple enough? :)

rhody401 03-11-2015 04:40 PM

It's pretty simple :)

You just put one small string of text where you want the banner(s) to appear.

I have a rotation of small ones in the header ad location 1, primary banners on top and bottom of each page, and a general banner every 5th post. (all are managed by this great tool)

It provides statistics for each banner, and a link someone can click remotely to check it in realtime.

I have been using it at www.ppfacorner.com for over 3 years now.


All times are GMT. The time now is 08:13 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03154 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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