Click to See Complete Forum and Search --> : Problem with a free script (csPost): No support for multi-threads


LEGO-Mafia
02-11-2009, 01:19 PM
Hi all,

I spent along time getting this free script ( http://www.hotscripts.com/Detailed/55377.html ) to work as I am a novice in this area and the script is great in that it allows visitors to leave a comment on news articles as shown on this page http://www.minifigtimes.com/news/2009/2009-01-24-story01.shtml

The problem is I have discovered that I can only have 1 thread of comments i.e. each page I creat with a news story cannot have its own dedicated comment thread...

I found someone had the same issue described here http://forum.cgiscript.net/showthread.php?t=491&highlight=cspost and the code writer said

Unfortunately csPost is just single threaded. What are you using for your news articles? I did do a modification for someone where it allowed you to insert an ID on a template so that it generated a unique 'post' per unique ID. You can email me directly at angrick1@cgiscript.net if you want to discuss this further.


I contacted both him and the person who had the issue but have had no feedback as yet..

Just wondering if anyone (a) can provide any help or (b) knows of another free cgi script that allows multi-threads comments?

Thanks!

Phill Pafford
03-11-2009, 03:43 PM
I would suggest Perl's fork() command (http://perldoc.perl.org/perlfork.html)

Sixtease
03-12-2009, 03:20 AM
Searching CPAN didn't reveal anything I'd feel comfortable recommending you. I'm afraid I'd write that myself if I needed it... which I will sooner or later. The whole idea is in every comment having a parent and allowing comments to be parents of other comments. Then you need to figure out how to format it to HTML. Since that is the toughest part and is also very variable from site to site, I understand why there seems to be no canned solution.