Author |
Topic  |
e3stone
Average Member
  
USA
885 Posts |
Posted - 07 October 2002 : 16:40:03
|
I've been looking at numerous topic relating to a User Group feature. Just wanted to review the 'wanted' features that I saw and then ask a few questions.
1) A member can be in one or more groups 2) A group can be a member of one or more groups (would this be a good feature?) 3) Forums can be restricted (view/post/etc) to certain groups 4) Categories can be restricted (view/post/etc) to certain groups 4) Each group would have its own administrator 5) Each group would have its own moderators
Now for questions:
- What is the most updated usergroups code and where can I find it?  - Is there currently a plan to intigrate usergroups into the base code in future releases? - Should we even attempt to complete a mod for 3.4 (if it hasn't been done yet) or just wait because we'll have to change the whole user access level variables? i.e. Global Admin, Group Admin, etc.
Just wanted an update on this discussion.

|
<-- Eric --> |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 07 October 2002 : 17:39:32
|
I think you should be able to set administrators for more than one group and ditto for moderators.
@tomic |
SportsBettingAcumen.com |
 |
|
e3stone
Average Member
  
USA
885 Posts |
Posted - 11 October 2002 : 19:42:39
|
ok, I've been thinking about this user groups thing for a while now, and I can see why people haven't developed a final version of it. It's a big headache!
Take a look at my table design for it and tell me if you have any suggestions
http://www.insidewaco.com/usergroups/usergroup.htm
|
<-- Eric --> |
 |
|
Deleted
deleted
    
4116 Posts |
Posted - 11 October 2002 : 20:16:58
|
Personally I could not find a low cost way of doing it... |
Stop the WAR! |
 |
|
e3stone
Average Member
  
USA
885 Posts |
Posted - 11 October 2002 : 20:30:50
|
Bozden -
That's what I'm starting to realize, too. In order for this to really work, we'd have to totally restructure the current system that uses MLevel....not really something I want to do at this point...and I'm SURE you don't want to think about it with the work you're doing now.  |
<-- Eric --> |
 |
|
Deleted
deleted
    
4116 Posts |
Posted - 11 October 2002 : 20:34:10
|
Sure , but the costly part is not only with the code, but the required database calls & too many checks required for granting access... |
Stop the WAR! |
 |
|
e3stone
Average Member
  
USA
885 Posts |
Posted - 11 October 2002 : 20:55:07
|
Yeah, was thinking about either 1) storing all the privileges in a session variable or 2) storing them all in a temp table, sort of like what's used in Active Users...delete it after 20 minutes. That way it would be the same as what is currently used...chkUser() in inc_header.asp which is used on every page. I don't know...I'm going to stop thinking about Snitz for the night...got a hot date with my girlfriend....been dating her almost a year and I'm acting sort of like this is a first date...ain't life grand  |
<-- Eric --> |
 |
|
Deleted
deleted
    
4116 Posts |
Posted - 11 October 2002 : 21:11:16
|
Don't tell her about Snitz . |
Stop the WAR! |
 |
|
work mule
Senior Member
   
USA
1358 Posts |
Posted - 11 October 2002 : 23:28:35
|
d/l phpBB and take a look at how they've implemented groups. It'll give you another perspective maybe on how to implement groups. |
 |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 12 October 2002 : 03:16:59
|
You're right about user groups being a big headache but many uses for Snitz cry out for a workable user group system. An intranet is one of those and I've looked for some quick and dirty solution more than once to try and add that functionality and had to drop it every time because it would just take far more time and effort than I could justify at the time.
@tomic |
SportsBettingAcumen.com |
 |
|
pethson
Starting Member
Sweden
19 Posts |
Posted - 20 October 2002 : 13:34:43
|
I have been thinking a bit about this too. And then I read your implementation. It sounds great, but as you mention. It will take to much time.
If you strip this down to only grouping members, would it be that hard? If you only let the administrators be administrators. No special moderators for the group, isn't morderators for discussions? If you set group permissons on Forums, you will not need to set it at Categories. If you use the same rights a member get if he was memeber of a Forum it would not be that hard, would it?
Groups do not need to be member of groups, that will make it much harder.
This cuts down to 1) A member can be in one or more groups 3) Forums can be restricted to certain groups
That is, you would need three tables, one for the groupID and Group description, One for what memeber is in what group and one for what group has rights in what forum.
You will have to add two new Auth Types, Allowed Groups and Allowed Groups (Hidden). Actually you could change Allowed Member to Allowed Groupm but that might not be too wise.
And then there has to be some Admin pages, and a lot of coding.
Unfortunatly I do not have the time either, but would have to get to know how Snitz i built up first, have not made any mods yet.
My philosofy, keep it simple and you might get it done *smile*
///Peter! |
Edited by - pethson on 20 October 2002 13:37:06 |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 20 October 2002 : 13:40:13
|
quote: Originally posted by pethson This cuts down to 1) A member can be in one or more groups 3) Forums can be restricted to certain groups
That's essentially what I did for the previous version. Except I also made it so that groups could be members of groups. I haven't had time to update that part of the code, but anyone who wants to look at the code for the previous version is welcome to it. Just email me. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
 |
|
Morpheus73
Average Member
  
Denmark
597 Posts |
Posted - 20 October 2002 : 14:08:12
|
Been away on holiday in Toscany (wonderfull strip of country, that is btw!) - I´ll try to finish up the working version I have - it mainly lacks graphical adjustments and securtiy routines. - It is based on Nikkol´s UserGroupMod, but it set´s up a "treed" system of usergroups, that (besides many small) features 2 major functions:
1. people can sign up for usergroups (open and moderated) 2. a user that is a member of a group can setup a subgroup, have it validated and then become the administrator of that group, who can then validate new subgroups/members of that group. This is a major advantage in running a usergroupsystem on a communitysite, where you have many members with many functions/usergroups.
I´m kind of busy now, but I´ll try to finish it up within a week or two. |
 |
 |
|
pethson
Starting Member
Sweden
19 Posts |
Posted - 26 October 2002 : 19:05:10
|
That sounds very good to me!
Hope to see a verison for test soon!
///Peter! |
 |
|
pethson
Starting Member
Sweden
19 Posts |
Posted - 11 November 2002 : 09:15:58
|
Any news about groups?
///Peter! |
 |
|
pethson
Starting Member
Sweden
19 Posts |
Posted - 25 November 2002 : 17:17:50
|
I guess this discussion died?
///Peter! |
 |
|
Topic  |
|