-permanent ban might require a security plugin that has ip blocking.
-temporary ban would be switching the users role in the backend to blocked.
for how long you want it just keep their user role like that until their ban time ends.
Thank you very much Robkk, so then I must assume there is no plugin with these kind of functionalities? I have set moderator privileges to all my forum moderators with certain capabilities (like edit forums, delete forums, etc…) and do not want them to enter the wordpress admin area to ban unwanted users. That’s why I’m searching for a bbpress plugin in order to add these ban capabilities to my moderators only on the bbpress side.
Cheers.
well i cant find any at the moment.
but i guess if there was a plugin all it would have to do is change users role in the frontend for a period of time that would be set by moderators or keymasters.
Thank you again for your response! yes, that’s exactly what I want. But I can’t believe there is not a plugin to do this kind of moderation on bbpress.
I want to make sure that there is not an existing alternative before start writing code (I’m not very familiar at writing code for bbpress).
I want to make sure that there is not an existing alternative before start writing code (Iām not very familiar at writing code for bbpress).
ok alright , some other users want this functionality so it will be great for someone to make it š
Thank you Robkk, where can I find a tutorial or howto create a plugin for bbpress? I found the bbpress files that I need to edit and I can put my code in, but I think this is not the clean way to do it.
i think its really like making a plugin for wordress except you use bbpress’s hooks
but i havent gone in too deep in knowing how to create a plugin.
this plugin helps on finding all of bbpress’s hooks
https://wordpress.org/plugins/bbpress-visual-hooks/
and im sure information in documentation will help.
Codex
heres some information that i found real quick that i think could help.
Plugins
Step by step guide to setting up a bbPress forum – part 4
Step by step guide to setting up a bbPress forum – part 5
if you need anymore help create a new topic titled “Need Help on bbpress plugin development”
and maybe robin or stephen can help from there.
robin already has tons of plugins made for bbpress
and stephen is one of the core developers
Thank you very much Robkk for your help and time. I’ll try to figure it out, first I need to read all this information š
This one is closest I could find. Still has to be guessed to hit 24-48 hours, or exact week time ban for instance. But there is no better out there.
Strange, considering WP has plenty plugins for everything.
It is permanent ban logics fault. Sometimes it is enough to cool down User by time ban of 1 day, one week or one month.
https://wordpress.org/plugins/user-blocker/
Maybe you can borrow code and make something for bbPress core.