11-11-2016, 10:16 PM
mudmin,
Your idea sounds excellent. I'm going to tweak it in the following manner so we can continue:
page will have a column that says "view as user" which will go to ( variable I would set).
How can I have the system check if there is a view value of 1 on EVERY page?
How can I get the system to recognize this UID and resemble permissions (e.g. won't show Admin Dashboard link when in user view)?
For my own notes:
-I can use an if value around my variable to set the to either the admin users UID, or if there is a view value of 1, to be that UID.
^I'm wondering, if I do this, could I also do this to get the system to recognize the current UID vs the admin UID?
I think I'm on to something...hmmm...I will play with this when I get home because I'm cranky so that means I get to code for the night lol.
Your idea sounds excellent. I'm going to tweak it in the following manner so we can continue:
Code:
admin_users.php
Code:
usersc/functions.php?view=1&uid=$uid
Code:
$uid
How can I have the system check if there is a view value of 1 on EVERY page?
How can I get the system to recognize this UID and resemble permissions (e.g. won't show Admin Dashboard link when in user view)?
For my own notes:
-I can use an if value around my
Code:
$userid
Code:
$userid
^I'm wondering, if I do this, could I also do this to get the system to recognize the current UID vs the admin UID?
I think I'm on to something...hmmm...I will play with this when I get home because I'm cranky so that means I get to code for the night lol.