F C
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Leave file upload on server.Frank, have you read the full thread? The solution exists.
Forum: Plugins
In reply to: [Plugin: Business Directory] remove 'required' fieldsI was able to successfully do this by editing /wp-content/plugins/business-directory/function.php
In line blocks 14 – 32, you’ll have the construction of the form itself. Locate the asterisks for the fields and delete them. This will remove the asterisks from the front-end and the user getting misinformed that a field is required when it indeed will not be.
Next
Line 777 – 810 will contain the actual validation check statements. Simply comment out the lines that you do not want the script to validate for. Here is an example, where I commented out the “Description” field requirement on Line: 794 – 798:
/*if(empty($v["description"])) $errors[] = empty($post["description"])? "Please enter a brief description for the organization.<br/>": "Invalid character(s) in $adjective description.<br/>" ;*/
Forum: Fixing WordPress
In reply to: Output Standard Text When Post Tags Are EmptyThis is a quick fix, but if you want to do it at the root of the categories file, you need to open wp-includes/category-template.php
Line: 536
You’ll find this:
if ( empty( $tags ) || is_wp_error( $tags ) ) return;
Replace with this and customize your text to taste:
if ( empty( $tags ) || is_wp_error( $tags ) ) { echo "<p>There are currently no associated tags.</p>"; return; }
OK… I just realized why its not visible. There are no rows in the table… Please disregard!
Michael, thanks for your direction. I was able to successfully get this to work.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] FIle upload not workingSee this page: https://contactform7.com/blog/2009/11/24/file-uploading-and-attachment/
See this image: https://cacoo.com/diagrams/eQBY3UonRgupSiUV-2E565.png
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] FIle upload not workingDid you populate the file attachments field, with the attachment variable when editing your form?
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Leave file upload on server.“At first I received an error, but then I changed line 97 to }*/
and the error went away.”Thanks for catching that typo.
It’s odd that the file is still being deleted. I’m wondering if you uploaded/replaced the correct files. Double-check to see that the files are indeed being over-written with your new modifications.
Check that your settings -> media is empty. And try defining the upload path in your wp-config.php to see if that helps.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Leave file upload on server.I was able to figure it out. If someone else reads this thread, locate:
wp-content/plugins/contact-form-7/includes/controller.php
Lines 95-97 need to be commented out.
// remove upload files /*foreach ( (array) $wpcf7_contact_form->uploaded_files as $name => $path ) { //@unlink( $path ); */}
Hope this helps!
Forum: Plugins
In reply to: [FAQ Manager] [Plugin: FAQ Manager] Link FAQ titlesVery nice my friend. Thanks for your support!
Forum: Plugins
In reply to: [Plugin: Subscribe2] Customize Username/Password EmailThanks Matty,
So in your development of Subscribe2 you didn’t have to interact with the registration notification the user gets upon registering?
If I could track the “mail” function that sends the username/password I could probably amend it to include the text I’m seeking.
If you have any insight, let me know.
Thanks for taking the time to write back.
I’m surprised the contact form 7 isn’t already handling this! yes, that’s exactly what I mean…
“It’s” enters in the db as it\s and is consequently outputted with the slash upon performing cfdb-html.
Will do. Quick question, any way to stripslashes on output? Or should I handle this on the insert?
I’m not sure what transpired from the day I posted this issue, but its now resolved.
I did not make any changes to the site or upgrade PHP.
Ill chock it off to a cache issue!
Thanks (Resolved)
Michael, got a new one for you:
https://www.ads-software.com/support/topic/plugin-contact-form-7-to-database-extension-cfdb-html-shortcode-issues?replies=1#post-2021078Thanks!