vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Controling Special Access via Usergroups - Is my way the correct way? (https://vborg.vbsupport.ru/showthread.php?t=113871)

Quarterbore 04-23-2006 06:06 PM

Controling Special Access via Usergroups - Is my way the correct way?
 
I have a few contributor groups on my website and the contributor groups gain additional permissions and forum access because of their contributions. I control this through adding "additional" usergroups to their account.

So, for example a normal member is is the "Registered Group". If a person donates $12 via a 1yr subscription they get added to a CONTRIBUTOR group (2nd group).

The CONTRIBUTOR group has the add-on group permissions such as:

Larger Avatar
More PMs
Access to Special (Members Only Forums)
Larger Photoserver limit

So, the primary group gives them access to the regular forums and this secondary CONTRIBUTOR group is what gives them the perks...

I am curious if this is the best way to do this? Should I be beassigning the Primary group to a CONTRIBUTOR group that gives them full access to all the REGISTERED + CONTRIBUTOR group has access to?

That could get really complicated for me as I have quite a few private forums that use individual controlled access so I really need to do it like I am with the Secondary group adding the special privlidges...

I just wanted to confirm as I was given a hint that I may not be doing this the best way but it is the only way I know to do this...

Thanks for any oppinions!

peterska2 04-23-2006 10:31 PM

If you just have one group, then use the primary usergroup changes.
If you have more than one group, use secondary usergroup changes.

After all, how can you be in more than one group if you can only change your primary one?

Using secondary groups means that the user has the best possible set of permissions from all the groups that they are a member of.


All times are GMT. The time now is 07:10 PM.

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.01597 seconds
  • Memory Usage 1,706KB
  • 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
  • (2)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