[MMO] Impersonate User

[MMO] Impersonate User 2.1.3

No permission to download


Well-known member
kick submitted a new resource:

[MMO] Impersonate User - Log in to another user's account

This add-on gives privileged users the ability to login as any other user on the forum (as long as they're not whitelisted).
Key Features:
  • Permission controlled - choose who can login as another user
  • Whitelist - define users that cannot be logged into by others
  • Make users supply a reason when logging in as another user
  • Send a conversation when logging into another user
  • Doesn't cause your IP to be logged with the user being logged into
  • Alerts, conversation, threads...

Read more about this resource...
When clicking to revert www.example.com/impersonate/logout-as-user we get 404 page.
So link for log out from impersonate user is not working.

Also, when try to log out impersonate user I get just missing phrase miu_impersonate_cant_logout

Disabled for now.

Edit: Also, maybe this server error log help you :)

Server error log
ErrorException: [E_NOTICE] Undefined index: sendDefault src/addons/MMO/ImpersonateUser/Service/Impersonate/Impersonate.php:85
Generated by: Sunka 22.05.2020. at 03:01
Stack trace
#0 src/addons/MMO/ImpersonateUser/Service/Impersonate/Impersonate.php(85): XF::handlePhpError()
#1 src/addons/MMO/ImpersonateUser/ControllerPlugin/Impersonate.php(26): MMO\ImpersonateUser\Service\Impersonate\Impersonate->login()
#2 src/addons/MMO/ImpersonateUser/Pub/Controller/Impersonate.php(39): MMO\ImpersonateUser\ControllerPlugin\Impersonate->setupLoginAsUser()
#3 src/XF/Mvc/Dispatcher.php(350): MMO\ImpersonateUser\Pub\Controller\Impersonate->actionLoginAsUser()
#4 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#5 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#6 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#7 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#8 src/XF.php(391): XF\App->run()
#9 index.php(20): XF::runApp()
#10 {main}
Request state
array(4) {
  ["url"] => string(26) "/impersonate/login-as-user"
  ["referrer"] => string(69) "https://www.pijanitvor.com/impersonate/login-as-user?username=tester2"
  ["_GET"] => array(1) {
    ["/impersonate/login-as-user"] => string(0) ""
  ["_POST"] => array(6) {
    ["username"] => string(7) "tester2"
    ["reason"] => string(10) "testiranje"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(43) "/impersonate/login-as-user?username=tester2"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
Last edited:
Hello @kick

I can´t install your 2.1.3 version because I can´t logout! (I am logged in as user, I need to logout and login again as admin)

Any suggestion?

Funny thing is that if I revert back to Login As User (which I was using prior to that) I get the same error there too...please fix it - this is a huge bug.
Hi @kick

On newest xenforo version, the revert user button is not showing anywhere.
Manually added /impersonate/logout-as-user still works for logout
Top Bottom