Emma Edgar Valcq
Forum Replies Created
-
Hi There!
Please try logging in through http://moderndiseases.com/wp-admin/
Let me know if this resolves the issue.
Thanks,
EmmaForum: Plugins
In reply to: [WooCommerce] Local Delivery Minimum not working on CheckoutSorry, my fault.
I was using is_admin() to check if it was the front end, not realizing that is_admin() returns true if ajax is involved (ajax is used on the checkout page, but not the cart page).
Here’s my function:
add_filter( 'woocommerce_package_rates', 'conditional_local_delivery', 20, 1 ); function conditional_local_delivery( $rates ){ if( is_admin() && defined('DOING_AJAX') && DOING_AJAX && isset( $rates['local_delivery'] ) ){ global $woocommerce; if( $woocommerce->cart->cart_contents_count < 5 ){ unset($rates['local_delivery']); } } return $rates; }Awesome, thanks!
It seems to be working really well, exactly how I expected it would work. I was hoping to get the quantity column titles to be titled the name or id of the product itself. That way it would be easier to get the total number of each product, but I know my specific needs could be fairly rare( it would be nice for the future though 😉 ). I should be able to work with this though.
Thanks for your help!
EmmaForum: Plugins
In reply to: [The Events Calendar] Calendar search is searching "Search"Sure! Thanks!
Emma
Forum: Plugins
In reply to: [Project Force Field] No settings page?Hi Max Pen,
The plugin doesn’t have a settings page at this time, but it is planned for a future release.
Thanks,
EmmaForum: Plugins
In reply to: [Project Force Field] Issues logging into WP siteHi Jos,
“wp-admin.php” isn’t actually a file default to WordPress. To log into your website, use /wp-admin/ or /admin/ instead.
Thanks,
EmmaSorry for all the messages…
As I was trying to figure out how to disable the other plugin or modify it to not use
define( 'DISALLOW_FILE_EDIT', true );I found this in the codex: “Please note: the functionality of some plugins may be affected by the use of current_user_can(‘edit_plugins’) in their code. Plugin authors should avoid checking for this capability, or at least check if this constant is set and display an appropriate error message. Be aware that if a plugin is not working this may be the cause.”I’m not sure how you use the capability or why you check for it, but it would be appreciated if this could be changed somehow. Just a suggestion.
Thanks!
EmmaNevermind… Plugin conflict. A plugin disabled the Edit Plugins capability.
More info. I just tried accessing the page by adding “/wp-admin/admin.php?page=feed-them-settings-page” after the domain and it says Access Denied. I used the Advanced Access Manager plugin to look at the capabilities for my admin user, and it says I have access to everything and nothing is hidden.
Forum: Plugins
In reply to: [Highlight Search Terms] Infinitely loading javascriptHi differentc@rl, no I didn’t. We were on a tight schedule so I switched to a different plugin before I found a solution. Sorry.
Hi Vasyl,
I’ve installed the Plus extension and it works now. Took a little while to figure out, but we’re good.
Thanks for your help!
EmmaThanks Vasyl.
I wasn’t aware that there was a Plus Package. I’ll install that and see if it helps.
Thanks,
EmmaForum: Plugins
In reply to: [Highlight Search Terms] Infinitely loading javascriptI work for a WordPress shop so, unfortunately in this case, it is a custom theme and the site has already been launched, so I can’t do any testing on it. 🙁
Forum: Plugins
In reply to: [BruteProtect] WhitelistHi Everybody,
Just something to be aware of, if you are using Google Page Speed (a caching service) on a site and BruteProtect, there may be some issues.
My company got a note from a client saying that he was being blocked from logging into his site. When everyone in the office tried logging in, we got the same error message with the same blocked IP. The IP (74.125.183.194) was from Mountain View, CA, Google Inc.
That’s when we realized that the client had asked for us to use Google Page Speed on his site a few months ago. We think Google Page Speed, for some reason, tried to login to the admin area to cache it.
Any thoughts?
Emma
You have the option to restrict access from main tabs on the left as well as their sub pages. If a plugin creates its own tab or inserts itself as a sub page of another tab, then yes, it will do what you want. But it does not do this specifically on a plugin to plugin basis.