Scriptrunner (Doug Sparling)
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Admin No Show] Doesn’t work on my PCI’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
In reply to: [WP Admin No Show] Redirect other than front page doesn’t seem to workNo problems, Morgan, that happens sometimes. Thanks for using WP Admin No Show!
Forum: Plugins
In reply to: [WP Admin No Show] Redirect other than front page doesn’t seem to workHi 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
In reply to: [WP Admin No Show] I can't access my wp-admin at allThere 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
In reply to: [WP Admin No Show] Passord resetResolving as reported problem doesn’t appear to be related to WP Admin No Show.
Forum: Plugins
In reply to: [WP Admin No Show] Passord resetAgain, 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
In reply to: [WP Admin No Show] Passord resetWP 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
In reply to: [WP Admin No Show] Restrict access to Dashboard but allow Profile?No, not at this time, though that’s a feature I’ve been thinking about.
Forum: Plugins
In reply to: [WP Admin No Show] Passord resetI’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
In reply to: [WooCommerce Product Archive Customiser] Division by zero errorIf 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
In reply to: [WP Admin No Show] user with a secondary roleThanks 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
In reply to: [WP Admin No Show] user with a secondary roleThanks for confirming this issue. I’ll try and start working on an update today now that I better understand the problem.
Forum: Plugins
In reply to: [WP Admin No Show] user with a secondary roleSorry 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
In reply to: [WP Admin No Show] I can't access my wp-admin at allIt 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_rolesObviously, 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
In reply to: [WP Admin No Show] user with a secondary roleHello,
Are you using a plugin to create the secondary role? If so, could you tell me which one?
Thanks!
==
doug