expand bbcode ; quote in comments expand bbcode ; quote in comments
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

expand bbcode ; quote in comments

Started by dwo, July 04, 2008, 06:13:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dwo

Hi.

I added a quote function to comments/bbcode. Simply added


         // [q] and [/q] for quote text.
          $text = str_replace("[q]", '<blockquote>&rdquo; ', $text);
          $text = str_replace("[/q]", ' &rdquo;</blockquote>', $text);


to functions.inc.php after function bb_decode($text)

Together with quicktags, very usefull and easy to use.

reagrds, Dietmar