vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Google Ads Enhanced (https://vborg.vbsupport.ru/showthread.php?t=109448)

ShadowOne 03-03-2006 10:00 PM

Google Ads Enhanced
 
Google Ads Enhanced

You Need To Have This Completed First Just Without The Template MODS...
https://vborg.vbsupport.ru/showthrea...5&page=1&pp=15
After You Have Done This... Then You Can Use My Enhancement...

This Is A Very Simple MOD...Its My First Posted On The Site Ever...Just Thought You All Would Like It, If Theres Any Like It, I Do Apologize, Just Let Me Know...

What This Does?
Gives Your Google Ads A Better, Cleaner Look!

Just Make Sure To Alter Colors To Fit Your Site...


How To Install?

Go Into Your FORUMHOME Template, Find:
PHP Code:

$header
$navbar 

Place This Text Directly Below It..

PHP Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr><td align="center"width="728" class="thead" colspan="2"><center>Advertisements</center></td></tr>
<
tr><td class="alt1" colspan="2" ><span class="smallfont"><center><script type="text/javascript"><!--
google_ad_client "pub-2817929267469780";
google_ad_width 728;
google_ad_height 90;
google_ad_format "728x90_as";
google_ad_type "text";
google_ad_channel ="";
google_color_border "FFFFFF";
google_color_bg "FFFFFF";
google_color_link "475D66";
google_color_url "475D66";
google_color_text "000000";
//--></script>
<center><script type="text/javascript"
  
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</
script></center></span></td></tr><td class="tfoot" align="center"></td></table><br

You Can Also Move This Anywhere On Your Homepage...Underneath Whats Going Or Whereever...This Is For Underneathe The Navbar...Just Copy And Paste The MOD Anywhere On Your Forumhome That You Would Like....

And, You Can Make It Wider Or Less Wide By Changing The Forum Width Numbers... Cant Get Any More Simple...

[EDITED]
ALSO: Do Not Use My Google Ad Info, Or It Will Show Mine, Use Your Own...THIS MEANS CHANGE THE CLIENT NUMBERS AND WHAT NOT... THIS HAS BEEN POSTED SO YOU CANT ACCUSE ME OF ANY WRONG DOINGS!


This Should Work For 3.5 And Above With No Problem...

Lineman28645 03-04-2006 06:55 PM

Reserving spot for this one :)

Little Tip: next time save in jpeg format, bmp loads really slow. ;) Plus, when you do this mod, do not add the google add information he has shown. Use your own, otherwise his google ad will be showing on your forums. ;)

ShadowOne 03-04-2006 07:04 PM

Quote:

Originally Posted by Lineman28645
Reserving spot for this one :)

Little Tip: next time save in jpeg format, bmp loads really slow. ;) Plus, when you do this mod, do not add the google add information he has shown. Use your own, otherwise his google ad will be showing on your forums. ;)

Thanx...UPDATED IN FIRST POST

Reeve of shinra 03-04-2006 07:16 PM

nice work!

ShadowOne 03-04-2006 07:20 PM

thanx... as i said, this is my first hack ive ever posted up... so if its not flawless, thats the reason...

ericgtr 03-04-2006 07:50 PM

Nice mod. Clean and doesn't draw unnecassary attention to the ad as per the TOS. I'll click install and get around to putting it up soon. :)

ShadowOne 03-04-2006 07:57 PM

Quote:

Originally Posted by ericgtr
Nice mod. Clean and doesn't draw unnecassary attention to the ad as per the TOS. I'll click install and get around to putting it up soon. :)

Thank You...

Eh, If Anyone Else Installs...Link Me So I Can See It In Action Somewhere Else..

ShadowOne 03-04-2006 08:13 PM

wow...87 Views Ans 2 Installs....

AFMichael 03-04-2006 08:17 PM

Nicely done. I clicked install so that I can access later when I get home. :D

wizardan 03-04-2006 08:31 PM

Clean and simple.
Well done.
Installed.

Snake 03-05-2006 10:39 AM

Wow I like it. Thanks!

noj75 03-05-2006 11:07 AM

Thanks very much, just installed.

sensimilla 03-05-2006 11:08 AM

Quote:

Originally Posted by ShadowOne
wow...87 Views Ans 2 Installs....

Its becaue there so many threads about adsense that everyone already
implemented it to their sites.. no need to create another topic about it..

I really dont get where is the difference...

ShadowOne 03-05-2006 12:52 PM

Quote:

Originally Posted by sensimilla
Its becaue there so many threads about adsense that everyone already
implemented it to their sites.. no need to create another topic about it..

I really dont get where is the difference...

Link Me To One Like Mine....And If Your Not Going To Install... Dont Down Me... Just Say Nothing At All.... :tired:

ericgtr 03-05-2006 01:05 PM

Quote:

