The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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
Developer Last Online: Sep 2014
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 : Code:
{vb:raw block_data.messagebits} Code:
<li class="postbit postbit-lite postcontainer<vb:if condition="!$message['avatarurl']"> noavatar</vb:if>" id="vmessage_{vb:raw message.vmid}"> <a href="#" class="avatarlink"> <img src="/images/avatars/asdhkwjhqdkh.gif" alt="Sponsored Ads" /> </a> <div class="postbithead"> <label for="vmessage_{vb:raw message.vmid}"> <a href="#" class="username">Sponsored</a> - <span class="postdate">03-08-2010 </span>- <a href="#" >permalink</a> </label> </div> <div id="vmessage_message_{vb:raw message.vmid}"> <blockquote class="posttext restore" style="padding-left:90px"> //PUT YOUR GOOGLE ADSENSE OR ANY OTHER ADS YOU'RE USING </blockquote> </div> <div class="postbitfoot floatcontainer"> <span class="postcontrols"> <a href="#" title="Sponserd links">{vb:rawphrase view_conversation}</a> </span> </div> </li> DONE thnx goes to Leo Brazil for this thread , giving me this idea to have that option in profile pages also ! Download Now
Screenshots
Show Your Support
|
Comments |
#2
|
||||
|
||||
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? |
#3
|
||||
|
||||
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. |
#4
|
||||
|
||||
Just checked https://www.google.com/support/adsen...n&answer=48182 :
Quote:
|
#5
|
||||
|
||||
Quote:
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 . |
#6
|
||||
|
||||
Quote:
yes , in same template find line below : Code:
<vb:if condition="$block_data['messagebits']"> and find line below : Code:
</vb:if> <vb:if condition="$show['quickcomment']"> Code:
<vb:if condition="$show['quickcomment']"> |
#7
|
|||
|
|||
The idea and mod, both of them are pretty sick. But I wish it wouldn break any adsense TOS or TAC(Terms and Conditions).
|
#8
|
||||
|
||||
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 |
#9
|
|||
|
|||
Why dont you confirm with Adsense, and then let us know. so everyone can use it.
|
#10
|
|||
|
|||
Thanks for this.
By the way, I believe by mistake you left a link to your customized avatar in the code. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|