![]() |
Guest Only AdSense below Navbar - Increase registrations & revenue
This is pretty a straightforward template edit that will display adsense below the navbar for guests only. Not only will it put adsense in a decent location overall for revenue, but it will encourage new registrations as well.
Template Edits: 1 Install Time: 2 minutes Difficulty: Easy Step 1: AdminCP -> Styles and Templates -> Style Manager Edit the navbar template. At the very bottom, add the following: Code:
<!-- Guest Adsense --> Optional I put a small blurb about logging in to remove the adds underneath it. To do so, add the following: Code:
<br> Code:
<!-- /AdSense --> https://vborg.vbsupport.ru/ Demo: http://www.sevenstring.org Please click Install if you find this useful. Cheers. :) |
thanks man
this is very useful |
Impressive! Good work Chris.
|
Thx for yer work m8
|
Hi
great MOD! How can you vary this, so that only specific usergroups do not see the ad (i.e. paying members)? |
i believe that all you to is add the user id numbers here
Code:
<if condition="$bbuserinfo['userid'] == 1,2,3,0"> |
p.s: Installed!!
|
*clicks installed and MOTM*
|
Hmm, the "<if condition="$bbuserinfo['userid'] == 1,2,3,0">" doesnt work, tells me
Parse error: syntax error, unexpected ',' in /home/girlgame/public_html/forums/includes/adminfunctions_template.php(3681) : eval()'d code on line 262 Doesnt like the comma lol. Any other ideas? Edit nvm i found out how. For those wondering......... Use the conditional that matches your needs - http://www.vbulletin.com/forum/showt...t=Conditionals For me i didnt want the ads to show to premium members, so i used Code:
<if condition="!is_member_of($bbuserinfo, X)"> |
Quote:
Quote:
Thank you!! :up: :up: |
All times are GMT. The time now is 03:42 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:
|