Report reply Kjell Iver Johansen 6 Posted March 24, 2020 Hello - I have a rather big problem with Babble. There is no editor. Been trying the plugin you made https://codingjungle.com/files/sc/204-login-error-because-of-babble/?tab=comments Quote Share this comment Link to comment
Report reply Michael 263 Posted March 25, 2020 uninstall the plugin, did you need it? Quote Share this comment Link to comment
Report reply Kjell Iver Johansen 6 Posted March 25, 2020 Hello Michael I can tell you in detail what happened. I was on 2.8.10 and the latest IPS release. Babble worked nice for us, and older members, but not new members. They complained they could not see editor. Came a lot of members into the chat with saying a word. I logged in as them and they where right. Deleted cache and all that on serverside as well. Then I installes 2.8.11 - all was the same. Then i tried the plug-in , on and off, and all was the same. Deleted cache and everything as usual. Then one of the old chatters also lost editor, and then I disabled Babble. This is how i looked I'm now testing another chat solution, so I might be abandoning Babble. We have been extremely happy with it BTW. Regards and take care Kjell Iver Quote Share this comment Link to comment
Report reply Michael 263 Posted March 25, 2020 on the rooms, edit the room and check the "group content" tab, make sure all the groups are 0, and then save it. you might have set it at one time and forgot or there might be some corrupted data for it. i'm assuming the old and new members are all in the same group? cause other then the check for group content, the permission checking is boilerplate IPS. the plugin was to correct a weird problem where the extend class being passed to babble's editor class was a empty class (a stdclass) so it didn't have the parent methods, this was either cause by another third party plugin/app or something related to the users specific server, as i couldn't duplicate it and the hook was just replacing babble's editor class to use the IPS editor class instead. Quote Share this comment Link to comment
Report reply Guest Posted April 8, 2020 Changed Status from Pending to No Response Quote Share this comment Link to comment
Report reply Kjell Iver Johansen 6 Posted September 24, 2020 Hello again Michael This problem I this spring that caused us to use the other chat are still causing problems for some users. I have the latest version now. I have tested myselve - and some users cant- access the chat. There is no editor for the user, I have tried disable all other plugins and apps, and I have checked what you have written above but group acces is set to 0. I can't see what is causing this.. Quote Share this comment Link to comment
Report reply Michael 263 Posted September 24, 2020 On 9/24/2020 at 9:01 AM, Kjell Iver Johansen said: I have tested myselve - and some users cant- access the chat. There is no editor for the user, Expand are the users in multiple groups? is it all rooms or just specific rooms? you mentioned its some users, so its not all users? would it be possible to duplicate me an account as close as possible to one of the accounts being effect (like creating a new user, and then setting that user in the same groups as one of the effected members). finally, is there anything in the system logs in IPS: Quote Share this comment Link to comment
Report reply Michael 263 Posted September 24, 2020 if ( \in_array( $permission, array( 'add', 'reply', 'review' ) ) AND $member instanceof \IPS\Member ) { $checkPostsPerDay = TRUE; if ( isset( static::$contentItemClass ) ) { $contentClass = static::$contentItemClass; $checkPostsPerDay = $contentClass::$checkPostsPerDay; } if ( $checkPostsPerDay === TRUE AND $member->checkPostsPerDay() === FALSE ) { $this->cachedPermissionChecks[ $_key ] = FALSE; return $this->cachedPermissionChecks[ $_key ]; } } looking deeper into the $model->can() method, i found this, something i missed before. this might be the culprit. this plugin will tell the $model->can() check to ignore $checkPostPerDay limits. 2.9 Room Fix.xmlFetching info... so with any luck, this might just fix it. Quote Share this comment Link to comment
Report reply Kjell Iver Johansen 6 Posted September 24, 2020 (edited) Hello - I installed plugin but still have the issue - even after deleting cache on server Nothing related in errorlogs. I have only one room Might be that members that have these problems have 0 posts... Edited September 24, 2020 by Kjell Iver Johansen Quote Share this comment Link to comment
Report reply Kjell Iver Johansen 6 Posted September 24, 2020 I can confirm that it is only happening with users with zero posts,, Quote Share this comment Link to comment
Report reply Kjell Iver Johansen 6 Posted September 24, 2020 I "think" I will keep it as it is now, until we have moved and upgrade my site. Thanks for helping me out so far. Quote Share this comment Link to comment