FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Cannot quote post with CKEditor
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Cannot quote post with CKEditor [message #184177 is a reply to message #184164] Fri, 13 December 2013 21:03 Go to previous message
wferguss   
Messages: 11
Registered: December 2013
Karma:
Junior Member
In case anyone else runs into this, here's the solution.

FUDforum using BBCode encodes the quoted message using this format:

[quote title=<blah>]

instead of the following format expected by the CKEditor BBCode plugin:

[quote=<blah>]

The BBCode plugin errors on a null value because it wasn't written to handle this kind of input. If you add a check for null value to avoid the error, it treats the quote more or less like an unrecognized tag, with the complication that it can't match up the opening and closing tags.

I fixed it by modifying FUDforum post.tmpl, ppost.tmpl, and post_proc.inc.t files to use "[quote=" instead of "[quote title=".

I also modified CKEditor BBCode plugin.js to stop adding quotes around the cite text, because they were being displayed and I didn't want that.
[Message index]
 
Read Message
Read Message
Previous Topic: Dealing with FudForum in an iFrame
Next Topic: Login using cookie for authentication
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Jul 01 06:08:48 GMT 2024

Total time taken to generate the page: 0.04350 seconds