Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
secondary usergroups Details »»
secondary usergroups
Version: , by EasyTarget EasyTarget is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-31-2006 Last Update: Never Installs: 0
 
No support by the author.

I enabled access to the arcade for a secondary usergroup while keeping it closed to the primary usergroup and they get an error that they cannot use it... is it supposed to be like that?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-01-2006, 06:18 AM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can only switch of primary or secondary usergroup, not using/checking both at same time ...
Reply With Quote
  #3  
Old 11-29-2006, 02:29 AM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am struggling with this issue as well. I want to allow contributors to have access and when they contribute they get special privlideges from a secondary group. So, primary group can not use the arcade but secondary group is supposed to give access.

I would love some genearal advise on where to start looking!

I am feeling stupid but I found this insite my own vBscript:

Quote:
vBulletin also allows users to belong to multiple usergroups. There are two kinds of usergroups, primary and secondary (also called member groups). A user can belong to only one primary group but can belong to any number of secondary groups. A user's primary group is used to define their base forum permissions; at a minimum, a user will always have their primary group's forum permissions. Secondary groups, on the other hand, can be used to grant additional permissions that are not granted by a user's primary group.

For secondary groups to be able to affect a user's permissions, the user's primary group needs to have the "Allow Users to have Member Groups" option enabled in the Usergroup Manager. The way the overlapping of primary and secondary permissions works is that the user is always given the "greater" of the multiple settings for the same permission. For example, if a user's primary group has "Can View Forum" set to No and one of the same user's secondary groups has "Can View Forum" set to Yes, then the user's final setting for that permission will be Yes. Numeric group permissions overlap in a similar way, except instead of Yes or No the user is given the more lenient of the two numbers. Possible applications of secondary groups for forum permissions include granting access to a private forum where multiple primary groups can have access. The primary groups in question would have null access to the private forum set on the Forum Permissions page. The secondary group would have all permissions set to No in the Usergroup Manager but would have forum-level access to the private forum set on the Forum Permissions page. The result of adding a user to this secondary group would be that its "Yes" permissions for the private forum would override the null access of their primary group. This is much more convenient than setting up redundant permissions for additional primary groups that have access to the private forum, which is what would need to be done without secondary groups.

If the user's primary group does not have the "Allow Users to have Member Groups" option enabled in the Usergroup Manager then secondary group memberships will have no effect on their permissions. Secondary groups serve no purpose in this case. The only reason this option should be disabled in a primary group is if the group is a banned group, in which case you don't want secondary group memberships to override the null access of the banned group.
So, just click the "allow sub groups" and it works :hurt:
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 03:53 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.05325 seconds
  • Memory Usage 2,215KB
  • Queries Executed 18 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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