[Resolved] Rich Text Editing in forum topics
-
I have tried to give my users the option to use rich text editing in forums, both topics and replies, in various ways. After trying several plugins, this is what I ended up doing. I’m sure there are better ways, but this works for me. Hope it may help someone.
Problem:
Only a >textarea< is available in topics and replies in the forums. On some sites a wysiwyg editor is relevant.Solution:
Create your own theme, no .. wait .. stop .. it’s a lot easier than even I thoughtand it let’s you change things without having them reset when you update BP. Having your own theme is dead useful for lots of things as I’m still finding out…
If you, as I am, are happy using the bp-default theme, then there is an easy to follow recipe here:
http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
Now, if you have added code to bp-default/functions.php you should move it to my-theme/functions.php. That way the code won’t be overwritten at update
Back to wysiwyg editing.
First, add a rich text editor when creating a topic.
Create the folder structure my-theme/groups/single/ and copy the file bp-default/groups/single/forum.php into it. Open the copy of the file in your theme and make the following replacement
`
- The topic ‘[Resolved] Rich Text Editing in forum topics’ is closed to new replies.