AXScripts - Adult Webmaster scripts and tutorials

 

Install

1. Download the latest version of AXSLinks.

2. Unpack the archive

3. Upload the directory axslinks to your server

4. Make sure the following directories and all their files are chmod-ed to 777

axslinks/cache
axslinks/templates
axslinks/templates_c
axslinks/data
axslinks/links.html

5. Include “links.html” in your site where you want the links to appear

SSI: <!--#include virtual="/axslinks/links.html" -->
PHP: <?include("/path/to/axslinks/links.html");?>

6. Access your admin area at http://www.yourdomain.com/axslinks/admin.php
with user: admin and password: admin (change this) and go to the settings menu
to chose your preferences.

7. Go to “Edit Templates” and edit the “link” and “output” templates to chose
how the links will be displayed on your site.

8. Edit the recip template which will appear at http://www.yourdomain.com/axslinks/addlink.php

9. Cron Setup (only for 0.2 and higher)
In order to have the link checker run automatically everyday you have to setup
a cronjob.
Example:
if you want it to run it every midnight your cronjob has to look like this:

0 0 * * * /usr/bin/php /your/homedir/axslinks/cron.php > /dev/null

Make sure to have the right path to php and to the cron script.
Contact your hosting company if you’re not sure about them.

Notes

It is stronly recommended that you have enabled .htaccess files in your web directory.
For html and .htm pages if SSI is not enabled you can enable it by adding the following
code to .htaccess

Options +Includes
AddHandler server-parsed .html .htm

Upgrade
Upgrade to 0.2 or 0.3
The upgrade instructions are the same as the install instructions except that you
don’t have to override the follow files and directories.

/axslinks/data/
/axslinks/templates/links.tpl
/axslinks/templates/recip.tpl
/axslinks/templates/linktemplate.tpl
/axslinks/templates/linkstemplate.tpl
/axslinks/links.html

Anything else can be overridden with the new version safely.
To be on the safe side a backup is always recommended