FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Cannot quote post with CKEditor
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=184164&th=123327#msg_184164
I recently installed FUDforum with CKEditor. If I click on the Quote button next to a post, the CKEditor tool buttons are greyed out on the Post Form, and the Body field appears empty. I can see the quoted post in the HTML, but it's not visible on the page. When I click on Preview or Submit, the quoted content is lost.
Any suggestions on how to get post quoting to work when running CKEditor?
]]>wferguss2013-12-09T21:03:17-00:00Re: Cannot quote post with CKEditor
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=184177&th=123327#msg_184177
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.]]>wferguss2013-12-13T21:03:19-00:00