Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » Nextgen roles, locked out of plugin

  • I find myself in a faintly ridiculous situation. I had some trouble setting up roles so that site authors could work with Nextgen so I set all the Nextgen roles temporarily to ‘Anonymous’. The upshot of this is that the site admin is now blocked from doing anything on any of the Nextgen admin or setting pages. An anonymous user can’t get to it because they’re effectively blocked from any of the WordPress admin pages. So now nextgen is closed to everyone along with the means to open it back up to anyone.

    Does anyone have any thoughts on this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author photocrati


    @kimaldis – By default, there is no “Anonymous” role available in WordPress which is what NextGEN Gallery uses for its default Roles … what are you using to provide the anonymous role?

    If its a plugin, have you tried disabling it? Otherwise, we would want to see a Bug Report ( … please reference this topic) for this as I do not recall coming across anything like this before.


    – Cais.

    I’ve a feeling it might be from the Woocommerce plugin. It’s a live site, I’m going to have to be careful about disabling it.

    I’ve tried forcing current_user_can() to return true. That gives me the nextgen gallery back in the WP admin page but I’m still being blocked from the other options menu – “Not Authorized” – which is the one I want. You wouldn’t have any tips on what I might be able to temporarily hack to get it back, would you? I’ve taken the site off line while I’m messing with ti.

    That’ll teach me to mess around with a live site, won’t it.

    Plugin Author photocrati


    @kimaldis – My first thoughts would be to look into the database but I do not know off hand where the roles and capabilities are stored and I would strongly recommend having a full complete verified backup before messing around with anything there.

    If may also be best to submit a Bug Report ( … please reference this topic) so our developers can have a look at what is going on. We’ll need log in, FTP and most likely database access credentials for your WordPress installation, please include those with the Bug Report.


    – Cais.

    yeah, I looked in the database, found an options entry for nextgen but it’s encoded in some way.

    I’ll wait until I have something worked out before getting into reports, I’m reluctant to have anyone messing around in a customer’s site. Although if I get really desperate I may change my mind.


    I’m pretty sure this is something gone wrong with Nextgen itself. I’ve just restored the site from a backup made yesterday, Nextgen is still invisible in the admin menu. That strikes me as odd.

    De-activating the plugin that created the anonymous role hasn’t fixed the problem.

    I’ve also installed Role Manager,used that to give the anonymous role every capability that exists. That didn’t work either.

    After a lot of messing about here’s what I know:

    Nextgen doesn’t play nice with roles created by other plugins. If you assign a non-wordpress role to all of Nextgen’s capabilities you will lose Nextgen from the admin menu bar along with any ability to modify options. This holds true for any user with any role including Administrator. The only way to get it back is to restore from a previous database. If you haven’t done that prior to this relatively simple operation you’re absolutely stuffed, if you want Nextgen back … well kind of tough.

    I’ve spent enough time on this so if you don’t mind you’ll have to take this as your bug report.

    Thus far, and for reasons other than just this, I’m not that impressed with Nextgen.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Nextgen roles, locked out of plugin’ is closed to new replies.