Tony Hayes
Forum Replies Created
-
Just noticed this one, similar to the other mentioned but closer to what I was saying, again hasn’t been updated in a while though:
https://www.ads-software.com/plugins/lock-your-updates/And this one has the ability to block specific plugin updates also, but then it is more for handling automatic update:
https://www.ads-software.com/plugins/stops-core-theme-and-plugin-updates/Anyay, I thought something simple could be added into WP Rollback itself as in the first two plugins so as to not require extra plugins just to lock a single plugin update.
Forum: Fixing WordPress
In reply to: Creating Recipe Page@michaellanfield wow didn’t even see that one at the time… I am curious though what features make you say it’s the only one that comes close to what you are looking for? I haven’t looked in detail myself yet but some of the other options seemed pretty good also.
Did you get the forum doing what you wanted? Sounds like you are looking to have recipe categories on that page, but if they are not being managed by the forum plugin I don’t see how that would work.
Forum: Fixing WordPress
In reply to: Creating Recipe PageHave you looked at recipe plugin lists like these, seems like plenty of options available. Sure they may or may not end up looking like the site you mentioned, but the looks can always be restyled at a later stage, really there are a lot of other features and considerations for publishing recipes…
https://www.elegantthemes.com/blog/tips-tricks/6-of-the-best-wordpress-recipe-plugins-to-help-your-site-get-cookin
https://www.sktthemes.net/wordpress-plugins/best-wordpress-recipe-plugins-food-chef/As it happens I will be testing these out myself soon for our new vegan recipe website also, so will be happy to share findings as I do, might take me a few days to get round to looking through all the options though.
Forum: Reviews
In reply to: [WP fail2ban - Advanced Security] Great idea, some good code, not finished@foliovision I noticed this redux version, perhaps it’s more likely to follow the line of development you’re suggesting…
https://www.ads-software.com/plugins/wp-fail2ban-redux/Forum: Reviews
In reply to: [Social Login] Very difficultyou are joking, setting their API is easy and having step-by-step instructions on setting up these complex ridiculoous social APIs is a major plus.
I suppose you could add a filter to sleep in the right place… eg.
$sleeptime = apply_filters(‘jetpack_sleep_between’,0); sleep($sleeptime);
then advanced users can change it without hacking updates. just a thought…Forum: Plugins
In reply to: [DW Question & Answer] Shortcode to show specific category listyep, I’ve tested it now, works fine. I’m surprised, usually *something* is wrong with my first attempt, but sometimes ya get lucky eh. ??
well, I did make a slight modification to the conditionals as I’m not using woocommerce on the site I’m using it on, so is_product function is not defined there for me, anyhow now it works woocommerce or no.
enjoy!
Forum: Plugins
In reply to: [DW Question & Answer] Shortcode to show specific category listwas planning on doing a similar thing (list questions related to particular plugin download in my case), saw your post so thought I’d have a go, this is what I have so far…
don’t have time to test it properly right now unfortunately, will have to get back to it, if I haven’t screwed something up it might work as is, but as you can see not the simplest of things to do…
use
[related-questions]
shortcode in your post or page…
[related-questions show=10]
to display 10 with a more link
or[related-questions limit=10]
for a hard limit of 10basically it matches by slugs, so if a slug matches either a question category slug OR a question tag slug, those posts will be in the list.
a list of slugs can be passed, otherwise it defaults to category slug.
(I added a condition for woocommerce (is_product) so on a product page the product category slug is used to find a match by default.)ok, well I went ahead and did my own custom template to accomplish this, a bit tricky to get it working given it uses custom taxonomies etc, but seems good now… I ended up using the question “tag” field to store the “subcategory” for now as it seemed the easiest way to accomplish this to begin with (but in the end was a lot of custom coding anyway.)
I then created an alternative loop at the bottom of the existing questions list template to loop through each parent category – and then each subcategory in each – and list out the questions with a matching tag value for that subcategory and put them in accordion/metabox style dropdowns.
the disadvantage of this is losing out on having tags for questions at this stage, but I don’t really feel they are needed at the moment (or if at all for my purposes, I much prefer the advantage of having appropriate subcategories myself) and I can always add them back later.
anyway if you want to see the result or to get in touch if you are still wanting to implement something like this (and/or if that bounty is still up for grabs, lol) … in case I lose touch with this old thread like you may have already anyway, you can do so here:
https://pluginreview.net/support/
(this is gonna be my new support forum for my wordpress plugins.)Hiya, I’m looking at doing the same thing, just thought I’d check and see if you came up with a solution, or whether I should start one myself…
cheers.Forum: Plugins
In reply to: [Woo Custom Emails] Recipientwhat needs to be tested further here may be whether it is better to add to or replace the existing headers, and whether the text/html line may be needed if replacing them like this. eg.
$headers[1] = 'Content-Type: text/html';
Forum: Plugins
In reply to: [Woo Custom Emails] Recipient…plus another thought, if the recipient field is no longer used when the customer box is checked, then you could add another checkbox option to send a BCC copy to the recipient field so the admin can see and monitor the results of the actual emails sent, while not revealing their email to the customer…
something like this?
add_filter( 'woocommerce_email_headers', 'custom_add_bcc_to_email', 10, 3); function custom_add_bcc_to_email( $headers, $email_id, $order ) { $wcemails = get_option( 'wcemails_email_details', array() ); if ( ! empty( $wcemails ) ) { foreach ( $wcemails as $wcemail ) { if ($wcemail['bcctorecipent'] == '1') { $wcemailids[] = $wcemail['id']; $recipients[$wcemail['id']] = $wcemail['recipients']; } } } if (in_array($email_id,$wcemailids)) { $headers[0] = 'Bcc: '.$recipients[$email_id]; } return $headers; }
it does work I have changed it slightly from what I was using so may need to be tested again tho…
Forum: Plugins
In reply to: [Woo Custom Emails] Recipientthanks guys! I was working on exactly the same thing, luckily I checked the github and noticed it was already on there, tested it and it works… shaved a few hours *back* onto my life – and that doesn’t happen often. ??
I submitted a pull request for adding some needed stripslashes as my contribution.
Forum: Plugins
In reply to: [PHP Browser Detection] Chrome version shows 0.0well, the underlying phpbrowscap class used is not by the plugin authors, so they can’t really be expected to update that, I didn’t realize it to begin with… I posted a separate topic for a memory improvement in the plugin itself, but my suggestions above I might fork it on github instead.
https://github.com/GaretJax/phpbrowscap/
you might also try replacing the Browscap.php class with that version and see if the auto-update processes (since it’s part of that class not the plugins so much.) but there are other things that may be different (eg. namespace and default settings.)
as for the Chrome issue, it could also be a fairly safe assumption since is_chrome() will still return true, that if the version is returning 0.0, and since 0.0 doesn’t exist, that it actually could be used in a *positive sense* to test *for* the latest version of Chrome.
is_chrome('0.0')
because as at this point (using the plugin) Chrome 43 will return 43 fine but Chrome 44 will return 0.0… just saying.Forum: Plugins
In reply to: [PHP Browser Detection] overall memory improvementtested and it seems to work fine.