![]() |
Google Adsense Banner in Member Profile v1.0
I have used so many wonderful modifications and template edits from this community, I am happy to share a simple one with you.
What does this template edit do?
How long does it take?
I recommend using a banner ad (468 x 60) as pictured in the attached image. It just looks good. Try your own variations and have fun. I am aware that vB has put in markers for ads below the navbar, but because I use a custom skin, I was not able to use that ad location, so I had to do this template edit. I hope you find it useful. |
Reserved.
|
:O thanx a lot!
|
Thanks very much
|
Glad to share! I hope it brings in some cash for you both!
Thanks, K |
can u make the plugin so that we dont have to do a template edit?
|
Quote:
Thanks, Kether |
I have been reading about how to make a plugin, but have not been successful yet. Don't give up on me. I really hope to learn how to do it. For the time, I think this will have to be a template edit unless someone else has time to help with the plugin.
Regards, Kether |
thanks, i have add the code.
|
reserved
|
Can we just have it for some usergroups we want to show it to and not ALL?
Please please let me know how can I do it... IT would be HIGHLY appreciated... Thanks! |
thanks alot
|
Thanx!
|
Quote:
Sorry, I just saw your request. You would just need to add the following code after what I tell you to look for in the download. The user groups are noted by number. Code:
<if condition="is_member_of($vbulletin->useinfo, 1)"></if> Please mark installed. Thanks, K |
So each member can display their own google adsense in their profile? Thats awesome!
|
Quote:
For instance if you only want visitors to your site (not members) to see the ad use this code: Code:
<if condition="$show['guest']"></if> Hope I answered your question. Thanks, K |
So this is just another place to show our google ads?
|
Quote:
Peace, K |
thanks :)
|
If you use the mod, please click the install.
Thanks! K |
Quote:
but it still shows.. I exempt Admins (ID 6) so that they cannot see ... lol but they still see? Here is what I did: Code:
<if condition="is_member_of($vbulletin->useinfo, 6)"></if> |
Be sure the '/if' statement is placed at the end of the code.
Like this: Code:
<if condition="is_member_of($vbulletin->useinfo, 6)"> THE ACTUAL CODE HERE</if> K |
Hi, I tried your code, gave it about 15 minutes & no ads are showing yet.
|
Quote:
I hope you got it working. |
Would it not be possible to use the already existing variables in vBulletin to just show the ad anywhere else you want?
I'm running 3.8.3 and have adsense integreation turned off atm, but there are vars in the templates for where to place the ads. |
You could use the built in ad locations if you want, this mod just adds a new location that isn't in vbulletin by default. Personally I show an ad right below the navbar so I wouldn't use this, but if I didn't have an ad there I might,
|
I don't mean using the default locations, I mean using the variables that already exist to display those ads, but placing them in different locations.
|
Well you could do that but that would also display the ad in the built in locations as well so you'd have to go back and remove the variables at the built in location if you didn't want to show the ad twice.
Basically this is just like making a new ad location template and adding it to display in your member profile. |
Can this please be ported to vb 4.x
|
Did you look at the download .txt file? There's nothing to really port- just copy and paste your google adsense code into your MEMBERINFO template... move it to suit your needs.
|
Quote:
|
Quote:
And the text file doesn't mention any XML edits, only a template edit. |
My mistake this is not the mod I was looking for.
|
All times are GMT. The time now is 04:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|