vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Put Adsense Banners in Your Archive (https://vborg.vbsupport.ru/showthread.php?t=100299)

soletrader 07-31-2006 01:20 AM

Quote:

Change the two plugins to use the adsense code for your site (instead of mine - unless you are feeling generous) and to arrange its positioning as desired.

Where do I go to change this?

gingery 08-03-2006 01:36 PM

Quote:

Originally Posted by soletrader
Where do I go to change this?

Plugin manager in your adminCP

bbcentral 08-22-2006 07:34 PM

Any reason why you're escaping all your quotes instead of using PHP heredocs?
They make it much easier to paste code in without having to escape everything.

PHP Code:

$output.=<<<OUTPUT
<div align="center" style="padding:4px;overflow:hidden;">
<script type="text/javascript"><!--
google_ad_client = "pub-CODE;
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="123456789";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<tr><td width="85%" valign="top">
OUTPUT; 

Unless there's some negative to using that method I'm not aware of?

bbcentral 08-22-2006 07:47 PM

Oh, where are my manners...
Great mod!!!!
Thanks Amy :D
It looks fantastic!
I have one tip for people, don't forget to create a custom channel called "Forum Archive" or something, so that when you generate the code for these ads it will track them properly. I get a lot of traffic on my archived pages, from people searching for information. But it can be really useful to know how much of your Adsense revenue is coming from the archive, and how much is coming from your regular forum (assuming you have ads there).
If I remember, in a few weeks I might post a followup here to show what percentage of my revenue came from the Archive, it might be useful information for someone.

blue_chi 08-27-2006 06:49 AM

Works fine on 3.6, great product. Thanks so much!

MajorFm.com 08-30-2006 05:27 PM

Installed on 3.6.0 and added my own banners:

http://www.majorfm.com/forum/archive/index.php

If you want to add your own banners, you simply have to replace all " with \"

agitated 09-03-2006 05:42 PM

Thanks for this amykhar. perfect.:cool:
Did away with the Google code and inserted banners, <h1> text and a couple of <a href> hyperlinks. Looks good, I'm pleased with it.

Caveman2k2 09-03-2006 06:38 PM

I'm having some problems with the layout of the ads. Please take a look at my archive Here
How can I fix this?

friendly 09-04-2006 09:27 PM

Greetings Amy!

I inserted the top and bottom codes for 3.6.0 but none of the ads show up at all.

Any ideas what could be wrong?

friendly 09-04-2006 09:49 PM

I folowed this post and everything's fine now. Thanks!


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