Print Page | Close Window

Groups question

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22363
Printed Date: 08 April 2026 at 8:32am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Groups question
Posted By: GladiusA
Subject: Groups question
Date Posted: 09 January 2007 at 5:08am
Is there a way to make a user a member of more than one group?
 
E.g., I have a group for "Committee A" and "Committee B", each of which have their own sub forum and can only be accessed by people in the corresponding group.
 
One person is actually a member of both committees and needs access to both forums. Do I need to create a separate group just for that person to give him access to both forums?



Replies:
Posted By: Melkor
Date Posted: 09 January 2007 at 6:12am
That'd be the safest way to do it.


Posted By: MrMellie
Date Posted: 09 January 2007 at 10:20am
I would create another group for people who are members of both committess. That's how groups are really designed to be used. Very flexible and powerfull and one of the reasons I chose WWF.


Posted By: Melkor
Date Posted: 11 January 2007 at 6:29pm
You might (I dunno) be interested in the autoatic grouping script I wrote. My forum has over 80,000 members and when I transfered to 8.5 the thought of putting all those members into groups manually made me itch. So I wrote a grouping script after making the initial groups based on my old permission system which was run from a tblAuthor column (stat1)


<% Option Explicit %>
<!--#include file="../common.asp" -->

<%

    strSQL = "UPDATE tblAuthor SET Group_ID = 14 WHERE(LEFT(Stat1, 1) = N'E') AND (Right(Stat1, 2) < N'97')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 15 WHERE(LEFT(Stat1, 1) = N'D') AND (Right(Stat1, 2) < N'97')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 16 WHERE(LEFT(Stat1, 1) = N'G') AND (Right(Stat1, 2) < N'97')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 17 WHERE(LEFT(Stat1, 1) = N'R') AND (Right(Stat1, 2) < N'97')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 18 WHERE(LEFT(Stat1, 1) = N'I') AND (Right(Stat1, 2) < N'97')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 19 WHERE(LEFT(Stat1, 1) = N'F') AND (Right(Stat1, 2) < N'97')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 20 WHERE(LEFT(Stat1, 1) = N'H') AND (Right(Stat1, 2) < N'97')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 21 WHERE(LEFT(Stat1, 1) = N'L') AND (Right(Stat1, 2) < N'97')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 22 WHERE(LEFT(Stat1, 1) = N'M') AND (Right(Stat1, 2) < N'97')"
    adoCon.Execute strSQL


    strSQL = "UPDATE tblAuthor SET Group_ID = 7 WHERE(LEFT(Stat1, 1) = N'A') AND (RIGHT(Stat1, 2) > N'04')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 7 WHERE(LEFT(Stat1, 1) = N'A') AND (RIGHT(Stat1, 2) = N'02')"
    adoCon.Execute strSQL

    strSQL = "UPDATE tblAuthor SET Group_ID = 6 WHERE(RIGHT(Stat1, 2) > N'97') OR (LEFT(Stat1,1)=N'B')"
    adoCon.Execute strSQL
   
    adoCon.Close
    Set adoCon = Nothing
    Set strCon = Nothing
   
%>



Posted By: Scotty32
Date Posted: 11 January 2007 at 7:37pm
you could (as someone already said) name it "Committe A & B" and give that group permissions to the 2 forums.

or you could just edit the "User Permissions" - the group title would say "Committee A" but they'd have access to Committee B's forum

obviously this isnt that great since your group names reflect what they do and people may wonder why their in 2 groups.


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net