Tips & Tricks

Add custom attribute to customer address then use it when creating order in Magento

Posted: 10 years ago in  Magento MySQL PHP


In Magento, one customer has 2 default address, one for billing and one for shipping address. The information seem to fit most general address over the world. However, in some countries, the address structure is more complicated View more


Allow normal user input specific HTML tags in BBPress forum

Posted: 10 years ago in  Wordpress BBPress PHP


When it comes to bbPress, it is popular plugin to make Wordpress site a powerful forum. View more


Limit image resolution uploading to wordpress

Posted: 10 years ago in  Wordpress PHP


For start-up website, the host with low resource would help you save money. Hence, there should be a limit in upload files. For website using wordpress, its very easy to hook in and check the image size then block it if size is too big. View more


Add an Admin User to the WordPress Database via MySQL/PHPMyAdmin

Posted: 10 years ago in  MySQL Wordpress Unix Windows Mac OS


In some cases where you lost control of admin user in Wordpress Site or account is deleted, you are locked out of the site. The solution is creating another admin account to remove the old one and do backup your site outside of website using MySQL command-line interface or PHPMyAdmin View more


Push SSH public-key to VPS make it faster to ssh/sftp

Posted: 10 years ago in  Unix Miscellaneous


Each VPS provided by companies should have admin control panel to add public key to get rid of password-authentication each time you ssh to server. However, in few case, CP will cost you or VPS reseller do not suggest that management, you still have the way to add key to VPS. View more