If you’re using wordpress 3.3+, you can use the wp_editor function in your buddypress powered theme. For example, the is the textarea for posting reply for group forums in BuddyPress Default theme located in /buddypress/bp-themes/bp-default/groups/single/forum :
`
`
Change it to
`
`
Where the first quote (‘Type here …’) is the initial content for the editor (You can just leave it as ” if you don’t want any initial content) and the second quote (‘reply_text’) is the id of the editor.
By default, wp_editor will use the default TinyMCE editor that comes with WordPress but you can change it via a plugin e.g. CKEditor For WordPress
hi, thanks a lot for your reply.
I can’t seem to get that to work. When you say to replace ‘reply_text’ with the id of the editor, is the ID just the name of this editor? Is there somewhere I can look to find out the specific ID because I am suspecting maybe the ID is something different then the name?
Is this method you told me above basically to tell the forums which editor to use, or the whole site?
Thanks!
Edit: Also, I save the topic.php in my child theme folder at “/themes/bp-child/groups/single/forum/topic.php” correct?
Hi,
you can use the code above “as is” and yes, you got the right path to topic.php
ok, so the “reply_text”/editor id field doesn’t matter what is in it? Wondering how it knows which editor to use?
Hi,
I have i think a similar problem….. I’m trying to get TinyMCE in my buddypress edit.php ( so when you are editing your profile page and there is a textarea, it shows a tiny mce..
The only thing that is working is the strong function…. I have downloaded tinymce from the site: http://www.tinymce.com/wiki.php/Installation
looks like we may have to wait for the next buddypress upgrade which might include an editor….