Originally Posted by sensimilla
Its becaue there so many threads about adsense that everyone already
implemented it to their sites.. no need to create another topic about it..

I really dont get where is the difference...

The difference is that it puts it in it's own table utilizing a class and labels it as to where most of us just slap in the Adsense code into our templates. I don't see a reason to put it down, it's clearly stated and is an enhancement.

dartworth 03-05-2006 08:30 PM

Just installed it

http://www.cdmaforums.com/forums

Look good...we will try it out for a week or so.

Thanks

ShadowOne 03-05-2006 08:41 PM

Quote:

Originally Posted by dartworth
Just installed it

http://www.cdmaforums.com/forums

Look good...we will try it out for a week or so.

Thanks

Yah, Make Sure You Put Your Info In Though...Or Else You're Using Mine....

AKapadia 03-05-2006 11:07 PM

it's nice just small problem on Aria Skin this will show after Welcome Bar , and ShoutBox and i think its too down.. but good work..

ShadowOne 03-06-2006 02:31 AM

Quote:

Originally Posted by AKapadia
it's nice just small problem on Aria Skin this will show after Welcome Bar , and ShoutBox and i think its too down.. but good work..

As I Said, You Can Move It Anywhere...Underneath The Whats Going On Box Or In The Footer Too, Which I Will Edit My First Post With The Instructions On How To Do So...But Just Put It In The Footer For Now Should Do...lol...

ConqSoft 03-06-2006 02:48 AM

In all my tests for my site, I get much better click-thru rates by having the ads blend in with the site instead of standing out with a border. Be sure to experiment with lots of different configurations to find the best layout for your audience.

sensimilla 03-06-2006 07:09 AM

Quote:

Originally Posted by ShadowOne
Link Me To One Like Mine....And If Your Not Going To Install... Dont Down Me... Just Say Nothing At All.... :tired:

Quote:

Originally Posted by ericgtr
The difference is that it puts it in it's own table utilizing a class and labels it as to where most of us just slap in the Adsense code into our templates. I don't see a reason to put it down, it's clearly stated and is an enhancement.

I just dont see where its enhanced... sorry..
Threads at vbulletin.com allow any adsense placement.. in a nice and clean table..
http://www.vbulletin.com/forum/showthread.php?t=157022

I encourage you to share any hack here of course, and keep up the good work.
I was just wondering where was the difference as my english is not good enough to get little differences at first sight..

I recommand this topic too..

vBulletin Google Adsense Deep Integration Tutorial

Mike Empuria 03-06-2006 07:51 AM

Very timely. Exactly what I was looking for and I've installed it on Wife Still Woman. Thanks for this.

ShadowOne 03-08-2006 04:27 PM

Quote:

Originally Posted by Mike Empuria
Very timely. Exactly what I was looking for and I've installed it on Wife Still Woman. Thanks for this.

Your Welcome...

Celtkin 03-08-2006 06:17 PM

Good job...now I need to find a way to put it in the individual category pages (posting pages).

Outstanding, clean and very easy install

ShadowOne 03-09-2006 04:58 PM

Quote:

Originally Posted by Celtkin
Good job...now I need to find a way to put it in the individual category pages (posting pages).

Outstanding, clean and very easy install


This Piece Of Code From What I Can See, Can Probably Go Anywhere You Stick... And If Not, You Can Always Delete The Code And Try Somewhere Else...PM Me If Anyone Needs Help...

ShadowOne 04-10-2006 03:53 PM

My Hack Fell Off...I Wonder Why..

Josh Combs 07-22-2006 11:14 PM

I fixed the width to adjust to what my style width was set too by changing your code to
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[outertablewidth]" align="center">
<tr><td align="center"width="728" class="thead" colspan="2"><center>Advertisements</center></td></tr>
<tr><td class="alt1" colspan="2" ><span class="smallfont"><center><script type="text/javascript"><!--
google_ad_client = "Your googleadsense id";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "475D66";
google_color_url = "475D66";
google_color_text = "000000";
//--></script>
<center><script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center></span></td></tr><td class="tfoot" align="center"></td></table><br>


stodan 07-28-2006 06:48 PM

Excellent works great. Very Easy to install.:) I clicked on install. Just one question how do you install this on every Page(Not just ForumHime)?

Stunner Inc. 08-06-2006 02:34 AM

Place it in your header, footer or navbar template.

ShadowOne 10-16-2006 10:50 PM

Quote:

Originally Posted by Stunner Inc.
Place it in your header, footer or navbar template.


Correct.

Lextreme 11-12-2006 03:48 AM

Hello,

I installed and its working but it only show on the main page. What do I need to do to make it appear in all pages?

Ohh-Dutch 11-12-2006 05:33 PM

Place It In Your Header Or Footer Template...


All times are GMT. The time now is 04:59 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.01301 seconds
  • Memory Usage 1,818KB
  • 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_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete