Hey Samuel,
I know bumping into an old support thread is normally not a good idea, but I thought so you would directly know what I mean
And it works, thank you!
Looks like this
|| in_array(‘bbp_keymaster’, get_userdata($user_id)->roles);
was the part I was looking for.
Thank you Samuel 🙂
And PS, nice plugin :p
Hey Samuel,
I use the code as described above to restrict users sending messages to other users.
Now everything works fine, except one thing, now keymasters can’t send messages to other keymasters. So only messages between ‘normal’ users and keymasters an vice versa is possible.
Do you have an idea how to change that?
Thanks for your help!
Greetings Pascal