Page 1 of 1

Assigning people to groups

Posted: Thu Sep 20, 2012 11:01 pm
by gs2088c
OK, here is a "silly" question; but let me set it up. There is a board set up where forum "X" has been set up for an individual. Assigened to forum "X" is group "XG". Group "XG" is a request group, where a person must as permission to join. The reason is that the permissions are set up to where forum "X" is read only to REGISTERED USERS, but is POST enabled for people in group "XG". What I'm trying to explain here is:

FORUM "X" -> MEMBER OF REG USERS -> NO POST (READ ONLY)

FORUM "X" -> MEMBER OF REG USERS -> MEMBER OF GROUP "XG" -> CAN POST

Ok, here is the question. Is there anyway to make user "A", "B", or "C" a member of group "XG" automatically? The thought behind this is to allow them post in the forum/group combo immediately without requesting it, but if necessary, a Moderator or Admin can ban them from the group "XG" without having to be in the ACP.

Even a MOD is OK. I'm using 3.0.10.

Thanks loads!

Re: Assigning people to groups

Posted: Thu Sep 20, 2012 11:51 pm
by D¡cky
gs2088c wrote: Is there anyway to make user "A", "B", or "C" a member of group "XG" automatically?
What criteria are you thinking of to have the members automatically join group XG? There is the Auto Groups MOD which can allow members to automatically join another group based on post count or membership days. It may be able to be modified to allow other criteria as well.

Re: Assigning people to groups

Posted: Fri Sep 21, 2012 12:11 am
by gs2088c
D¡cky wrote:
gs2088c wrote: Is there anyway to make user "A", "B", or "C" a member of group "XG" automatically?
What criteria are you thinking of to have the members automatically join group XG? There is the Auto Groups MOD which can allow members to automatically join another group based on post count or membership days. It may be able to be modified to allow other criteria as well.
I found that MOD about 10-15 minutes after I made the post. Shortly, I'll be testing it on a LOCALHOST machine to see if it works, and how. Hopefully it will suffice. As to the parameters, they would be automatically put in once they register successfully, effectively making it an "open" forum. Then the HFM (Head Forum Moderator) can remove them from their forum/group if the user "misbehaves". They will be able to read the forum, but not post.

Re: Assigning people to groups

Posted: Fri Sep 21, 2012 1:29 am
by gs2088c
Well the add-on is poor, at least in my book. Yes, it automatically adds users to group "XG" as expected. However, no matter what I try, if the user is removed from group "XG", when they logon the next time, they are added back into group "XG". So for the purpose of what I want it to do, it doesn't "make the grade".

Re: Assigning people to groups

Posted: Fri Sep 21, 2012 4:33 am
by Oyabun1
gs2088c wrote:As to the parameters, they would be automatically put in once they register successfully, effectively making it an "open" forum. Then the HFM (Head Forum Moderator) can remove them from their forum/group if the user "misbehaves". They will be able to read the forum, but not post.
Sounds like standard phpBB would do what you want. All users automatically go into the Registered Users group (RU) and for those that misbehave you create a "naughty" group that has permissions to see and read the forum, but permissions to post set to never. The HFM then just places naughty users into that group (leaving them in the RU as well) and the Naughty never permissions will override the RU's yes permissions.

Re: Assigning people to groups

Posted: Fri Sep 21, 2012 1:58 pm
by gs2088c
Oyabun1 wrote:Sounds like standard phpBB would do what you want. All users automatically go into the Registered Users group (RU) and for those that misbehave you create a "naughty" group that has permissions to see and read the forum, but permissions to post set to never. The HFM then just places naughty users into that group (leaving them in the RU as well) and the Naughty never permissions will override the RU's yes permissions.
=================================
ALL OF THIS WAS LOCALHOST TESTING
=================================

=================================
THIS DIDN'T WORK
=================================
1. Created group "OPEN_FORUM_BAD_BOY" GROUP - HIDDEN. Thus it will not show in the user's GROUP LIST.
1.1. Added group leader(s)
2. Created forum "OPEN_FORUM"
3. Set "OPEN_FORUM" Permissions
3.1. REG USERS - "Normal"
3.2. "OPEN_FORUM_BAD_BOY" - Read only
4. Logoff as Admin
5. Created new user (by actually doing registration)
6. Logon as new user
7. New user able to post in "OPEN_FORUM"
8. Logoff as new user
9. Logon as Admin
10. Add new user to "OPEN_FORUM_BAD_BOY" GROUP
11. Logoff as Admin
12. Logon as new user
13. Still able to post
14. Logoff as new user
15. Logon as Admin
16. Confirmed permissions - all AOK
16.1. Reg users can post
16.2. "OPEN_FORUM_BAD_BOY" - Read only
16.3. New user in both reg users and "OPEN_FORUM_BAD_BOY"

=================================
THIS MADE IT WORK
=================================

===========================
TO IMPLEMENT "BANNED" GROUP
===========================
1. Created HIDDEN GROUP to house the "BANNED" group:
1.1. Logon as Admin
1.2. Go to ACP
1.3. Go to USERS AND GROUPS Tab
1.4. Click on Manage Groups
1.5. In "User Defined Groups", create the group. Suggest something like this:
1.5.1. ANOTHER_FORUM_(BANNED)
1.5.2. But make "ANOTHER FORUM" the name of the actual forum = match the group and forum up by name, but just add "_(BANNED)" at the end.
1.5.3. Make it hidden, so unless the user is in it, they can't see it in their "Non-membership" group list.
1.5.4. Set other Group Parameters.
1.5.5. Add your group leaders, insuring that the Admins are in it, and the forum owner (if appropriate).

2. Go to FORUMS TAB
2.1. Create new forum.
2.1.1. As in the above example, it would be ANOTHER_FORUM.
2.1.2. Set parameters accordingly
2.2. Set forum security
2.2.1. Click on Forum Permissions
2.2.2. Select Forum in top box
2.2.3. Add in "Registered Users" and ANOTHER_FORUM_(BANNED) groups.
2.2.4. Do the security thing
2.2.4.1. Assign Registered users to whatever role you want them to be.
2.2.4.2. Assign ANOTHER_FORUM_(BANNED) to READ ONLY role
2.2.4.2.1. Using advanced permissions, make sure that "Never" is set under:
2.2.4.2.1.1. Start new topics
2.2.4.2.1.2. Reply to topics
2.2.4.3. Apply all permissions.

3. Now test things:
3.1. Logoff as admin
3.2. Create a test user, as if you're not Admin
3.3. Logon as the test user
3.4. Attempt to post IN "ANOTHER_FORUM), you should be able to.
3.5. Logoff as test user
3.6. Logon as Admin
3.7. Click User Control Panel
3.8. Click Click User Groups
3.9. Click Manage Groups
3.9.1. Click Manage Users on the "ANOTHER_FORUM_(BANNED)" line
3.9.2. Add user to group
3.10. Logoff as Admin
3.11. Logon as Test user
3.12. Test user shouldn't be able to post in the "ANOTHER_FORUM"

I know that "Test User's Permissions" can be used from the ACP, but I prefer this method.

MODERATORS/ADMIN - you can mark this topic complete if you want to. I got the answer I needed.

Thanks to all that replied!

Re: Assigning people to groups

Posted: Sun Sep 23, 2012 3:48 pm
by gs2088c
I just wanted to add one thing, that I just discovered. If this method is used, make sure that the leaders of the "banned" group are set NOT to inherit the permissions, or else they won't be able to post, etc.