prunly
Forum Replies Created
-
Forum: Plugins
In reply to: [Flamingo] Compatibility with Anti-spam by CleanTalk (Feature Request)This issue was addressed with the release of Contact Form 7 3.9.2 and was directly related to the use of Flamingo with CF7 and another anti-spam plugin called Anti-Spam by CleanTalk.
Forum: Themes and Templates
In reply to: [DevDmBootstrap3] H1 tags for better SEO – Feature RequestThanks for the reply, many happy returns!
The setting “Greater Than Max > Use Max Shipping” works as expected for domestic shipping (USA) but not for international (in this case Canada). Every other shipping test I did worked perfectly.
Since this issue occurred about a month ago I refreshed my setup and reran my tests. I updated everything and then deactivated every plugin except this one and WooCommerce. I also installed the new Storefront theme (developed by Woo specifically for WooCommerce).
I go the same result. International shipping is offered free when the max order amount is exceeded.
Check out this support thread from a couple of years ago. It should put you on the right track.
Denis, please see post below. This will be resolved by CF7 dev (presumably in the next release). Thanks again for your help.
Forum: Plugins
In reply to: [Flamingo] Compatibility with Anti-spam by CleanTalk (Feature Request)Excellent, thank you for your quick response Takayuki!
Hi Denis,
This is disappointing on behalf of the Flamingo/CF7 authors. I think that in most cases I would prefer to keep the Spam messages marked under Flamingo -> Inbound messages -> Spam just in case there are any false positives.
Flamingo is still a young plugin so I will put in a feature request with the authors for a native hook to interrupt emails being added to the Address Book. I think this is an issue for Flamingo, not for CleanTalk.
Maybe in the future I will request this interruption, but for now I think it is better to keep the spam message just in case.
Thank you so much for your time and assistance.
Hi Denis,
Thank you for your response. Great support for a great plugin.
In the last 24 hours, CleanTalk has caught a number of comment spammers. The spam emails did not show up in the Flamingo address book, so I can confirm that this issue only affects CF7 forms that are integrated with Flamingo.
Thank you.
Forum: Plugins
In reply to: [Flamingo] How can I see attached file sent from contact form 7 in flamingo?CF7 does not store attachments on your server. It adds them to a temporary folder, sends the email, and then deletes the attachment.
There are some threads on how to hack CF7 to leave the files on the server but I’ve never actually done it. See this thread if you decide to go through with that.
I agree that this would be a nice built in feature for users integrating Flamingo with CF7.
Forum: Plugins
In reply to: [Contact Form 7 - Dynamic Text Extension] Double and single quotes in titleUPDATE:
I removed the title from the subject line and everything worked OK. I was still able to use the title in the body which is fine for my situation. Strangely enough I could use a title that included quotes in the subject line for Mail (2) but not Mail. I also discovered that other contact forms on the site were not experiencing this issue despite having a practically identical setup.I think the problem is too difficult to recreate, and may be a bug in CF7 and not your plugin. Therefore I am marking this resolved.
Forum: Fixing WordPress
In reply to: Order taxonomy term by meta value number of assigned postsI ran into a similar situation that I solved with the direction given by Cyril. I needed to sort my taxonomy term “artist” from the post type “items” alphabetically by the custom field “last-name”. I set up the custom field using Elliot Condon’s excellent Advanced Custom Fields plugin. Here is my solution. You will need to adapt it for your own situation.
ENGLISH
1. Get the terms for your taxonomy. The orderby passed to WP’s get_terms function is irrelevant because we will resort the returned PHP object later on.2. Get the custom field value and append it to your PHP object.
3. Add your comparison function to your functions.php file that you will call for sorting the object.
4. Use PHP’s usort() function to sort your object by the comparison criteria you defined in step 3.
5. Use a foreach loop to output the sorted array in whatever way you need.
That’s it! My code is below. Please let me know if there is any problem with my code. Everything seems to work well for me with my own installation.
CODE
// STEP 1 $artistsList = get_terms( 'artists', $args );
// STEP 2 $t = 0; // expand the array to include the last name field foreach ( $artistsList as $artist ) { $termID = $artistsList[$t]->term_id; // get the field last name for this ID $lastName = get_field('last_name', 'artists_'.$termID); // plop it into the object $artistsList[$t]->lastName = $lastName; $t ++; }
// STEP 3 function cmp($a, $b) { return strcmp($a->lastName, $b->lastName); }
// STEP 4 usort($artistsList, "cmp");
// STEP 5 foreach ( $artistsList as $artist ) { // code to output your awesome list of taxonomy terms sorted by custom field here }
Forum: Fixing WordPress
In reply to: Changing link from "Attachment page" to "Media file" on postsGoing forward, it is possible to default the Link URL option for new image uploads to the Image File instead of the Attachment Page using a hidden WP option. This should help keep future posts containing images in check.
Forum: Plugins
In reply to: [jQuery Colorbox] jQuery Colorbox in mobile devicesIn the Colorbox settings check the box “Resize images”. Then assign “Maximum width of an image” and “Maximum height of an image” as a percentage (say 90%).