Forum Permissions b...
 
Notifications
Clear all

Forum Permissions bulk edit

4 Posts
2 Users
0 Reactions
1,939 Views
(@rob6161)
New Member
Joined: 6 years ago
Posts: 2
Topic starter  

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

https://ibb.co/i1PLiK

https://ibb.co/em0FHe

Is it possible to edit this permission for all forums?

Thanks!

 

This topic was modified 6 years ago 2 times by Rob6161

   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6154
 

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/  


   
ReplyQuote
(@rob6161)
New Member
Joined: 6 years ago
Posts: 2
Topic starter  

Thanks for the info, made a script on the side to modify them in database

 


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6154
 

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. 


   
ReplyQuote
Share:
Scroll to top