1
WordPress / Contact form 7 cannot send message and shows no warning
« Last post by delwar on February 11, 2023, 11:14:28 am »I have faced this problem for several of my client's sites.
As I was looking for the problem. I saw the SMTP is working just fine. Hosting is not blocking the port.
One thing common was the CF7 integration with the Google Re-captcha V3. After removing the integration of Google Re-Captcha V3 from CF7 the forms started to work again.
Obviously this is not a solution just a turn around.
So, to stop spamming I have activated Akismet Plugin which is better than the Google Re-Captcha system.
Aksimet will stop the comment spam and to add the tag into your CF7 forms, please follow the guidelines in here: https://contactform7.com/spam-filtering-with-akismet/
As I was looking for the problem. I saw the SMTP is working just fine. Hosting is not blocking the port.
One thing common was the CF7 integration with the Google Re-captcha V3. After removing the integration of Google Re-Captcha V3 from CF7 the forms started to work again.
Obviously this is not a solution just a turn around.
So, to stop spamming I have activated Akismet Plugin which is better than the Google Re-Captcha system.
Aksimet will stop the comment spam and to add the tag into your CF7 forms, please follow the guidelines in here: https://contactform7.com/spam-filtering-with-akismet/
2
Freelancing / These websites you will pay you to test their product or services
« Last post by delwar on November 07, 2022, 11:50:49 am »We are listing websites that will help you to earn money from home. All you need to do is register and test their products or watch vbideos.
01. https://trymata.com/
02. https://www.usertesting.com
03. https://www.testingtime.com/en/
04. https://www.userfeel.com/
01. https://trymata.com/
02. https://www.usertesting.com
03. https://www.testingtime.com/en/
04. https://www.userfeel.com/
3
WordPress / How to Restrict Usernames in WordPress Without a Plugin?
« Last post by delwar on October 28, 2022, 12:13:28 pm »Add this code your theme's functions.php file.
*Remember to replace content of the “restricted array” with the usernames you want to restrict.
*Remember to replace content of the “restricted array” with the usernames you want to restrict.
Code: [Select]
<?php
function wpsnippet_validate_username($valid, $username) {
$restricted = array('profile', 'directory', 'domain', 'download', 'downloads', 'edit', 'editor', 'email', 'ecommerce', 'forum', 'forums', 'favorite', 'feedback', 'follow', 'files', 'gadget', 'gadgets', 'games', 'guest', 'group', 'groups', 'homepage', 'hosting', 'hostname', 'httpd', 'https', 'information', 'image', 'images', 'index', 'invite', 'intranet', 'indice', 'iphone', 'javascript', 'knowledgebase', 'lists','websites', 'webmaster', 'workshop', 'yourname', 'yourusername', 'yoursite', 'yourdomain');
$pages = get_pages();
foreach ($pages as $page) {
$restricted[] = $page->post_name;
}
if(!$valid || is_user_logged_in() && current_user_can('create_users') ) return $valid;
$username = strtolower($username);
if ($valid && strpos( $username, ' ' ) !== false) $valid=false;
if ($valid && in_array( $username, $restricted )) $valid=false;
if ($valid && strlen($username) < 5) $valid=false;
return $valid;
}
add_filter('validate_username', 'wpsnippet_validate_username', 10, 2);
function wpsnippet_registration_errors($errors) {
if ( isset( $errors->errors['invalid_username'] ) )
$errors->errors['invalid_username'][0] = __( 'ERROR: Invalid username.', 'wpsnippet' );
return $errors;
}
add_filter('registration_errors', 'wpsnippet_registration_errors');
?>
4
Advertising Networks / content.ad is closed after a long run.
« Last post by delwar on September 01, 2022, 01:59:50 pm »A few days back I got a notice from my content.ad dashboard that they are now fighting a dispute with the court.
And today when I tried to enter the site, they are simply gone. The server is down.
It was a great pleasure to use their service. Although my earning wasn't significant from this native advertising network, but they helped me in some way.
And today when I tried to enter the site, they are simply gone. The server is down.
It was a great pleasure to use their service. Although my earning wasn't significant from this native advertising network, but they helped me in some way.
5
Web Hosting / WordPress installation problem when using PHP 8.1 in Cyberpanel
« Last post by delwar on August 03, 2022, 05:04:47 pm »If you installed WordPress via the Cyber Panel or manually, but during the website creation process you selected the PHP version 8.1 instead of 7.4
Then install the PHP 8.1 first on your hosting.
Log into your droplet or hosting via terminal/command line (putty)
If you are on Ubuntu then
on Redhat flavours
This will solve your Database connectivity or installation issue.
Then install the PHP 8.1 first on your hosting.
Log into your droplet or hosting via terminal/command line (putty)
If you are on Ubuntu then
Code: [Select]
apt-get install lsphp81*
on Redhat flavours
Code: [Select]
yum install lsphp81*
This will solve your Database connectivity or installation issue.
6
Web Hosting / Re: Problem: Cyberpanel disk usasge is increasing automatically!
« Last post by delwar on April 25, 2022, 01:58:37 am »7
Payment Processors / Re: Can I get UpWork Payment in my Wise Account?
« Last post by delwar on March 11, 2022, 06:33:00 pm »As far I have seen there is no restriction in withdrawing in your personal wise account. In wise business account they gave a USD account that is in the name of your company. Unless you create a company in your same name, it won't be easy to add it in the Get Paid section.
You need to contact the support to add your business bank account details in your UpWork profile.
You need to contact the support to add your business bank account details in your UpWork profile.
8
Payment Processors / Re: Can I get UpWork Payment in my Wise Account?
« Last post by WISH MASTER on March 11, 2022, 06:29:53 pm »You can withdraw in your personal or Business account?
Actually adding a business account bank details is a hassle in UpWork.
Does getting payment to your personal account breaks the rules of Wise?
Actually adding a business account bank details is a hassle in UpWork.
Does getting payment to your personal account breaks the rules of Wise?
9
Payment Processors / Can I get UpWork Payment in my Wise Account?
« Last post by delwar on March 11, 2022, 06:25:31 pm »Yes, definitely you can.
Open a Wise account.
Verify it to get USD account details.
In UpWork add the USD bank account details in Get Paid section. UpWork will veryfy it with 2 small amount deposit.
When approved you can withdraw the money for free in this account. It usually takes 1-2 business day to get into your wise account.
You will get 2% bonus if you withdraw from UpWork to BD bank account.
Open a Wise account.
Verify it to get USD account details.
In UpWork add the USD bank account details in Get Paid section. UpWork will veryfy it with 2 small amount deposit.
When approved you can withdraw the money for free in this account. It usually takes 1-2 business day to get into your wise account.
You will get 2% bonus if you withdraw from UpWork to BD bank account.
10
WordPress / How to use other shortcodes inside Contact form 7?
« Last post by delwar on March 05, 2022, 01:37:21 pm »It's easy. Just put the following code in your theme's/child theme's function.php.
Code: [Select]
add_filter( 'wpcf7_form_elements', 'blogron_wpcf7_form_elements' );
function blogron_wpcf7_form_elements( $form ) {
$form = do_shortcode( $form );
return $form;
}
Now any shortcode you enter in the CF7 edit screen will be shown in the front end.