And finally, here's the download link:
http://www.jerald.per.sg/cgi-bin/get.pl ... 15-pl1.zip
current alpha version: 0.15-pl1
Instructions
(Use a plain text editor [eg: notepad or wordpad] for all steps requiring editing of files)
1. Open "iSay.cgi" and "iSay_GetCommentCount.cgi" and edit the path to Perl at the top (if needed).
2. Edit the "absolute path" variables in "iSay.cgi" and "iSay_GetCommentCount.cgi".
3. Upload all files (4 in total) to the directory which contains coranto.cgi and other Coranto core files.
4. Create a directory named "comments" within the HTML files directory and CHMOD it to 777, 666, or 755 (if needed).
5. In Coranto, enable iSay, go to the iSay control panel in the administration section, and fill in all the necessary fields (if needed).
6. Add the following into the news style(s) where you want the comments link to appear (change all the URLs appropriately, if needed):
JavaScript:
- Code: Select all
<a href="iSay.cgi?Page=Comments&ID=<Field: newsid>">Comments (<script language="javascript" src="iSay_GetCommentCount.cgi?ID=<Field: newsid>&js"></script>)</a>
- Code: Select all
<a href="iSay.cgi?Page=Comments&ID=<Field: newsid>">Comments (<?php include("iSay_GetCommentCount.cgi?ID=<Field: newsid>"); ?>)</a>
7. Build news, and you should be done.
NOTES:
- See this post for ZComment database conversion script.
- This addon was a day behind the scheduled release date because of many reasons outside of my control and which I will not discuss here.
- The demo uses the latest version of iSay with the default design.
- Please post all bugs/problems/comments in this thread until further notice.
- I imagine that most developers will be wondering why some of the code is unnecessarily complex, lengthy, and sometimes slow, and the reason is because the addon used to have a lot more functions in it (backup, mysql, language, etc...), but was removed because of conflicts within the code. These conflicts will hopefully be resolved and the code will be brought right back in.
- Please do not re-distribute the alpha to avoid confusion.
Enjoy, and please report bugs.