'Guides' Category
-
Mar182009
WHMCS How to: hide unused registrars from the dropdown list
I am only using two registrars and wanted to get rid of all the other ones in the drop downs when doing a manual registration/transfer of a domain. This also applies to all modules, including payment gateways and such.
Go to your /whmcs/modules directory and make a new directory called registrars_unused
Now move all the registrar folders in [More...] -
Mar152009
How to: Close .tpl access with .htaccess
The index.php in the template directory only protects you if someone enters the root of a particular directory. However if they know the exact file name they are looking for, it is very possible that the contents of the file will be output into the browser. Particularly for Smarty .tpl files.
I only thought about this [More...] -
Mar152009
WHMCS How to: Only display affiliates link to active affiliates
First find the header.tpl file in your templates folder.
Now go down to the clientarealinks paragraph and find the line that looks like :Code:
<a href=”affiliates.php”><img src=”images/affiliates.gif” border=”0″ hspace=”5″ alt=”" />{$LANG.affiliatestitle}</a>Now replace that line with the following code
Code:
{* Check for active affiliate *}
{php}
extract($this->_tpl_vars);
$query = ‘SELECT count(*) as count FROM tblaffiliates WHERE clientid = ‘.$clientsdetails['userid'];
$result = mysql_query ($query);
$data [More...] -
Oct252008
How to: Setup Subversion on Bluehost
Just some notes as I am working my way through getting SVN working on my account. I followed the tutorial located here
Here is my edited code which installs the most updated version of SVNCode:
cd ~
mkdir src
cd ~/src
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-util-1.2.12.tar.gz
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-1.2.12.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.5.4.tar.gz
wget http://www.webdav.org/neon/neon-0.28.0.tar.gz
tar -xzf apr-util-1.2.12.tar.gz
tar -xzf apr-1.2.12.tar.gz
tar -xzf subversion-1.5.4.tar.gz
tar -xzf neon-0.28.0.tar.gz
cd ~/src/apr-1.2.12
./configure –prefix=$HOME LDFLAGS=”-L/lib64″
make
make install
cd ~/src/apr-util-1.2.12
./configure [More...] -
Oct262007
How to: Clear network passwords from your Windows XP system
If you have the need to change your network password on one computer, and suddenly cannot access the shared drives from another Windows XP computer this should help.
Simply type this line into the Start > Run box and you will be given a password manager!
rundll32.exe keymgr.dll,KRShowKeyMgr









































