Jump to content


Photo

HELP! need advice/direction with setting up usergroups


  • Please log in to reply
3 replies to this topic

#1 newb

newb
  • Members
  • PipPipPip
  • Advanced Member
  • 454 posts

Posted 09 August 2006 - 11:34 PM

k im working on a cms and im not sure how i do usergroups like admin, moderator, member, guest, etc. how would i go about doing it? do i absolutely HAVE TO use/learn bitwise in order to do it, or can i do it through just mysql and php? :s

#2 newb

newb
  • Members
  • PipPipPip
  • Advanced Member
  • 454 posts

Posted 10 August 2006 - 12:12 AM

bump

#3 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 10 August 2006 - 01:03 AM

There is an open source class, phpgacl, that does what you want very well. 

http://phpgacl.sourceforge.net/

GALs, or Generic Access Lists, are a very confusing topic to describe, however, the manual for phpgacl does an outstanding job.  Even if you don't use the class, I highly recommend reading about GALs in their manual for a better understanding.

They even use the Star Wars characters in the examples, which makes it amusing to read if nothing else.

A system very similar to phpgacl is used by Joomla and Drupal for their user control.

#4 newb

newb
  • Members
  • PipPipPip
  • Advanced Member
  • 454 posts

Posted 10 August 2006 - 01:31 AM

i c




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users