WeDev.Africa
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP no longer working on mobile@ahmedkaludi
Yes I am using Litespeed. It used to work until the last 2 updatesForum: Plugins
In reply to: [Contact Form 7] Validating Contact form by not accepting Gmail EmailsPaste this one into your functions.php
Please note that I have changed my email field name from [your-email] to [company-email]// Add custom validation for CF7 form fields function is_company_email($email){ // Check against list of common public email providers & return true if the email provided *doesn't* match one of them if( preg_match('/@gmail.com/i', $email) || preg_match('/@hotmail.com/i', $email) || preg_match('/@live.com/i', $email) || preg_match('/@msn.com/i', $email) || preg_match('/@aol.com/i', $email) || preg_match('/@yahoo.com/i', $email) || preg_match('/@inbox.com/i', $email) || preg_match('/@gmx.com/i', $email) || preg_match('/@me.com/i', $email) || preg_match('/@icloud.com/i', $email) ){ return false; // It's a publicly available email address }else{ return true; // It's probably a company email address } } function custom_email_validation_filter($result, $tag) { $tag = new WPCF7_Shortcode( $tag ); if ( 'company-email' == $tag->name ) { $the_value = isset( $_POST['company-email'] ) ? trim( $_POST['company-email'] ) : ''; if(!is_company_email($the_value)){ $result->invalidate( $tag, "Please Enter your Company E-Mail Address" ); } } return $result; } add_filter( 'wpcf7_validate_email', 'custom_email_validation_filter', 10, 2 ); add_filter( 'wpcf7_validate_email*', 'custom_email_validation_filter', 10, 2 );
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP no longer working on mobilehi @ahmedkaludi
Apologies I did not get a notification about your response. The url us above
Thank you.
Forum: Plugins
In reply to: [Easy Registration Forms] Add Unique Submission ID & Feature requestHi there,
I just sent you guys an email with screenshots.
Forum: Plugins
In reply to: [Easy Registration Forms] Add Unique Submission ID & Feature requestHi there,
It is not working. I added
'Unique ID'=>'Unique ID'
into the code and the column is empty- This reply was modified 6 years, 1 month ago by WeDev.Africa.
Forum: Plugins
In reply to: [Easy Registration Forms] Settings/requestHi,
thanks it is working. But how to include the Unique Submission ID?Forum: Plugins
In reply to: [Easy Registration Forms] Several QuestionsI just ran the update. this is just awesome.
I can see there’s now an “Edited” field at the bottom. So I can create a report for “New” Submissions and untick that box as well as an Edited Submission and tick that box?
I also saw the E-Mail templates which can now be changed.
Forum: Plugins
In reply to: [Easy Registration Forms] Cannot activate pluginYes it was the PHP Version. Thank you.
Hi there,
please delete this ticket from here. We are making use of another plugin now.
Forum: Plugins
In reply to: [Theme My Login] Version 7 notification won’t go awayJust installed the latest update from today and now I can dismiss the message and it does not appear again
Forum: Plugins
In reply to: [Theme My Login] Version 7 notification won’t go awayYea I thought as much that there might be a plugin conflict. Do you guys have a list of plugins which might cause problems with TML?
I built the WP site a couple of months ago and actually never checked when and how the wp_options were changed to wpai_
Forum: Plugins
In reply to: [Theme My Login] Version 7 notification won’t go awayHow come it was changed from wp_options to wpai_options?
I can wait several minutes before dismissing the notification but when I click on another link the notification appears againForum: Plugins
In reply to: [Theme My Login] Version 7 notification won’t go awaySo I must overwrite the entire entry? Sorry not so 100% clued up with MySQL
Forum: Plugins
In reply to: [Theme My Login] Version 7 notification won’t go away<strong>Theme_my_login</strong>
SELECT * FROMXXXXXXXX
.wpai_options
WHERE (CONVERT(option_id
USING utf8) LIKE ‘theme_my_login’ OR CONVERT(option_name
USING utf8) LIKE ‘theme_my_login’ OR CONVERT(option_value
USING utf8) LIKE ‘theme_my_login’ OR CONVERT(autoload
USING utf8) LIKE ‘theme_my_login’)- This reply was modified 6 years, 6 months ago by WeDev.Africa.
Forum: Plugins
In reply to: [Theme My Login] Version 7 notification won’t go awaySame issue. No JS Error and this notification appears on every page. Pretty much annoying