Forum Subject: Advanced User Edit

Posted on: 06/02/07 07:10pm
By: Ectropian

How can an Admin edit user advanced settings? i.e. Bio, picture, etc..

Re: Advanced User Edit

Posted on: 06/03/07 12:57am
By: jmucchiello

I recall there being a hack to let the admin login as another user but I can't find it. Otherwise you'll have to go through the database to make those kinds of changes.

Re: Advanced User Edit

Posted on: 06/03/07 03:06am
By: Ook

I have that hack, User Login for Root:

http://www.geeklog.net/filemgmt/index.php?id=769

I and one other had this problem with it:

http://www.geeklog.net/forum/viewtopic.php?showtopic=74376&mode=&show=5

Good luck!

Re: Advanced User Edit

Posted on: 06/03/07 03:21am
By: jmucchiello

Did you ever get it to work? If not, you should convert that staticpage to a function. Take everything from below the include lib-common line to the end (before the ?>Wink and paste it into your lib-common as a new function (called "custom_loginasuser" or somesuch name). Then replace the entire staticpage contents with just a call to the function. If you need help, I'll post again with more explicit instructions.

Re: Advanced User Edit

Posted on: 06/04/07 02:25am
By: Ook

OK, I didn't schedule enough time when I first looked at User Login for Root.

The problem was the line
Text Formatted Code
// copy this code into it ( w/o the <? ?>!)

was turning off php when it hit that ending designation. Kind of a self-fulfilling prophesy! :kickcan:

Works great when you get it working. It allows root to edit any user's info except password protected changes like email address.

Geeklog - Forum Subject: Advanced User Edit
https://www.geeklog.net/forum/viewtopic.php/76688