When replying to a post with Advanced Forums, the editor will not load. Visibility is set to node/* and comments/*.

I noticed that this happens only if ?q= contains a "#" after the url, to jump to the comment-form, like this: "?q=comment/reply/15#comment-form"

Reloading the page as "?q=comment/reply/15" will show the editor.

I tried changing bueditor_check_page to use only the bits before "#", but must be either barking up the wrong tree or just not structuring the code right, as it has no effect.

Comments

YorickDowne’s picture

Likely not a problem with BUEditor, nor with Advanced Forums - I see the same behavior with other editors and when Advanced Forum is disabled.

YorickDowne’s picture

Status: Active » Closed (fixed)
bjoern’s picture

In my opinion this is a bug in the bueditor module. It is not possible to load the bueditor in textareas on pages with a "#" in the url, at the moment, like in the advanced forum module or in quote module.

Tolas’s picture

I was having this problem as well.

If I leave node\* in the visibility settings the editor appears on advanced forum replies. If I remove it and add the node types I want it to show on, it disappears from the reply, but it does still show when you reply to an existing comment, just not when you reply to the thread itself.

/?q=content/afk#comment-form is the end of the url for replies to the thread ( I also use PathAuto) which does NOT show BuEditor
/?q=comment/reply/66/223 is an example of reply to a comment which does show the editor.

I have some node types I want to default to using a specific TinyMCE editor, and if I don't exclude them from BuEditor, then the bar will show right on top of TinyMCE and if you click on any buttons it throws errors. This is the reason I wanted to remove the node/* to exclude things like Stories and Pages from it.

BuEditor also shows just fine when using quotes and the url ends is something like /?q=comment/reply/66/223&quote=1#comment-form

After typing this all in here and re-reading it, I found my answer :)

I added content/* to the visibility settings and it now shows on Advanced forum replies to threads. comment/* was there by default, and I just added the node types node/add/ to cover the ones I wanted and removed node/*.

Hope that maybe it helps someone out there.