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)

ecky 05-16-2010 09:48 AM

I accidentally deleted the default 2 google ads that came with this plugin. Instead of re-installing from scratch and just in case I possibly break a working installation, would it be possible to please post the configuration settings so I can reinstall google ads manually into the admin control panel?

Thanks

y2ksw 05-16-2010 10:38 AM

Quote:

Originally Posted by Scooterpig (Post 2037137)
Sorry to be a pest but am wanting the banners to display on all pages yet for me it's not working. if I read the settings correctly for each banner, it says that if I don't check any sections of the forum it will display on all sections, yet we only have it displaying on Forumhome.

Am I therefore required to add the code elsewhere other than Forumhome tog et it to show on all pages please?

Thank you..:)

If you put a placeholder in the header or footer template, it will show up on all pages. If you have used only the forumhome template, it will show only on forumhome, of course :)

Some great places are the templates beginning with ad_, such as ad_navbar_below.

y2ksw 05-16-2010 11:02 AM

Quote:

Originally Posted by ecky (Post 2037834)
I accidentally deleted the default 2 google ads that came with this plugin. Instead of re-installing from scratch and just in case I possibly break a working installation, would it be possible to please post the configuration settings so I can reinstall google ads manually into the admin control panel?

Thanks

Just backup your rbs_banners table, take note of your RBS Options (vbulletin options) if you have made any changes there and reinstall. Eventually you will have to export the translations as well, if you have changed it. Then reapply the RBS Options if necessary and you are done.

RBS is safe to reinstall, but of course it may need to do some additional work, if you have multiple language support and changed options.

I will not give the queries in order to insert the default banners, because doing so it would be very unsafe.

ecky 05-16-2010 11:30 AM

Sorry, this has went way over my head. :confused:

I've already updated to v2.2.6 and know nothing about tables and queries. I have about 8 adverts rotating exactly as they should and I'm concerned that I would lose all this data.

I expected a simple way to restart google ads again would be just to edit them in the same manner in which I added my own custom adverts to the banner options via the admin control panel?

y2ksw 05-16-2010 11:39 AM

Quote:

Originally Posted by ecky (Post 2037867)
Sorry, this has went way over my head. :confused:

I've already updated to v2.2.6 and know nothing about tables and queries. I have about 8 adverts rotating exactly as they should and I'm concerned that I would lose all this data.

I expected a simple way to restart google ads again would be just to edit them in the same manner in which I added my own custom adverts to the banner options via the admin control panel?

Well, you may create 2 new banners and paste:
Code:

<script type="text/javascript">
<!--
google_ad_client = "pub-8477879996596626";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

and

Code:

<script type="text/javascript"><!--
google_ad_client = "pub-8477879996596626";
google_ad_slot = "8172517593";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

in the "Text" field. Don't forget the title and the expiration date/time ;)

ecky 05-16-2010 11:51 AM

Exactly what I was looking for, this works perfectly.
Thank you very much!:up:

Sports Investor 05-26-2010 11:26 AM

Nice and easy Mod.

I had to duplicate one of the default ads to get it working, but it works like a charm now. I can even put the code in the advertisement areas that are already available.

Thanks!

MNbiker 05-26-2010 02:19 PM

Just installed on our 4.02 site w/CMS. Had it working perfectly in less than 30 minutes. :)

Great Mod!

-Steve

p.s. Thanks for the Flash tutorial and documentation.

Drache 05-28-2010 12:03 PM

looks nice. does this have the ability to count views and clicks? for example auto change to next banner once it's been viewed 1000times. and counts the click rate as well?

y2ksw 05-31-2010 02:31 PM

Quote:

Originally Posted by Drache (Post 2044574)
looks nice. does this have the ability to count views and clicks? for example auto change to next banner once it's been viewed 1000times. and counts the click rate as well?

It counts views and for certain banner types (pure images and flash with wrapper), the clicks as well. It allows also to limit the number of impressions and clicks (if clicks can be counted).

You may also limit the time and forums, and show banners only to a certain group of users.

However, it does not show banners progressively (attend one banner's viewing limits).


All times are GMT. The time now is 06:14 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.02250 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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