danbrady
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Free Shipping Rules Based on RoleGood work Sean, thanks for sharing 🙂
We haven’t yet upgraded WC to 2.1+ on the site we used this for, but when we do I’m sure we’ll be revisiting your solution.
Forum: Plugins
In reply to: [HTML5 jQuery Audio Player] Give editors access to manage playlistsAnswering my own ticket as it’s obviously quite simple:
The plugin sets permissions based on the manage_options capability (admin user role only by default) in plugin.php
Create a new capability (eg using the Members plugin) and enable that for any user roles that should be able to edit the plugin, eg Editor.
Then replace the code that references manage_options with your new capability. Best to do this in your child theme.
Forum: Plugins
In reply to: [HTML5 jQuery Audio Player] Responsiveness please!!!Any update on v3?
I’ve just bought the pro version and the responsive version would be ideal for me.
Thanks
Forum: Plugins
In reply to: [WooCommerce] Free Shipping Rules Based on RoleA few people are emailing me for the code, so I am putting it here. But the disclaimer first – we amended the code supplied by woothemes (via crazyk73). This worked for our site and our specific requirements – make sure you test thoroughly for your site and needs.
If you want the shortcut, quick option, purchase: the role-based-payment-shipping-methods extension/
Alternatively, try this (note that we are giving free shipping to users of the role ‘wholesale buyer’ plus a couple of conditions which you will definitely want to change):
In the theme’s functions.php file, in the main class:
add_filter( 'woocommerce_available_shipping_methods', array( &$this, 'woocommerce_set_free_shipping_for_certain_users' ));And add this:
http://pastebin.com/i4vLvggn
In case it wasn’t clear – you need to modify this to fit your requirementsForum: Plugins
In reply to: [WooCommerce] Free Shipping Rules Based on Role@crazyk73 – I don’t see any reason not to post the code here?
I’ll leave it with you 🙂
Forum: Plugins
In reply to: [WooCommerce] Free Shipping Rules Based on RoleIt worked for us, with minor mods to suit our client’s requirements, thanks again
Forum: Plugins
In reply to: [WooCommerce] Free Shipping Rules Based on RoleThanks, that would be great. If you have a transcript of the walkthrough and code, could you please email: dan.brady [at] me.com
Much appreciated 🙂
Forum: Plugins
In reply to: [WooCommerce] Free Shipping Rules Based on RoleDid you get this sorted? I’m looking for the same thing.
Forum: Plugins
In reply to: [Twitter Widget Pro] Can'r remove twitter accountI was editing the main plugin settings, when the widget has its own settings (Appearance > Widgets) which take priority.
Forum: Plugins
In reply to: [Twitter Widget Pro] Can'r remove twitter accountMy bad, the widget settings were over-riding it. Fixed now.
But it w still be good to completely remove a twitter account. We added ours as a test, and now can’t remove it from the live (client) site.
Forum: Plugins
In reply to: [Login Security Solution] Conflict with 'Better WP security' pluginThought I’d better follow this up and say that we have had both plugins running together for a few months. Unfortunately I can’t remember the details of how we resolved the issue, but the FAQ point above does work.
ps thanks for your help though!
Looks like it’s a WP bug that’s been around for a while, described here:
http://core.trac.wordpress.org/ticket/21352 (with patch)We’ve applied the patch, redirects work ok now.
Hopefully this will be merged in the next WP version. We’ll need to check that ticket when we next upgrade as if it hasn’t been merged we’ll need to apply the patch again after upgrade.
Hi Dan, although it’s an irritating little problem (users always get stuck resetting passwords as they end up on the wrong site, resulting in phone calls to us) – we are too busy to debug this properly for now!
This is only a problem with our mult-site install.