Xenforo Reset node permissions for all usergroups

Discussion in 'Customization Tips & Tricks' started by Dynamite, Mar 10, 2015.

  1. Dynamite

    Dynamite Administrator Staff Member

    Joined:
    Mar 7, 2015
    Messages:
    2,000
    Likes Received:
    16
    Trophy Points:
    38
    After importing your vB forum or for some other reason you might end up with a lot of wrong node permissions for usergroups.

    It`s very complicated to reset node-permissions for all usergroups as you have to select every single user group within the node and reset the rights.

    To make this easier, you can use the following SQL query and run it e.g. with phpMyAdmin:

    Code:
    DELETE FROM `xenforo`.`xf_permission_entry_content` WHERE `xf_permission_entry_content`.`content_id` = X;
    Replace X with the ID of the node / forum whose permissions you`d like to reset.

    You can easily find out the desired node ID by hovering over the node in:
    /admin.php?nodes/
     

Share This Page

This site is owned and third-party cookies. If you continue with us we understand that you accept the use of cookies.