Monday 13 October 2014

How to disable 'Forgot Username / Password" Links on Joomla

If you are strugglling to disable/remove the "Forgot Username?" or "Forgot Password?" links from Joomla CMS, there are two steps to do that.

First, you have disable it on module section, and second from the component section.

1. First, create the mod_login/ folder inside your templates/your_template/html/ folder. Then copy the default.php file from
modules/mod_login/tmpl/default.php   
to
templates/your_template/html/mod_login/ 

then, open the copied file (default.php) from above html/mod_login and comment the following lines as below;
// echo JText::_('MOD_LOGIN_FORGOT_YOUR_USERNAME');
// echo JRoute::_('index.php?option=com_users&view=reset&Itemid=' . UsersHelperRoute::getResetRoute());

2. First, create the com_users/login/ folders inside your templates/your_template/html/ folder. Then copy the default.php file from
com_users/views/login/tmpl/default_login.php   
to
templates/your_template/html/com_users/login/

then, open the copied file (default.php) from above html/mod_login and comment the following lines as below;
// echo JText::_('MOD_LOGIN_FORGOT_YOUR_USERNAME');
// echo JRoute::_('index.php?option=com_users&view=reset&Itemid=' . UsersHelperRoute::getResetRoute());

Tuesday 7 October 2014

Issue on installing WHMCS on server due to IonCube Loaders

If you are having problem on installing the WHMCS on your server having same issue as below;

....install/install.php requires the ionCube PHP Loader 
ioncube_loader_lin_5.4.so to be installed by the website operator. If 
you are the website operator please use the ionCube Loader Wizard to 
assist with installation.

Please follow the below steps;

Installing IonCube Loaders with cPanel & WHM
It can be done one of two ways:

1. Using EasyApache via WHM >> EasyApache, IonCube Loaders can be selected under the Exhaustive Options List prior to compiling.

2. As the user `root` via SSH, you can run the below command to install IonCube Loaders without having to recompile Apache:
/scripts/phpextensionmgr install IonCubeLoader