|
|
Link Directory installation documentation.Help for setting up the Link Directory script
Version Program Name : Link Version : 1.01 Last Modified : 20 Mar 2008 Made : Hand made top Features Advanced link directory script with numerous options. The features of Link are: Advanced search script with ranking by link popularity. Create search engine friendly static pages. Template driven. Include simple template programming. Script will work under mod_perl. And More...... top System requirements A unix (linux) / Win NT webserver. Perl Version 5.6 or higher. A web page that allows custom CGI. top Installation and configuration from the script Open all the files with a .pl file extension in your favorite text editor and look for the line. #!/usr/local/bin/perlIf needed change the path to Perl. Open the /admin/main.cfg with your favorite text editor and follow the instructions in the file. Directories and file upload Make a directory in your cgi-bin directory something like link. Upload everything from the cgi-bin directory (from the zip file) in the same context to your cgi-bin/link directory. Upload everything in ASCII mode (be sure of that other why the script is not working) Make a directory in your main directory something like docs. Upload everything from the docs directory (from the zip file) in the same context to your docs directory. Note : For the Windows FTP users. Auto detect is many times not good working.Directories and Files Permissions For the link directory chmod 755 For the files in the link directory chmod 755 For the link/admin directory chmod 755 For the files in the link/admin directory chmod 755 For the link/admin/data directory chmod 777 For the files and directories in the link/admin/data directory chmod 777 For the link/admin/log directory chmod 777 For the files and directories in the link/admin/log directory chmod 777 For the link/admin/templates directory chmod 755 For the files in the link/admin/templates directory chmod 755 For the link/admin/backup directory chmod 777 For the link/admin/lib directory chmod 777 top Add categories and links You can add categories and links in the administrator control panel, open the admin.pl (http://www.yourdomain.com/cgi-bin/link/admin/admin.pl) script in a browser. On the left side you see a menu where you can add the categories [Add Category] and links [Add Link], before you can add links, you need to create the categories before. top Create the web pages After you have create the categories and links you can build the pages in the administrator control panel by pushing the [Build All] link. All pages and directories are created automatically by the script. top Template programming The templates located in the 'admin/templates' directory can be edit to change the look from the site. Advanced template programing can be use to display different result, depending the value/condition. Extra template are located in the 'extra/templates' directory. You can use the following pattern in the templates.'if' If condition is true. 'elsif' If condition is true and none of the condition(s) before where true. 'else' If none of the condition(s) where true. 'endif' Close the if pattern. 'andif' If condition is also true. 'endandif' Close the andif pattern. You can use the following condition pattern in the templates. '>' Condition (is greater than condition) '<' Condition (is lower than condition) 'eq' Condition (is equal to condition) 'ne' Condition (is not equal to condition) '==' Condition (is equal to condition numbers) Simple template programing Example: 1 <%if CATEGORY%> <h2>Categories</h2> <%CATEGORY%> <%endif%> In this case the variable 'CATEGORY' is displayed only when the variable 'CATEGORY' is set. Example: 2<%if Popular eq Yes%> <sup class="popular">pop</sup> <%endif%> In this case the word 'pop' is displayed only when the variable 'Popular' is equal to 'Yes'. Advanded template programingExample: 1 <%if DAYS_OLD_NEW eq 1%> new today <%elsif DAYS_OLD_NEW < 8%> new this week <%elsif DAYS_OLD_NEW > 7%> new older than 1 week <%endif%> When the variable 'DAYS_OLD_NEW' is equal to '6' the words 'new this week' is displayed. Example: 2<%if DAYS_OLD_NEW eq 1%> new today <%andif Popular eq Yes%> and popular <%endandif%> <%elsif DAYS_OLD_NEW < 8%> new this week <%andif Popular eq Yes%> and popular <%endandif%> <%elsif DAYS_OLD_NEW > 7%> new older than 1 week <%andif Popular eq Yes%> and popular <%endandif%> <%endif%> When the variable 'DAYS_OLD_NEW' is equal to '6' the words 'new this week' is displayed, if also the variable 'Popular' is equal to 'Yes' the words 'and popular' is also displayed. top 5 star rating This script have a 5 or 10 star rating display options, with this option you can display the rating in a graphic matter. five star The five star rating is a number between 0 and 5, and can be used to display the rating from a resource in star (images are include in zip file/docs/images).<img src="http://www.yourdomain.com/images/<%5STAR_RATING%>.gif" border="0" alt="">ten star The ten star rating is a number between 0 and 10, and can be used to display the rating from a resource in star (images are include in zip file. /docs/images). <img src="http://www.yourdomain.com/images/<%10STAR_RATING%>.gif" border="0" alt="">This template tag can be used in the follow template (/admin/templates) files: popularLinks.html, ratingLinks.html, links.html, and detailed.html You need (for the use of the 5 star rating option) also to replace the rating form in the 'rate.html' template with the form below. <form action="<%RATE_SCRIPT%>" method="post"> <input type="hidden" name="do" value="rate_link"> <input type="hidden" name="id" value="<%ID%>"> <input type="radio" name="rate" value="10"> Excellent!<br> <input type="radio" name="rate" value="8"> Very Good<br> <input type="radio" name="rate" value="6"> Good<br> <input type="radio" name="rate" value="4"> Fair<br> <input type="radio" name="rate" value="2"> Poor<br> <input type="submit" value="Cast Vote!"> </form> top Terms of Use This script is being offered as shareware. It may be used and modified free of charge for personal and non-profit use under the following conditions:
Commercial use must register the script for a fee of 89.95 USD. Scripts that has been registered do not have to display the links back to Widexl. You can register the script here:http://www.widexl.com/commerce/link_order.html top Copyright Information Copyright © 2000. Henk Boonstra. All Rights Reserved. This script Link is a shareware release. Selling the code for this program, or a program derived from Link, without prior written consent is expressly forbidden. Similarly, redistributing this program, or a program derived from Link, over the Internet, CD-Rom or any other medium is expressly forbidden without prior written consent. By using this program you agree to conditions above. top Warranty Disclaimer THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. |
» Keyword Ranking |
| Copyright © 2000-2008 Widexl |