Title: Scriptrunner (Doug Sparling)'s Replies | WordPress.org

---

# Scriptrunner (Doug Sparling)

  [  ](https://wordpress.org/support/users/scriptrunner/)

 *   [Profile](https://wordpress.org/support/users/scriptrunner/)
 *   [Topics Started](https://wordpress.org/support/users/scriptrunner/topics/)
 *   [Replies Created](https://wordpress.org/support/users/scriptrunner/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/scriptrunner/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/scriptrunner/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/scriptrunner/engagements/)
 *   [Favorites](https://wordpress.org/support/users/scriptrunner/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 520 total)

1 [2](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/scriptrunner/replies/page/3/?output_format=md)…
[33](https://wordpress.org/support/users/scriptrunner/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/scriptrunner/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/scriptrunner/replies/page/35/?output_format=md)
[→](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] Doesn’t work on my PC](https://wordpress.org/support/topic/doesnt-work-on-my-pc/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years ago](https://wordpress.org/support/topic/doesnt-work-on-my-pc/#post-9054723)
 * I’m not real familiar with running WordPress on Windows, but sounds like (pretty)
   permalinks are not working. If you’re using IIS (not Apache), then You’ll need
   to make sure IIS (IIS 7 or above) has Microsoft’s URL Rewrite module installed.
   If so, the rewrite rules go in web.config, not .htaccess.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] Redirect other than front page doesn’t seem to work](https://wordpress.org/support/topic/redirect-other-than-front-page-doesnt-seem-to-work/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/redirect-other-than-front-page-doesnt-seem-to-work/#post-8266306)
 * No problems, Morgan, that happens sometimes. Thanks for using WP Admin No Show!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] Redirect other than front page doesn’t seem to work](https://wordpress.org/support/topic/redirect-other-than-front-page-doesnt-seem-to-work/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/redirect-other-than-front-page-doesnt-seem-to-work/#post-8260602)
 * Hi Morgan,
 * I just tested a redirect to an existing page on my laptop and it works fine for
   me. i tried it with “Plain” and “Post name” permalink settings. If you select“
   A Static Page” for “Where to redirect blacklisted users” and then select an existing
   page from the dropdown, you should be good. I am using WP 4.6.1. Any extra info
   you can give me would be helpful and I’ll try and see if I can duplicate the 
   issue you’re having if I can.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] I can't access my wp-admin at all](https://wordpress.org/support/topic/i-cant-access-my-wp-admin-at-all/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/i-cant-access-my-wp-admin-at-all/#post-8204335)
 * There is an uninstall hook in the plugin that will delete those rows, but obviously
   you need to be able to delete the plugin from the dashboard.
 * If you want a clean slate, then rename the plugin, which should allow you to 
   log back in and WordPress will deactivate the plugin for you. Do not rename the
   plugin back. Go to the plugins admin and then delete WP Admin No Show plugin.
   This will run the uninstall script, which will delete those rows from the database.
   You should then be able to reinstall the plugin fresh.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] Passord reset](https://wordpress.org/support/topic/passord-reset/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/passord-reset/#post-7689552)
 * Resolving as reported problem doesn’t appear to be related to WP Admin No Show.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] Passord reset](https://wordpress.org/support/topic/passord-reset/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/passord-reset/#post-7689487)
 * Again, the WP Admin No Show plugin does not affect password resets or WordPress
   email in any way. I can only help you with the plugin.
 * Have you installed the WP Admin No Show plugin and if so, in what way is this
   plugin causing a problem?
 * If you have installed the plugin and you cannot login as admin user to disable
   it, then you need to use FTP to delete the WP Admin No Show plugin manually.
 * However again, this plugin has nothing to do with password resets or emails generated
   by WordPress. Aplogies if I’m misunderstanding the question but I can only help
   with questions specifically regarding the WP Admin No Show Plugin, which I’ll
   gladly do.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] Passord reset](https://wordpress.org/support/topic/passord-reset/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/passord-reset/#post-7689406)
 * WP Admin No Show doesn’t affect password resets. You should be able to change
   your password even if you’re using a blacklisted role. It doesn’t sound like 
   what you’re describing could be caused by the plugin.
 * Just for general troubleshooting – do I understand you correctly that you get
   an email after you submit the password reset form (where you enter a username
   or email address) but it doesn’t contain a link so you can actually reset your
   password?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] Restrict access to Dashboard but allow Profile?](https://wordpress.org/support/topic/restrict-access-to-dashboard-but-allow-profile/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/restrict-access-to-dashboard-but-allow-profile/#post-7654652)
 * No, not at this time, though that’s a feature I’ve been thinking about.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] Passord reset](https://wordpress.org/support/topic/passord-reset/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/passord-reset/#post-7689402)
 * I’m not sure I quite understand the problem, but unless perhaps you’re using 
   custom user roles, you shouldn’t be able to lock yourself out as admin with the
   redirect. WP Admin No Show doesn’t modify passwords and doesn’t affect psasword
   reset.
 * If all else fails, you’ll need to delete the plugin manually (via FTP) and remove
   the rows in the wp_options table where option_name begins with wp_admin_no_show_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Product Archive Customiser] Division by zero error](https://wordpress.org/support/topic/division-by-zero-error-10/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/division-by-zero-error-10/#post-6490755)
 * If it helps, here’s the errors I get:
 *     ```
       Warning: Division by zero in /Library/WebServer/Documents/Sites/WordPressWoo/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 250
   
       Warning: Division by zero in /Library/WebServer/Documents/Sites/WordPressWoo/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 252
       ```
   
 * In both cases, the dividend is
 * `$woocommerce_loop['columns']`
 * which is empty, causing the divide by zero.
 * Looks like it’s getting set in line 248:
 * `$woocommerce_loop['columns'] = ! empty( $woocommerce_loop['columns'] ) ? $woocommerce_loop['
   columns'] : apply_filters( 'loop_shop_columns', 4 );`
 * `apply_filters( 'loop_shop_columns', 4 )` is returning an empty string, and that’s
   getting called since `$woocommerce_loop['columns']` is empty.
 * I’m using WP 4.5.3, WooCommerce 2.6.2, and TwentySixteen theme. All other plugins
   are deactivated (other than WooCommerce Product Archive Customiser, obviously
   🙂
 * Once I deactivate WooCommerce Product Archive Customiser, then errors go away.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] user with a secondary role](https://wordpress.org/support/topic/user-with-a-secondary-role/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/user-with-a-secondary-role/#post-7023457)
 * Thanks Justin, great advice. I’ll definitely be looking at working in your suggestions.
   In the end, I would like to make this plugin work at a more granular level. This
   plugin came from a project several years ago where I just needed to deal with
   basic user roles. Open sourcing it always shows that people have real needs other
   than what I had, so I’m glad to oblige. And yes, Security 101 would dictate whitelisting
   is better than blacklisting. And now that I’ve added whitelisting, it seems a
   bit redundant to have both. Again, thanks for the feedback, much appreciated.
 * That said, for now I’ve added a whitelist option for site administrator.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] user with a secondary role](https://wordpress.org/support/topic/user-with-a-secondary-role/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/user-with-a-secondary-role/#post-7023455)
 * Thanks for confirming this issue. I’ll try and start working on an update today
   now that I better understand the problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] user with a secondary role](https://wordpress.org/support/topic/user-with-a-secondary-role/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/user-with-a-secondary-role/#post-7023435)
 * Sorry the delay – the plugin as written can’t do what you want. However, I have
   been considering making it possible for a more granular level of blacklisting.(
   at the user level, which would override the role.) But for now, it won’t work
   with secondary roles as you’d like.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] I can't access my wp-admin at all](https://wordpress.org/support/topic/i-cant-access-my-wp-admin-at-all/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/i-cant-access-my-wp-admin-at-all/#post-7116180)
 * It shouldn’t be possible to blacklist the administrator, at least with a default
   install. Are you using a role manager plugin?
 * Deleting the plugin via FTP won’t run the uninstall script, so it won’t remote
   the settings from the database. You’ll need to delete the rows in wp_options 
   table with this option names:
 * wp_admin_no_show_redirect_type
    wp_admin_no_show_redirect_page wp_admin_no_show_blacklist_roles
 * Obviously, since you’d be deleting records in your WordPress database, be sure
   to backup your database first. Or if you’d feel more comfortable, you can edit
   those values for those rows.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Admin No Show] user with a secondary role](https://wordpress.org/support/topic/user-with-a-secondary-role/)
 *  Plugin Author [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/user-with-a-secondary-role/#post-7023137)
 * Hello,
 * Are you using a plugin to create the secondary role? If so, could you tell me
   which one?
 * Thanks!
    == doug

Viewing 15 replies - 1 through 15 (of 520 total)

1 [2](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/scriptrunner/replies/page/3/?output_format=md)…
[33](https://wordpress.org/support/users/scriptrunner/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/scriptrunner/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/scriptrunner/replies/page/35/?output_format=md)
[→](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)