It is very annoying that Admin can't access member's information at time.
Godyn, in /cp/index.php we have this line of code at line~166:
if (($SESSION->login() || $SESSION->is_loggedin()) && isset($SESSION->conf['can_access_cp']) && $SESSION->conf['can_access_cp'])
That essentially validates you as a Admin, and if you pass those tests, then do whatever you like to the user's information.
I would suggest running that test once, and if it passes, then setting some new $_SESSION variable, then later, all you have to do is check the $_SESSION variable, rather than the whole line of code every time you want to do something.
Instead of calling that whole line again somewhere, just edit /cp/index.php to set a new $_SESSION variable.
Just remember to un-set the $_SESSION variable when you log out.
What about $_SESSION['is_godyn'] for the variable?
Then all you need to do is ask IF ($_SESSION['is_godyn']) .....
Last edited by fatlizard (2010-07-17 08:09:59)