Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Google Adsense (or other) in a Block like an Individual Profile comment Details »
Google Adsense (or other) in a Block like an Individual Profile comment
Mod Version: 1.01, by YankForum (Coder) YankForum is offline
Developer Last Online: Sep 2014 I like it Show Printable Version Email this Page

vB Version: 4.0.6 Rating: (4 votes - 5.00 average) Installs: 20
Released: 06 Apr 2010 Last Update: 06 Apr 2010 Downloads: 65
Not Supported Template Edits Re-usable Code Translations  

This simple hack enables you to add an advertising block to every member's profile page , this block looks just like other comments posted to the user's profile and is an encouraging way to force visitors clicking on it !


It's a pretty simple template edit. I promise if there will be a need , i'll prepare it as a plugin , with no template edit !

Installation:
1-upload the "upload" folder (1 image file)
2-only one template edit :

vbulletin>Styles & Templates>Style Manager>edit templates>Member Info Templates>memberinfo_block_visitormessaging :


Find :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

ADD before it (in case you want your add to be displayed on top of comments) or after it (in case you want your add to be displayed below all comments) , code below:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3-Do not forget to change the "//PUT YOUR GOOGLE ADSENSE OR ANY OTHER ADS YOU'RE USING" to match your desired adsense code ( or any other ).

DONE

thnx goes to Leo Brazil for this thread , giving me this idea to have that option in profile pages also !

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenshot.jpg
Views:	1507
Size:	47.8 KB
ID:	115398  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Google Adsense (or other) in a Block like an Individual Post Leo Brazil vBulletin 4.x Template Modifications 15 25 Sep 2013 16:17
Forum Display Enhancements Google Adsense (or other) in a Block like a Thread on FORUMDISPLAY Leo Brazil vBulletin 4.x Template Modifications 42 25 Sep 2013 16:16
Profile Enhancements Google Adsense Banner in Member Profile v1.0 kether1 vBulletin 3.7 Template Modifications 32 23 Aug 2010 17:22

Comments
  #2  
Old 06 Apr 2010, 21:15
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Real name: Olav
Great mod. Thanks for sharing

Is there any way to have the sponsored links show even when a member does not have any visitor messages on the members page?
__________________
Administrator @ RadioCtrl Forums - Your online R/C community.
Reply With Quote
  #3  
Old 06 Apr 2010, 21:25
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
I'm not sure if the TOS has changed since I received an email warning against this but.. disguising your Adsense ads to appear to be anything other than ads (ie: a Post from a member of the site) is something they frown upon, and can result in your account and all its earnings being killed off.

*edit* The way around it, from memory, was to totally strip back the postbit that you are using for the Google post, so it looks nothing like all the rest. To hide it like you are suggesting is totally against the TOU.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #4  
Old 06 Apr 2010, 21:27
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Just checked https://www.google.com/support/adsen...n&answer=48182 :

Encouraging Clicks

Publishers may not ask others to click their ads or use deceptive implementation methods to obtain clicks. This includes, but is not limited to, offering compensation to users for viewing ads or performing searches, promising to raise money for third parties for such behavior or placing images next to individual ads.

In order to ensure a good experience for users and advertisers, publishers participating in the AdSense program may not:

* Compensate users for viewing ads or performing searches, or promise compensation to a third party for such behavior.
* Encourage users to click the Google ads using phrases such as "click the ads", "support us", "visit these links" or other similar language.
* Direct user attention to the ads using arrows or other graphical gimmicks.
* Place misleading images alongside individual ads.
* Place ads in a floating box script.
* Format ads so that they become indistinguishable from other content on that page.
* Format site content so that it is difficult to distinguish it from ads.

