Crafty Syntax Live Help Tutorial
You can visit Crafty Syntax Live Help’s site here
Crafty Syntax Live Help (CSLH) is an open source free live help (online chat, live support, online support) php script. Their company website hasn’t been updated recently, but this doesn’t mean their program is not a powerhouse; their program packs a powerful punch. Other live help support proprietary software companies have used many of Crafty Syntax’s scripts to benchmark and formulate their own product; but this is nothing new since CSLH is open source, thus in plain text. With this mind, you can change all the graphics of CSLH:
For Example:
|
Change this: |
To this: |
|
![]() |
![]() |
![]() |
Install Crafty Syntax Live Help
If you haven’t already setup a web server you can follow my instructions on, how to set up web server.
Log in to your Web Server
Log in to Ubuntu as root via putty.exe or with gui NX Client
Putty-> Login

or
NX Client Login-> Open Terminal

Create new MySQL DB
Execute the following command at the prompt: root@yourserver:~#
mysqladmin -u root -p create cslivehelp
You just created cslivehelp, which is the name of your new DB.
Log into MySql
Execute the following command at the prompt: root@yourserver:~#
mysql -u root -p
Your now logged into your DB.
Assign a user and permission
Execute the following command at the MySQL prompt: mysql>
GRANT ALL PRIVILEGES ON cslivehelp.* TO csuser@localhost IDENTIFIED BY ‘PasswordXYZ’;
Query OK, 0 rows affected; You just created a db user, named csuser@localhost and granted that user all privileges, with the password, PasswordXYZ.
Than execute the following command at the MySQL prompt: mysql>
flush privileges;
Query OK, 0 rows affected;
Finally execute the following command at the MySQL prompt: mysql>
quit;
Query OK, 0 rows affected;
Download and Configure CSLH
After setting up the DB for Crafty Syntax Live Help, download the latest craftysyntax.2.x.x.zip package from Crafty Syntax Live Help (download the files hosted on Sourceforge).
Extract and upload the content to your web server in a apache directory of your chosen, i.e. yourdomain.com/livehelp/.
Locate the config.php file, which is located in the root of their package, i.e. yourdomain.com/livehelp/config.php. Open the file, enter your DB info, save it, and set it’s permissions to 777.
64 65 66 67 68 69 70 71 72 73 | // dbtype either is either: // mysql - this is for Mysql support // txt-db-api - txt database support. $dbtype = 'mysql'; //database connections for MYSQL $server = 'localhost'; $database = 'cslivehelp'; $datausername = 'csuser'; $password = 'PasswordXYZ'; |
Install CSLH
We can now open a browser and type in the url, i.e. http://www.yourdomainname.com/livehelp/setup.php. Follow instructions in the following image, and once it’s installed we want to 755, your permission on config.php file.


Congratulations!
You’ve just installed Crafty Syntax Live Help. Don’t forget to 755 chmod, your permission on config.php file.
Help Links to AWStats and WAMP
For your reference I have included CSLH’s official instructions which should be included in their package. If your install was successful, than you really don’t have to use these instructions.
------------------------------------------------------ ONLINE WEB INSTALLATION DIRECTIONS: ------------------------------------------------------ RECOMENDED: 1) Upload all of the files extracted from the zip or tar file onto your web host. 2) Make sure owner/group for your virutalhost or webserver is set to you. If not or you do not know what I am talking about change the permissions of the files named: config.php to 777 to allow the web setup program access to change it. If you plan in installing using a text based database you will also need to change the permissions of the directory txt-database to 777. If you need more help on this just open up the setup.php page and more directions will appear. 3) Open up the setup.php file in your web browser like so: http://www.yourdomainname.com/livehelp/setup.php 4) follow the online installation.. 5) IMPORTANT: After the setup is finished change the permissions of config.php to either 755 or 400 (Depending on your server setup) but leave txt-database writable by the webserver.





















" How to Install Crafty Syntax Live Help "
The article is ver good. Write please more
" How to Install Crafty Syntax Live Help "
Crafty Syntax Live Help Tutorial. Love the pictures. I would have been lost with out them. Yes Please can you write more. Can you also add other web related things. Such as how to integrate Magento into wordpress or another live support software. You are very thorough with your directions.