WordPress.org

Ready to get started?Download WordPress

Forums

WP Admin No Show
[resolved] Version 1.4.1 Doesn't Work ! (15 posts)

  1. flynhox
    Member
    Posted 11 months ago #

    Hello, i just update this plugin to new version 1.4.1, but after update plugin doesn't work anymore, plugin still active but all users can access wp-admin page and admin bar don't hide !

    http://wordpress.org/plugins/wp-admin-no-show/

  2. Scriptrunner (Doug Sparling)
    Member
    Plugin Author

    Posted 11 months ago #

    Do you now what version you upgraded from (I assume 1.4.0)? Nothing in the code changed, I just verified that it worked with WP 3.6 and bumped the version number. You might verify the settings on the plugin settings page. Any info you can pass along about your environment (server, wp version, php version), etc. But as I said, no code was changed if you went from 1.4.0 to 1.4.1. I also tested the upgrade scenario on my WP install with no problems.

  3. Scriptrunner (Doug Sparling)
    Member
    Plugin Author

    Posted 11 months ago #

    Also, did you do an update or delete the old version first? Deleting the plugin will remove the settings from the database. An upgrade will not. The main thing is to check the plugin settings page and see if the blacklist boxes you checked still are and the redirect is set.

  4. flynhox
    Member
    Posted 11 months ago #

    hi, thanks for you support. I just reintall plugin and now everything fine ! Thanks you !

  5. Scriptrunner (Doug Sparling)
    Member
    Plugin Author

    Posted 11 months ago #

    Awesome, thank you for the update. And thanks for using my plugin!

  6. alimoosavi15
    Member
    Posted 10 months ago #

    I have the same issue after upgrading. I also tried deleting the plugin and re-installing it but that didn't work too so I restored to the previous version.

  7. massimopadovan
    Member
    Posted 10 months ago #

    As the current_user_can documentation says:
    Do not pass a role name to current_user_can() ...
    I've make some changes to the plugin code to use the function described here.

  8. telesemana
    Member
    Posted 7 months ago #

    I have it install with a multisite and buddy press. In the main site works fine, but on the second one users can see the bar and access the admin area. Is this because the plugin does not work in MU?

  9. telesemana
    Member
    Posted 7 months ago #

    Ups! I placed the comment in a resolved issue. Shall I open a new one? Apologies.

  10. Scriptrunner (Doug Sparling)
    Member
    Plugin Author

    Posted 7 months ago #

    Apparently I missed the comment from @massimopadovan, so I'll be updating the plugin in the next few days to address that issue.

  11. Scriptrunner (Doug Sparling)
    Member
    Plugin Author

    Posted 7 months ago #

    @telesemana - I had updated the plugin to deal with multisite a few versions ago. I'm going to make some updates and I'll see if I can look at that as well.

  12. telesemana
    Member
    Posted 7 months ago #

    Ok, this is what I think I found. When a user signs for MU it gets signed for the root site only, although it can login to other sub sites, those users have no roles unless you take them to the site. Your plugin works if the user has a role in a sub site, but not if it does not. I think they call that state pseudo users. When I gave the user a role on a sub site and its role is blacklisted, then it works. If you can add the pseudo user "role" on the black list, then I guess the problem could be solved. Cheers!

  13. Scriptrunner (Doug Sparling)
    Member
    Plugin Author

    Posted 7 months ago #

    @telesemana - Awesome, thank you for the detailed info! I'll be working on the plugin tonight. I'll probably address current_user_can issue first, and then look into the pseudo user role.

  14. telesemana
    Member
    Posted 7 months ago #

    Excellent, many thanks, keep us posted on your progress, your plugin is very useful, thanks for taking the time to develop it and improve it, and respond so quickly to inquiries ;)

  15. telesemana
    Member
    Posted 6 months ago #

    Happy New Year Doug! Where you able to see at the pseudo user issue for MU? Cheers.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.