Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Groups question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Groups question

 Post Reply Post Reply
Author
GladiusA View Drop Down
Newbie
Newbie


Joined: 04 January 2007
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote GladiusA Quote  Post ReplyReply Direct Link To This Post Topic: Groups question
    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?
Back to Top
Melkor View Drop Down
Groupie
Groupie


Joined: 11 December 2006
Location: United States
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Melkor Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2007 at 6:12am
That'd be the safest way to do it.
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Melkor View Drop Down
Groupie
Groupie


Joined: 11 December 2006
Location: United States
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Melkor Quote  Post ReplyReply Direct Link To This Post 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
   
%>

Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post 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 - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.