Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Google Adsense on members profile's (side block). Details »»
Google Adsense on members profile's (side block).
Version: 1.00, by Bin7raib Bin7raib is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 12-24-2010 Last Update: Never Installs: 16
Uses Plugins
Re-useable Code Code Changes Translations  
No support by the author.

Google Adsense on members profile's.

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

Live Demo :

Here

Installation:

1. Import "product-adsense_member_profile.xml" as a product.
2. On "MEMBERINFO" template, look for :
Code:
$blocks[stats_mini]
add below it
Code:
$blocks[adsense]
and save it.
3. On "memberinfo_block_adsense" template, look for :
HTML Code:
<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 .

Download Now

File Type: zip Google_Adsense_on_proflies_Arabic.zip (78.8 KB, 41 views)
File Type: zip Google_Adsense_on_proflies_English.zip (78.7 KB, 106 views)

Screenshots

File Type: png screenshot.png (78.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-26-2010, 05:54 PM
mbc100 mbc100 is offline
 
Join Date: Feb 2009
Location: K.S.A
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i like it thanks
Reply With Quote
  #3  
Old 12-27-2010, 12:17 PM
Bin7raib Bin7raib is offline
 
Join Date: Mar 2009
Location: UAE - Khorfakkan
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

welcome
Reply With Quote
  #4  
Old 12-28-2010, 10:51 PM
garyopa's Avatar
garyopa garyopa is offline
 
Join Date: Dec 2009
Location: The World Wide Web
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 12-29-2010, 12:44 PM
Bin7raib Bin7raib is offline
 
Join Date: Mar 2009
Location: UAE - Khorfakkan
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by garyopa View Post
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] ?
Reply With Quote
  #6  
Old 12-30-2010, 01:36 AM
garyopa's Avatar
garyopa garyopa is offline
 
Join Date: Dec 2009
Location: The World Wide Web
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bin7raib View Post
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!
Reply With Quote
  #7  
Old 12-30-2010, 07:42 AM
Bin7raib Bin7raib is offline
 
Join Date: Mar 2009
Location: UAE - Khorfakkan
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 .
Reply With Quote
  #8  
Old 12-26-2011, 03:53 AM
Sevo Sevo is offline
 
Join Date: Nov 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry to bring back an old thread..

I did the template edits and uploaded the XML. Still nothing shows. Am I missing something?
Reply With Quote
  #9  
Old 01-09-2012, 09:10 AM
K.C. K.C. is offline
 
Join Date: Dec 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sevo View Post
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.
Reply With Quote
  #10  
Old 01-10-2012, 11:28 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tthis is a template edit !
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08529 seconds
  • Memory Usage 2,323KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete