Spam-X Comment Spam Plugin Install Instructions

Tom Willett tomw AT pigstye DOT net
Unionville, Indiana, USA
June 13, 2004

Install/Uninstall instruction for the Geeklog Spam-X plugin.

INSTALL:

Step 1: Back up your Geeklog Database.

Step 2: Uncompress the Spam-X plugin archive while in the /plugins directory. The archive will create a directory called spamx in the plugins directory.

Step 3: Create the public_html and admin directories. Under your html directory (usually public_html) create a directory called spamx. Under your admin/plugins/ directory create a directory called spamx.

Step 4: Change to your /plugins/spamx/ directory. Copy the files in the admin directory to the admin/plugins/spamx/ directory your created in step 3. Copy the files and directories in the public_html directory to the public_html/spamx/ directory your created in step 3.

Step 5: Make the files spamx_action.php, spamx_examine.php, blacklist.php and mtblacklist.php in the public_html/spamx directory writable by you webserver. Either chmod 766 or preferably chown the files to the user the webserver runs under eg nobody or apache. If you do not do this you will not be able to use the admin interface.

Step 6: Log in to your Geeklog as a root user and run install.php in your admin/plugins/spamx/ directory or run the plugin app in the admin interface and install from there. The install page will tell you if the install was successful or not. If not examine Geeklog system errorlog for possible problems.

Step 7: The final thing you must do is edit your comment.php (in public_html directory) and change the function savecomment name to savecomment1. The Spam-X plugin should now be installed and functioning. Clicking on the Spam-X Icon will take you to the admin page.

Step 7: Set up security. On install only the root users have access to Spam-X administration. You can delegate control for admin through the user and group editors.

UNINSTALL:

Step 1: Run the install.php page in your admin/plugins/spamx directory. This will remove all the data from your database.

Step 2: Rename savecomment1 in comment.php back to savecomment.

Step 3: Delete the three plugin directories created in the install process: plugins/spamx/ /spamx/ and /plugins/spamx/

Thats it.