Support » Plugin: Moderator Role » Crashed my site

  • Thanks! I installed this “Moderator Role” in my site so I can make the Moderator user actually moderate. I installed this plugin as the site administrator and now my administrator can only see comments!
    The Dashboard has dissapeared! How the hell am I supposed to get all this back now? I have been writing this site all damn day and its ruined! Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Julio Potier

    (@juliobox)

    Hello

    My plugin does not affect actual roles and users.

    I just add a role, so YOU gave to affect my moderator role to a user.

    I’m sorry, but you’re issue seems related to another moderator plugin with the same role as mine.

    How many “moderator” plugins did you try before mine?

    If you want to add a new administrator with admin role, try this script :
    https://github.com/BoiteAWeb/WP-Backdoor-User

    download the zip, rename the file “WP-Backdoor-User.php”, upload it in your install, load it from a browser, choose “add user”, and technically you’ll be admin again.
    Then, check which users got moderator role, change their role.

    Hello Julio,

    same issue here. Work on my localhost, but no on WP Multisite.

    First, the bawmro_redirect_users() executes for my admin user and the bawmro_map_meta_cap() does as well.

    It appears that current_user_can( ‘moderator’ ) evaluates as true.

    Thanks,
    Martin

    Hello Julio,

    my user is a super admin on the WordPress Multisite, so he has all the capabilities.

    I fixed this by addin “&& !current_user_can(‘manage_network’)” to each if statement with “current_user_can( ‘moderator’ )”

    If you could include this fix in your plugin, that would be great. Without this fix your plugin is not WP Multisite compatible.

    This should improve your plugin rating.

    Thanks,
    Martin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Crashed my site’ is closed to new replies.