fijisunshine
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: PHP 8 issue: Fatal error when error_reporting is disabledThank you James and Dion for your excellent feedback. As James suggested, I’ve reported it as a bug.
Thank you, David. I just updated to the latest version of the plugin and it appears to now work with php 8.0.
Thank you, David. Yes, that resolved that fatal error. However, now I get another fatal error further down in the same php file:
PHP Fatal error (Error) has occurred during backupnow subaction. Error Message: Undefined constant “DOING_CRON” (Code: 0, line 2938 in … /plugins/updraftplus/class-updraftplus.php)
Thank you, John. That’s perfect.
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Back button no longer workingThanks for your response. Yes, that was the issue. It’s now fixed. I was aware of that url issue from other support posts so I had already checked that my url’s were correct, but I had made a small mistake.
I just noticed that the format for your [multistep] tags has changed. It used to be something like:
[multistep “1-2-https://www.example.com/page_2of2/”]
[multistep “2-2”]Does this old format still work? Or is the new format using “first_step” and “last_step” required? Thanks again
Forum: Plugins
In reply to: [Contact Form 7] Function using wpcf7_mail_sent no longer workingIssue resolved. The issue was unrelated to your CF7 plugin. Thanks again for your help.
Forum: Plugins
In reply to: [Contact Form 7] Function using wpcf7_mail_sent no longer workingHi Takayuki,
Thank you for your response. This is a staging site so it’s run on localhost and isn’t online. To help you, I see this error in debug log: “PHP Notice: Undefined index: is_admin …”
These snippets also stopped working:
$posttype = $formdata[‘posttype’];
$cf7form_id = $formdata[‘_wpcf7’];
$post_id = $formdata[‘post_id’];But I managed to fix them by using this code:
$url = $form_data->get_meta(‘url’);
$postId = url_to_postid($url); // Get the post_id
$postType = get_post_type($postId); // Get the post_type
$contact_form = $form_data->get_contact_form();
$cf7form_id = $contact_form->id(); // Get the CF7 form IDAs a result, it’s just $is_admin that I’m unable to get. Can you assist? Thanks again
Forum: Plugins
In reply to: [Post My CF7 Form] Mapping file field to image (or any file)Thank you for your response. Lets break down your last paragraph in more detail to help clarify.
1. “then you will need to hook the action after the form is submitted (see the screenshot #8)”
Do you mean to use an add_action in functions.php and hook on wpcf7_mail_sent?
2. “programmatically load your image into a media attachment post”
Are these good examples to follow to create the function in functions.php?
a. https://wordpress.stackexchange.com/questions/256830/programmatically-adding-images-to-media-library
b. https://wordpress.stackexchange.com/questions/238294/programmatically-adding-images-to-the-media-library-with-wp-generate-attachmentIf so, how would I get the image’s url into the function?
3. “and saved the resulting post ID into your ACF meta-field”
Are you saying to use update_field? If so, what type of field should the ACF meta-field be? An image?
Thanks again
Forum: Plugins
In reply to: [Post My CF7 Form] Mapping file field to image (or any file)Thank you for your response, Aurovrata.
For my custom post type, I have a Type = “Image” field created using the Advanced Custom Fields plugin. I also have several “Text” fields. So I use your plugin for the user to submit some text data for the “Text” fields. Then, they email me their image and I manually upload their image to their custom post in the WordPress admin backend. To automate this process, I’d like to use your plugin so that they can just upload their image file (in addition to entering their text data).
Once they upload their image, it would be great if their image was in the same location in the WordPress admin backend that it would be if I just uploaded it manually to their custom post. I could then hover on their image, click “Edit”, and crop it.
To answer your questions: If I understand correctly, I don’t think their image has to be the post featured image. I think their image should be a meta field.
Thanks again
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] conditional multistep formThis is a great plugin!
I’m trying to do the same thing as francescjp above. It doesn’t appear to work.
The first multistep shortcode is always executed and the second multistep shortcode is always ignored, regardless of which group is clicked in the select.
Any suggestions? Thank you
Forum: Plugins
In reply to: [SlimStat Analytics] Clarification on the IP Looking settingOk got it, thanks Jason.
So if I leave that option empty, it uses MindMax? And if I want to use another IP geolocation service, I simply enter the appropriate url in that option?
Hi John,
The issue is resolved and was unrelated to HMWP. Your plugin works great! Thanks again for the helpful responses!
Thanks for checking, John. I verified the issue in a few browsers. I’ve tried many settings in Fast Velocity Minify but without luck.
Do you have a minified js file in the footer when you test and its path is hidden? I’m using HMWP PRO v3.0.038, did you test with this version? I’m also on multisite, are you? Thanks again
Hi John,
Thanks for your quick response. Yes, I had tried late loading but it didn’t seem to have an impact on Fast Velocity Minify’s minified files.
Some additional info that may help you: /wp-content/uploads/ is hidden in the source code url for the minified css and js files in the header, but not for the js file in the footer.
Hiding more of these urls than just /wp-content/uploads/ part would be ideal, but at least hiding /wp-content/uploads/ in footer would be great.
Thanks again!
Hi Dave,
Thank you for your great answers. A couple of follow-ups for you:
1. On a multisite if I network activate Wordfence, is the “website’s site URL and home URL” sent to an external server for all sites on the multisite? or just the primary site?
2. When you say “the hashes of these files are computed and compared with a database of malicious scripts with the same hash”, are the hashes sent to an external server? or is the comparison done locally?
3. When you say “Potentially malicious strings are also searched for within these files”, does the search involve using an external server or is it all local?