vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Adsense Banners in Your Archive (https://vborg.vbsupport.ru/showthread.php?t=125879)

smoknz28 09-12-2006 11:45 PM

Nooooob....sorry here.... :cross-eyed:

I imported the product.

When I go to the Plugins & Products >> Manage Products >> Edit Archive Adsense.... I don't see where I'm to add my adsense code....?

Please understand that I am a noob here with these plugins and products...

amykhar 09-13-2006 11:00 AM

You go in the plugin manager and edit the two plugins.

smoknz28 09-13-2006 02:12 PM

Quote:

Originally Posted by amykhar
You go in the plugin manager and edit the two plugins.

Hi Amy, I've gone into the plugin manager and there is only one plugin for this "Archive Adsense".

I then select edit for this plugin....but I don't understand where I am to edit in my adsense data....? Under Add New Install/Uninstall Code >> Install Code??

Sorry, but I'm really lost.....

Also, you say I'm to edit the two plugins....there is only one plugin in your download here and that's what I have installed.

Yea like I said.....I'm really lost here. Sorry....

amykhar 09-13-2006 02:22 PM

There is one product containing TWO plugins. Do not go to the product manager. Go to the plugin manager. look for two plugins with the word adsense in them. Click edit. You will see the code there. Take out the existing adsense code and put in the new code you wish to use.

smoknz28 09-13-2006 03:02 PM

Ah yup, definitely a newb here.... :hurt:

K, I went in and edted both codes and they look as such:

Product: "Archive Adsense"
Hook Location: "archive_complete"
Title: "Archive Bottom"
Execution Order: "5"
Plugin PHP Code:

$output.='
<div align="center" style="padding:4px; overflow: hidden;\">
<script type="text/javascript"><!--
google_ad_client = "pub-1087880827049389";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</td><td width="15%" valign="top">
<script type="text/javascript"><!--
google_ad_client = "pub-1087880827049389";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>

';

Plugin Is Active: "Yes"

I cannot get my adsense script to run with the above.

Thanks Amy

amykhar 09-13-2006 03:19 PM

I see the banners on your site, but your html adjustments are a wee bit out of whack.

smoknz28 09-13-2006 04:48 PM

Quote:

Originally Posted by amykhar
I see the banners on your site, but your html adjustments are a wee bit out of whack.

Mmmmm....not sure if we're looking at the same site here.

http://www.f-bodyhideout.com/forums

I don't see adsense running at all....

amykhar 09-13-2006 05:09 PM

Yep. That's the one. It's got two banners about rss at the top and the content is scrunched over to the side in firefox.

smoknz28 09-13-2006 05:21 PM

Interesting....IE doesn't show any banners.

Do you know why this is?

kevinj 09-17-2006 02:51 PM

Excellent thanks :)


All times are GMT. The time now is 05:36 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.01267 seconds
  • Memory Usage 1,736KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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