Login as User (LAU2)

Login as User (LAU2) 1.2.9

No permission to download
This will be the first time I have updated this add on.
What is the procedure to update it, do I need to uninstall the existing version then install this one or is there a simpler method.
We have only been with XF for under a year so still learning.
Download the new version then use the "Addon>>Install/upgrade from archive" button. Leave the "Overwrite existing files for add-on rebuilds / upgrades" option unchecked.
up1.webp
 
Love this addon when I need to problem solve something for a member.

I found another use for this addon as well.

If you go to the main template for the addon you can easily add additional links to the staff bar without the need for another addon. Simply look at the current links in the addon, copy and change them as needed and you can add shortcuts to often used items in the Admin Panel or shortcuts/links to anything you want.
 
@au lait have some errors with 2.3 RC2:

  • ErrorExcep
  • tion: Template error: [E_USER_WARNING] Method canUseLau is not callable on the given object (XF\Entity\User)
  • src/XF/Template/Templater.php:1254
  • Generado por: Cuenta desconocida
  • 14 Junio 2024 a las 07:59

Seguimiento​

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/lrwgoull/...', 1254)
#1 src/XF/Template/Templater.php(1254): trigger_error('Method canUseLa...', 512)
#2 internal_data/code_cache/templates/l2/s4/public/lau_staff_bar.php(15): XF\Template\Templater->method(Object(XF\Entity\User), 'canUseLau', Array)
#3 src/XF/Template/Templater.php(1760): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#4 src/XF/Template/Templater.php(1832): XF\Template\Templater->renderTemplate('lau_staff_bar', Array)
#5 internal_data/code_cache/templates/l2/s4/public/PAGE_CONTAINER.php(563): XF\Template\Templater->includeTemplate('public:lau_staf...', Array)
#6 src/XF/Template/Templater.php(1760): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#7 src/XF/Pub/App.php(590): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#8 src/XF/App.php(2382): XF\Pub\App->renderPageHtml('

...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(404): XF\App->renderPage('
 
Ya, glad to help. 🙂

For future reference, always check the Overview or Update sections of a resource where this info is located.
 
Is it possible to edit the Login to "Login as user?" I looked for phrases but was not successful in finding the right place.

Where could I make this edit?

Thanks!
 
This is a great addon. I have installed it and can see the settings under the options, but I can't see the login option for the users anywhere. I have XF 2.3.3 and PHP 8.3. Any suggestions would be helpful. Thank you.
 
This is a great addon. I have installed it and can see the settings under the options, but I can't see the login option for the users anywhere. I have XF 2.3.3 and PHP 8.3. Any suggestions would be helpful. Thank you.
Have you set the permissions?
 
Back
Top Bottom