PDA

View Full Version : Add-On Releases - Google Adsense on members profile's (side block).


Bin7raib
12-24-2010, 10:00 PM
Google Adsense on members profile's.

Description:
Add a new side block on members profile's to show Google Adsense ads.

Live Demo :
Here (http://www.skfn.net/vb/member.php?u=1)

Installation:

1. Import "product-adsense_member_profile.xml" as a product.
2. On "MEMBERINFO" template, look for :
$blocks[stats_mini]add below it
$blocks[adsense]and save it.
3. On "memberinfo_block_adsense" template, look for :
<script type="text/javascript"><!--
google_ad_client = "pub-3804617437637892";
/* Profiles Ads */
google_ad_slot = "2113525941";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>and replace it with your Adsense code.
*the best size for the Banner is 200px*200px.
and save it.

Languages:
- English
- Arabic

History:
26-12-10: v3.8 First Release

This hack is free for everybody, if you want to support me, just one click on ads will support me :).

mbc100
12-26-2010, 05:54 PM
i like it thanks

Bin7raib
12-27-2010, 12:17 PM
welcome

garyopa
12-28-2010, 10:51 PM
I downloaded and installed this on my v3.8.6

And added the $blocks[adsense] in the MEMBERINFO template.

But nothing, it does not appear on any user profile page.

Bin7raib
12-29-2010, 12:44 PM
I downloaded and installed this on my v3.8.6

And added the $blocks[adsense] in the MEMBERINFO template.

But nothing, it does not appear on any user profile page.

Did you add $blocks[adsense] below $blocks[stats_mini] ?

garyopa
12-30-2010, 01:36 AM
Did you add $blocks[adsense] below $blocks[stats_mini] ?

I did -- It just took a while to appear. -- I have a number of caching modules loaded as my forum is very traffic heavy, both fcgi and apc and eaccelerator, so i noticed small changes like this, can take a while before they appear on some less used pages.

Thanks for the simple mod. -- Looks great!

Bin7raib
12-30-2010, 07:42 AM
That's right, some time Google ads take while to appear, and if you make a new banner you must wait 10 minutes to appear.

You're welcome :).

Sevo
12-26-2011, 03:53 AM
sorry to bring back an old thread..

I did the template edits and uploaded the XML. Still nothing shows. Am I missing something?

K.C.
01-09-2012, 09:10 AM
sorry to bring back an old thread..

I did the template edits and uploaded the XML. Still nothing shows. Am I missing something?

Same thing for me. Although I'm guessing it has to do with all the errors I'm getting when I try to add the $blocks part to the template.

abdobasha2004
01-10-2012, 11:28 PM
tthis is a template edit !

ikorolis
01-12-2012, 10:32 AM
no working

nothing shows

maybe google no support 200x200 ads.