![]() |
||||||||||||
|
||||||||||||
| Comments: |
| Posted By: ****** Date: 9:26 PM On 09-29-2003 |
| Profile.php always shows Administrator for all users, regardless of their user level. To correct this, make the following changes in profile.php: Find: ________________________ if ($groupid = 1) { $usergroup = 'Administrator'; } elseif ($groupid = 2) { $usergroup = 'Enhanced Level'; } elseif ($groupid = 3) { $usergroup = 'Standard Level'; } ________________________ Replace with ________________________ if ($groupid == 1) { $usergroup = 'Administrator'; } elseif ($groupid == 2) { $usergroup = 'Enhanced Level'; } elseif ($groupid == 3) { $usergroup = 'Standard Level'; } ________________________ |