[021] Multi-account detector

[021] Multi-account detector 1.7.2

Mar 3, 2023
4
0
1
I'm having an issue or conflict with this addon and another one.

Log:
Code:
    ErrorException: Template error: [E_USER_WARNING] Method isCheckMultiAccount is not callable on the given object (MMO\Hide\XF\Entity\User) src/XF/Template/Templater.php:1187

    Generated by: zOmbie Mar 3, 2023 at 9:40 PM

Stack:
Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/usr/www/users/...', 1187)
#1 src/XF/Template/Templater.php(1187): trigger_error('Method isCheckM...', 512)
#2 internal_data/code_cache/templates/l1/s0/public/helper_js_global.php(52): XF\Template\Templater->method(Object(MMO\Hide\XF\Entity\User), 'isCheckMultiAcc...', Array)
#3 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l1/s0/admin/helper_js_global.php(12): XF\Template\Templater->callMacro('helper_js_globa...', 'body', Array, Array)
#5 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#6 internal_data/code_cache/templates/l1/s0/admin/PAGE_RUN_JOB.php(76): XF\Template\Templater->callMacro('helper_js_globa...', 'body', Array, Array)
#7 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#8 src/XF/Admin/App.php(259): XF\Template\Templater->renderTemplate('PAGE_RUN_JOB', Array)
#9 src/XF/App.php(2281): XF\Admin\App->renderPageHtml('




<form acti...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#10 src/XF/Admin/App.php(138): XF\App->renderPage('




<form acti...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#11 src/XF/Mvc/Dispatcher.php(404): XF\Admin\App->renderPage('




<form acti...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#12 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}

Request:
Code:
array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(45) "https://xxxxxxxxxxxx.com/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(130) "https://xxxxxxxxxxxx.com/admin.php?add-ons/BS-MultiAccountDetector/finalize&t=1677879616%2C1d0dddccf4dc53600e793e952bf59564&a=install"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(3) "660"
  }
}
 

021

Developer
Jun 11, 2020
390
197
43
I'm having an issue or conflict with this addon and another one.
Hello. This is normal during installation/upgrade, just remove these errors. This is because XenForo imports modifications before class extensions.
 

021

Developer
Jun 11, 2020
390
197
43
Is there anyway to stop this from happening?
As I mentioned - this error occurs only when installing / updating the add-on and is not something critical. Just remove the errors that have arisen and they will not occur again.
 
Mar 3, 2023
4
0
1
As I mentioned - this error occurs only when installing / updating the add-on and is not something critical. Just remove the errors that have arisen and they will not occur again.
Yea i have removed them twice now, they appear everytime the cron runs lol.
 
Mar 9, 2023
2
0
1
Hey @021,
Is it possible to have this system actually handle a ban?
Moving the user into a specific group is great. However, I would much appreciate if it could also handle the user suspension as well.

I use a system which displays the user ban information on their client-side when trying to use an account that is no longer in service. Setting the user into a banned group during this detection causes some issues, alongside only showing N/A for my ban reason since the add-on does not handle the user ban, just the group.

-- EDIT
Also, while building with XF2, if I login to any alt testing accounts, they all receive bans. A bypass permission would be a lifesaver while I work with multiple accounts through multiple user groups.

Thanks a ton!
 
Last edited:

021

Developer
Jun 11, 2020
390
197
43
Hey @021,
Is it possible to have this system actually handle a ban?
Moving the user into a specific group is great. However, I would much appreciate if it could also handle the user suspension as well.

I use a system which displays the user ban information on their client-side when trying to use an account that is no longer in service. Setting the user into a banned group during this detection causes some issues, alongside only showing N/A for my ban reason since the add-on does not handle the user ban, just the group.

-- EDIT
Also, while building with XF2, if I login to any alt testing accounts, they all receive bans. A bypass permission would be a lifesaver while I work with multiple accounts through multiple user groups.

Thanks a ton!
Hello,

I'm glad you liked my add-on. I'm happy to implement your suggestion) Please create a thread in this section, if you don't mind :)

Regards,
021
 
  • Like
Reactions: Labb