One friend of mine signed up for new account. Actually, I invited him to signup for an account using “REGISTER” form that I created in this post so that we could test it one more time. He complained that I couldn’t change his password because the web site thinks his password is so weak (even it isn’t he thought). I googled and found the reason. It’s due to new feature introduced in WooCommerce 2.5: password strength meter. By default, user needs to use strong password for security purpose. Remove WooCommerce Password Strength Meter My very first user has priority so I need to remove…

Why WordPress Asks for Connection Information? To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host. Why WordPress Asks for Connection Information? I sometime get this get this dialog asks for connection information, especially when sites hosted on VPS. I think this is because agent (apache or nginx) doesn’t have necessary permissions. In other words, you didn’t give right and/or enough permissions for agent. How to Fix WordPress Ask for FTP Credentials? It’s simple, give necessary permissions to…

There are many reasons for using WooCommerce. Here are mine E-Commerce readiness, prevent user from accessing backend. The second one convinced me significantly. I know there are plugins doing same job. Please share your own reasons if you are using WooCommerce on your WordPress site or blog. This is how WooCommerce My Account looks by default And what we want: couple of custom fields added into the form: First Name, Last Name, Phone, Company, Subscribe to our newsletter and terms & privacy policy Here are couple of steps that I am going to cover: Create plugin folder structure Adding custom…

Believe me or not, there are hundred ways to setup web server. I searched and tried many of them on a VPS with 512MB of RAM. Most of them had issue with database, MySQL or MariaDB was die again and again. This one has worked for me for more than a year: CNMP (Centos 7 + NGINX + MariaDB + PHP 7). Grab a VPS I’ve used DigitalOcean as VPS provider for a while. Linode is one of my next try since its same price but double RAM. If you have any experience with other VPS providers, please share. Basic Setup https://gist.github.com/hiendnguyen/663d37cd7eb8a25c217a1eb29dd14c41 Setup Firewall https://gist.github.com/hiendnguyen/54dcbcc9ee4d32b60cdc8d6c963ba04f…

Welcome to Developer’s Notes. This site is reserved for notes that my friends and I learn and use daily basis. If you have some, you are more than welcome to join us. Someone may be benefit from your notes. A little bit about history of Developer’s Notes. Sometimes I don’t take note since I think I won’t forget it. My memory doesn’t work that way unfortunately. For example, I need to move a folder in my VPS or extract a tar file. It’s really simple that I can find the answer after couple of searches but I had to do it…