Advanced search  

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]

Pages: [1]   Go Down

Author Topic: expand bbcode ; quote in comments  (Read 2078 times)

0 Members and 1 Guest are viewing this topic.

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
expand bbcode ; quote in comments
« on: July 04, 2008, 06:13:44 pm »

Hi.

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

Code: [Select]
         // [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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.