vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   forum only opens for subscripbers? (https://vborg.vbsupport.ru/showthread.php?t=162888)

wassimeh 11-16-2007 05:59 PM

forum only opens for subscripbers?
 
hi, I would like to know how to open the forum only for paid subscription but closed for all others.

For others it redirects to payments.php.

I want to do this when it's needed; it means that for the rest of the time, the forum can be viewed by anyone (paid subscription or not)

thanks

aeturner89 11-16-2007 06:25 PM

Easily.

Make one forum and give the payments usergroup access only to it and for every other usergroup you don't want access to, disallow them from viewing the forum with forum permissions.

Then make another forum with the same name with regular permissions. Place it under the first and disallow the payments usergroup of seeing it.

When you add the form where it says

Forum Link (Entering a URL here will cause anyone clicking the first forum but the second forum which has the link to be redirected to that URL)

put http://www.yoursite.com/forums/payments.php

Then anybody who's not on the paid usergroup won't see that forum but everyone else will see the redirect.

wassimeh 11-16-2007 06:41 PM

My question has been updated :confused:

thank you

aeturner89 11-16-2007 06:49 PM

Why don't you disallow non-subscribers from viewing thread content and in the forum description say for access click here and have the link to go payments.php ?


All times are GMT. The time now is 09:10 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.01077 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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