Just found out about Get Satisfaction’s brand new Help Center and tried to install it? No doubt you’ll run into a few bugs along the way. However, follow this guide and you should be fine.
- Install Smarty into an include directory
-
- This is most easily done by extracting the
lib/directory from the Smarty package into a new directory calledincludes/ - Rename the
lib/directory tosmarty/ - Add the following line to your Help Center’s config file:
set_include_path(get_include_path() . PATH_SEPARATOR . '/path/to/includes/');
- This is most easily done by extracting the
- Install the HTTP_Request PEAR library
- Install this like any other PEAR library. If you don’t have PEAR, download the archive and extract the
HTTP_Request-*into the previously created includes directory. Then rename theHTTP_Request-*toHTTP - Setup the database
-
- Create a database called “sprinkles”
- Import the schema from the included SQL file, sprinkles-schema.sql
- Create a folder for compiled templates
- Create the
templates_c/directory in the Help Center directory to hold the compiled templates for Smarty and make sure it is writable. - Edit your config
- Edit config.php in your Help Center installation and add the following, replacing “root” and “password” with your respective database username and password:
$mysql_username = 'root';
$mysql_password = 'password'; - Run the web installer
- Head to your installation of Help Center in your browser and the web installer will kick in.
Hopefully this process becomes easier in the future. I would recommend to the Get Satisfaction developers to include HTTP_Request and Smarty with the Help Center package.
Comments (5)
Ryan: when you say, “Create a new database called ’smarty’,” did you mean to create one called “sprinkles”?
The Smarty package shouldn’t need a database of its own.
Thanks Ezra, I’ve got that fixed now
The link for the PEAR download isn’t correct, it links to http://http//pear.php.net/package/HTTP_Request/download instead of http://pear.php.net/package/HTTP_Request/download
Thanks, I’ve fixed that now.
Can this package run on Yahoo hosting - they run PHP 4 - check this link to see what they support:
http://citycomber.com/GetSatisfaction/helpcenter/phpVersion.php
Thanks,
Marvin