* Place misleading labels above Google ad units. For instance, ads may be labelled "Sponsored Links" or "Advertisements", but not "Favourite Sites" or "Today's Top Offers".
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #5  
Old 06 Apr 2010, 22:03
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Real name: alij
Originally Posted by kall View Post
thnx kall for reminding such an important rule ,but if we are supposed to stick to TOS this much , we are not allowed to change the color of ads to the same color of other links in the page in a way that it's not recognizable .

as you can see we are not trying to mislead visitors , we have mentioned following phrase : SPONSORED ADS that tells visitors it's not a normal link
also the avatar we are using should confirm that google is the owner of links next to it , not the website owner & we are not trying to change the format of ads , we are not changing adsense codes .
Reply With Quote
  #6  
Old 06 Apr 2010, 22:13
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Real name: alij
Originally Posted by archet1337 View Post
Great mod. Thanks for sharing

Is there any way to have the sponsored links show even when a member does not have any visitor messages on the members page?
i'm glad u liked it
yes , in same template find line below :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and erase it
and find line below :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change it to :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #7  
Old 06 Apr 2010, 22:29
tafreeh's Avatar
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Real name: DON
The idea and mod, both of them are pretty sick. But I wish it wouldn break any adsense TOS or TAC(Terms and Conditions).
__________________
Vb Forum
Reply With Quote
  #8  
Old 07 Apr 2010, 03:20
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Real name: Olav
I have added a google avatar, and I can't possibly see how this should break any adsense TOS / TAC



I've attached the avatar if anyone else wants to use it
Attached Images
File Type: png google_avatar.png (7.5 KB, 1261 views)
__________________
Administrator @ RadioCtrl Forums - Your online R/C community.
Reply With Quote
  #9  
Old 07 Apr 2010, 04:27
tafreeh's Avatar
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Real name: DON
Why dont you confirm with Adsense, and then let us know. so everyone can use it.
__________________
Vb Forum
Reply With Quote
  #10  
Old 07 Apr 2010, 06:22
ps2wiz ps2wiz is offline
 
Join Date: Apr 2005
Thanks for this.

By the way, I believe by mistake you left a link to your customized avatar in the code.
Reply With Quote
  #11  
Old 07 Apr 2010, 06:25
ps2wiz ps2wiz is offline
 
Join Date: Apr 2005
In addition is there anyway we can change the date to automatically state the current day?
Reply With Quote
  #12  
Old 07 Apr 2010, 07:56
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Real name: alij
Thumbs up

Originally Posted by ps2wiz View Post
Thanks for this.

By the way, I believe by mistake you left a link to your customized avatar in the code.
you have to upload the avatar too ( provided in zip file )
Originally Posted by ps2wiz View Post
In addition is there anyway we can change the date to automatically state the current day?
easily !
change 03-08-2010 to any desired date or text (ie Today's Sponsored Links)
Originally Posted by archet1337 View Post
I have added a google avatar, and I can't possibly see how this should break any adsense TOS / TAC



I've attached the avatar if anyone else wants to use it
thnx , if u don't mind i'll replace it with the other avatar in zip file ?
Reply With Quote
  #13  
Old 07 Apr 2010, 11:55
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Real name: Olav
Originally Posted by YankForum View Post
thnx , if u don't mind i'll replace it with the other avatar in zip file ?
No problem at all
__________________
Administrator @ RadioCtrl Forums - Your online R/C community.
Reply With Quote
  #14  
Old 08 Apr 2010, 00:02
khalled khalled is offline
 
Join Date: Apr 2007
while i go to insert this code i replace some content of memberinfo_block_visitormessaging : template code so the victor massage not appear any more if any one can help by copy the content of template memberinfo_block_visitormessaging and past it here


vbulletin>Styles & Templates>Style Manager>edit templates>Member Info Templates>memberinfo_block_visitormessaging :
Reply With Quote
  #15  
Old 08 Apr 2010, 07:39
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Real name: alij
y don't u click on "[Show Default]" khalled?
btw if u r not able 2 do that here is the default code :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:04.

Layout Options | Width: Wide Color: