Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2009, 01:57 PM
RoxyTheImpreza RoxyTheImpreza is offline
 
Join Date: Jan 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Is it possible to disable google adesense for "paying premium members"?

is it possible? It would be a nice intensive to get people to sign up for a premium membership
Reply With Quote
  #2  
Old 02-11-2009, 01:58 PM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. Just use conditionals.
Reply With Quote
  #3  
Old 02-11-2009, 02:09 PM
RoxyTheImpreza RoxyTheImpreza is offline
 
Join Date: Jan 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there something where I can read about this?

--------------- Added [DATE]1234368654[/DATE] at [TIME]1234368654[/TIME] ---------------

also would making an announcement about the forum now having google ads on it and to not see them sign up for a premium membership violate googles terms? I guess it would be okay as long as I don't say go click on them, right?
Reply With Quote
  #4  
Old 02-11-2009, 02:24 PM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RoxyTheImpreza View Post
is there something where I can read about this?

--------------- Added [DATE]1234368654[/DATE] at [TIME]1234368654[/TIME] ---------------

also would making an announcement about the forum now having google ads on it and to not see them sign up for a premium membership violate googles terms? I guess it would be okay as long as I don't say go click on them, right?
No problem with that at all. You can't ask for clicks is all.

couple of handy conditionals to use in your ad templates
Code:
<if condition="$bbuserinfo['userid'] == 0">
show ads to guests only here</if>
Code:
<if condition="!is_member_of($bbuserinfo, 29, 6, 7)">ads for people not a member of those groups</if>
6,7 are normally admin, mods groups 29 would be your premium members. Change the numbers to whatever groups you don't want to show ads to.

More conditionals:

http://www.vbulletin.com/forum/showthread.php?t=200894
Reply With Quote
  #5  
Old 02-11-2009, 02:29 PM
RoxyTheImpreza RoxyTheImpreza is offline
 
Join Date: Jan 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cad2go View Post
No problem with that at all. You can't ask for clicks is all.

couple of handy conditionals to use in your ad templates
Code:
<if condition="$bbuserinfo['userid'] == 0">
show ads to guests only here</if>
Code:
<if condition="!is_member_of($bbuserinfo, 29, 6, 7)">ads for people not a member of those groups</if>
6,7 are normally admin, mods groups 29 would be your premium members. Change the numbers to whatever groups you don't want to show ads to.

More conditionals:

http://www.vbulletin.com/forum/showthread.php?t=200894
AWESOME! Thank you! One last thing, since I am a total noob, where do I paste these two codes at? -Thanks in advance!
Reply With Quote
  #6  
Old 02-11-2009, 04:32 PM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Into any of your ad templates.

The conditionals do two different things. So If you wanted guests to see ads use the first one and if you wanted regular members and guests to see ad you'd use the second one.

Please note your usergroups may be different to mine so check the numbers in the second conditional.
Reply With Quote
  #7  
Old 02-11-2009, 08:31 PM
kronnos kronnos is offline
 
Join Date: Apr 2006
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about in vb3.8? Haven't upgraded yet, but it seems like you do not have to paste codes in anymore to display ads. Are there VB build in options to managa whom the ads are shown to or do you also have to use the conditionals in templates?
Reply With Quote
  #8  
Old 02-12-2009, 04:50 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you referring to the new AdSense Integration?
Reply With Quote
  #9  
Old 02-12-2009, 10:39 AM
RoxyTheImpreza RoxyTheImpreza is offline
 
Join Date: Jan 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
Are you referring to the new AdSense Integration?
yes
Reply With Quote
  #10  
Old 02-12-2009, 11:51 AM
cad2go cad2go is offline
 
Join Date: Feb 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if it's possible with the built-in integration. It may be but I don't use it. Maybe ask support over at vbulletin.com
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 01:58 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.04437 seconds
  • Memory Usage 2,249KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete