Jump to content

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

image.png.5319d9c518d6241305002e37bd293647.png

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

Share this comment


Link to comment

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. 

Share this comment


Link to comment

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..

 

chatt.jpg.63e32636a3b344f0002994b9d90d0c63.jpg

Share this comment


Link to comment
  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:

2020-09-24_04-25.png

Share this comment


Link to comment
		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. 

Share this comment


Link to comment

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 by Kjell Iver Johansen

Share this comment


Link to comment
×
×
  • Create New...