Error (and fix) for comments and bbcode

"Seth Cribby" <[email protected]> Mon, 2 Sep 2002 12:41:37 -0700
Newsgroups gmane.comp.web.envolution.devel
Message-ID <[email protected]>
when the comments are longer than the length set by the admin, it only displays that number of characters and then says: read rest of comment.

In this case, the bbcode does not work.  It also doesnt work when you click on the read rest of comment and see the whole comment.

Fix:

Lines 561 and 562
-------------------------------
where it says:
echo substr("genBBcodeDisplay($comment)", 0, $maxco.......
should be:
echo substr(genBBcodeDisplay($comment), 0, $maxco....... 


just take out the quotation marks and it works.  There are two of these one on 561, one on 562.



Line 666  (what a line #)
---------------------------------------
where it says:
<font class=\"pn-normal\">".pnVarPrepHTMLDisplay($comment)."</font>
should be:
<font class=\"pn-normal\">".genBBcodeDisplay($comment)."</font>