Hi,
I have hundred of forums on my website, i am looking for a way to add a forum permission to all of them without having to open them one by one,
Ex: Adding a permission to one forum
Is it possible to edit this permission for all forums?
Thanks!
Hi Rob6161
I'm sorry, but you need to edit each forum to set permissions.
It would be better to set permissions when you create a new forum.
Doc for forum permissions here: https://wpforo.com/docs/root/categories-and-forums/forum-manager/add-new-forum/
Thanks for the info, made a script on the side to modify them in database
Hi Rob6161,
Sorry for the late reply.
please execute this SQL in Hosting Service cPanel > phpMyAdmin database manager, navigate to SQL Tab.
UPDATE `wp_wpforo_forums` SET `permissions` = 'a:7:{i:1;s:4:"full";i:2;s:9:"moderator";i:3;s:8:"standard";i:4;s:9:"read_only";i:5;s:8:"standard";i:6;s:8:"standard";i:7;s:8:"standard";}'
change the red mark value to your current permission value, copy it from wp_wpforo_forums table.