vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Paid Subscriptions: No Advertising? (https://vborg.vbsupport.ru/showthread.php?t=220787)

genesisdnb 08-13-2009 07:05 AM

Paid Subscriptions: No Advertising?
 
Is it possible to disable advertising for people who use the paid subscriptions function? At the moment im putting together a subscription system which my members are willing to pay for but they all request no advertising... There must be a way of doing this?

matthewhotdude 08-13-2009 07:38 PM

If you find out I would be most interested also

HMBeaty 08-13-2009 07:41 PM

You could make an additional usergroup so that when they purchase their paid subscription, they get moved into that usergroup and then you could use a conditional like this one...
HTML Code:

<if condition="!is_member_of($vbulletin->userinfo, 1, 2, 3)">
YOUR CODE YOU DON'T WANT YOUR SUBSCRIBERS TO VIEW HERE
</if>


genesisdnb 08-13-2009 07:58 PM

so I put in the usergroups on that havent paid for a subscription?

HMBeaty 08-13-2009 08:30 PM

Basically you can set it up like this...

You have a default "registered users" usergroup, you just need to add an additional usergroup for users to be moved to after purchasing the paid subscription (for example: "vip members").

Then create your paid subscription and change "Usergroup Options" to make the user be moved to the new usergroup you created.

Then you may use the code I posted to place your advertisements in so your "vip members" won't see those advertisements

genesisdnb 08-14-2009 06:11 AM

fantastoic, thank you very much :)


All times are GMT. The time now is 05:14 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
  • Page Generation 0.00895 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete