Dude, there's a Read PC addon http://xenforo.com/community/threads/tlk-readpc.26890/ and I already know of a xenforo site whose admin abused it by banning members who talked sh!t about him in PCs. He practically banned 3/4th's of the site. Too much power went to the head.
New features:
- Added button and associated overlay to select user to login as from the moderator bar, including support for AutoComplete Combo Box by Waindigo.
Are you able to see what the error is in the JavaScript console? Also, does the error clear if you go into the options for the add-on, click save, and then try again?Hi,
Clicking the button in the moderator bar produces this error:
![]()
Are you able to see what the error is in the JavaScript console? Also, does the error clear if you go into the options for the add-on, click save, and then try again?
PHP Fatal error: Call to undefined method Waindigo_LoginAsUser_Extend_XenForo_Model_User::canLoginAsUsers() in /home/sociall1/public_html/forums/library/Waindigo/LoginAsUser/Listener/TemplateHook.php on line 36
PHP Fatal error: Call to undefined method Dark_PostRating_Model_User::canPostAsDifferentUser() in /home/sociall1/public_html/forums/library/Waindigo/LoginAsUser/ControllerPublic/LoginAsUser.php on line 75
That's not true. And what about 5.2?Wish more developers would upgrade to php 5.4 As anything you code in 5.4 will work in 5.3
I would not be using 5.2 if I were you.That's not true. And what about 5.2?
I don't use 5.2 on any of my live sites, but XenForo officially supports it so all my add-ons do to (in theory). I would love to stop supporting it as it would make my life so much easier.I would not be using 5.2 if I were you.
Not on localhost it's not.Security is an issue
I am well aware of that. I like to remind myself every time someone complains about a bug on 5.2.And for the record....
5.2.16 2010-12-16 End-of-life for 5.2 series
http://www.php.net/archive/2010.php#id2010-12-16-1
AgreedI don't use 5.2 on any of my live sites, but XenForo officially supports it so all my add-ons do to (in theory). I would love to stop supporting it as it would make my life so much easier.
Not on localhost it's not.
I am well aware of that. I like to remind myself every time someone complains about a bug on 5.2.
Bug fixes:
- Fixed canPostAsDifferentUser() bug due to code accidentally copied over from the Post As User by Waindigo add-on.
The following error occurred:
Invalid argument supplied for foreach()
1. XenForo_Application::handlePhpError() in Waindigo/Listener/ControllerPreDispatch/20121021.php at line 130
2. Waindigo_Listener_ControllerPreDispatch::isAddOnEnabled() in Waindigo/LoginAsUser/ControllerPublic/LoginAsUser.php at line 88
3. Waindigo_LoginAsUser_ControllerPublic_LoginAsUser->actionChoice() in XenForo/FrontController.php at line 310
4. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
5. XenForo_FrontController->run() in /home/XXXXXXXX/public_html/index.php at line 13
Why the following message appears when you click on the Login As User...:
View attachment 36580
Code:The following error occurred: Invalid argument supplied for foreach() 1. XenForo_Application::handlePhpError() in Waindigo/Listener/ControllerPreDispatch/20121021.php at line 130 2. Waindigo_Listener_ControllerPreDispatch::isAddOnEnabled() in Waindigo/LoginAsUser/ControllerPublic/LoginAsUser.php at line 88 3. Waindigo_LoginAsUser_ControllerPublic_LoginAsUser->actionChoice() in XenForo/FrontController.php at line 310 4. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132 5. XenForo_FrontController->run() in /home/XXXXXXXX/public_html/index.php at line 13
View attachment 36582
Thank you for your cooperation.
Bug fixes:
- Fixed 'Invalid argument supplied for: foreach()' error in shared file.
- Fixed protected function being incorrectly marked as public in shared file.
We use essential cookies to make this site work, and optional cookies to enhance your experience.