This topic is locked

Showing info based on user group

10/25/2007 5:32:09 AM
PHPRunner General questions
M
mmponline author

I refer to PHPRunner - tips and tricks: Topic http://www.asprunner.com/forums/index.php?showtopic=6196
Is there a way to customise this code to show (or not) according to the User's group instead of the user name?
This gf eature works great but I'd like to use it for groups and not individuals.
Also: How do I change it for more than 1 specific user Eg. Admin, Stephan, Peter

Alexey admin 10/25/2007

Stephan,
sure. Use $_SESSION["GroupID"]instead of $_SESSION["UserID"] in the code.