Yep, fair enough.
From my original thinking, i've changed the way permissions are set. Instead of setting up all the permissions once they've joined, everytime a user registers there automatically set to members. From there, i've added a auth.php and admin_auth.php page to check wether firstly; There Members, then to see if they have the correct permissions to view the AdminCP pages.
From there, i just enter the users ID, since using the members login name didn't seem to work. The code was something like:
Code:
$qry = mysql_query("SELECT login, firstname, permissions FROM members WHERE login=$user") or die(mysql_error()); but by using the members name, the SQL query didn't seem to work. Therefore, i just enter the users ID. (Yah, **** way of doing it, if you want i'll try and get the whole code and we can try to figure it out.)
Then to change the permissions, i enter the users ID and the wanted permissions into a form, foward it to a new page, recieve the inputs, check them; If all correct, i insert the new permissions to the specified user.
Thought i'd just post about the way i've done it up to now.
PS. What is it with me writing fairly detailed posts..... :P