06-26-2000, 12:08 AM
Hi,
I'm looking for a PHP script which displays the first 30 lines (or so) of every topic from a forum, which I dedicated to News, on the front page of our web site.
Only moderators or admins can post new threads (the News articles) all other can only comment on them. I would like to have a link "Read more" below of every 30 lines excerpt pointing to the full article and a link "Comments" pointing to the full discussion thread.
I've seen the Active Topics script and probably I could use it as a starting point but I would also like to have the vB-Code support, Smilie support and automatic web address parsing etc.. which the vB scripts have, not just plain text. And then it gets difficult for me since I'm new to PHP.
Does anyone have already written such a PHP script or could give me other useful pointers for writing such a beast?
Thanks in advance
I'm looking for a PHP script which displays the first 30 lines (or so) of every topic from a forum, which I dedicated to News, on the front page of our web site.
Only moderators or admins can post new threads (the News articles) all other can only comment on them. I would like to have a link "Read more" below of every 30 lines excerpt pointing to the full article and a link "Comments" pointing to the full discussion thread.
I've seen the Active Topics script and probably I could use it as a starting point but I would also like to have the vB-Code support, Smilie support and automatic web address parsing etc.. which the vB scripts have, not just plain text. And then it gets difficult for me since I'm new to PHP.
Does anyone have already written such a PHP script or could give me other useful pointers for writing such a beast?
Thanks in advance