I got this setup on PHPBB3.1 with the BBcode plugin and it's mostly working fine. However, if I try to use the quote system when there are any html tags (specificaly img tag) in the quoted post then it gets some error when it trys to load it in the editor and it just displays a blank editor:
Uncaught TypeError: Cannot read property 'indexOf' of undefinedckeditor.js:24 CKEDITOR.tools.indexOfplugin.js?t=EAPD:19 CKEDITOR.plugins.add.init.i.addRules.elements.smileyckeditor.js:260 a.execckeditor.js:257 CKEDITOR.htmlParser.filter.CKEDITOR.tools.createClass.proto.onElementckeditor.js:283 CKEDITOR.htmlParser.element.CKEDITOR.tools.extend.filterckeditor.js:253 CKEDITOR.htmlParser.fragment.filterChildrenckeditor.js:284 CKEDITOR.htmlParser.element.CKEDITOR.tools.extend.filterckeditor.js:253 CKEDITOR.htmlParser.fragment.filterChildrenckeditor.js:284 CKEDITOR.htmlParser.element.CKEDITOR.tools.extend.filterckeditor.js:253 CKEDITOR.htmlParser.fragment.filterChildrenckeditor.js:253 CKEDITOR.htmlParser.fragment.filterckeditor.js:254 CKEDITOR.htmlParser.fragment.writeHtmlplugin.js?t=EAPD:17 bckeditor.js:10 hckeditor.js:11 CKEDITOR.event.CKEDITOR.event.fireckeditor.js:13 CKEDITOR.editor.CKEDITOR.editor.fireckeditor.js:233 CKEDITOR.tools.extend.setDatackeditor.js:927 eckeditor.js:929 (anonymous function)ckeditor.js:300 CKEDITOR.editor.setModeckeditor.js:294 (anonymous function)ckeditor.js:10 hckeditor.js:11 CKEDITOR.event.CKEDITOR.event.fireckeditor.js:13 CKEDITOR.editor.CKEDITOR.editor.fireckeditor.js:12 CKEDITOR.event.CKEDITOR.event.fireOnceckeditor.js:13 CKEDITOR.editor.CKEDITOR.editor.fireOnceckeditor.js:227 (anonymous function)ckeditor.js:209 CKEDITOR.scriptLoader.load.kckeditor.js:209 CKEDITOR.scriptLoader.load.ockeditor.js:209 CKEDITOR.scriptLoader.load.pckeditor.js:210 (anonymous function)
Is this a bug with the BBcode plugin or with the ckEditor? And does anyone have any advice on how to fix it?
Update: This happens when I try to edit a post also.
Update again:
Update again:
Actually, I have found out that it isn't related to image tags. It's related to the built in Smilies system in phpbb. If you type something like :) phpbb will automatically dispaly it as an image. But when you try to edit or quote a post with these smiles it erros and can't load any of it. Is there some way to fix this?
btw, I'm using phpbb 3.1