Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: tinymce in activity replies and comments

@danbp

Participant

Hi, glad it works for you.

The visual editor use TinyMCE wich comes with his own ID and class. That works with WP, but not with BP who use his own id’s and JS on activity page.

Tweaking JS files is delicate and that’s why i said “deactivate the visual tab”. You should use the filter i indicated to remove it completely (so nobody would be tempted to click it).
But if you’re comfortable with JS, feel free to do it. But without any warranty (outside some headeache) about the final result as it will be very tricky to do.

The media uploader is usually reserved to site admin, editors and authors when they post on the blog from backend. In our case, adding some styling possibilities to the what’s new content from frontend, is slightly different.

Imagine all your xxx.xxxx members accessing to the media library without any control each time they write something! That’s a big security risk, because subscribers (wich is the default BP users level) could access to a part of your backend and also to your server.

If you need full publication rights, create authors and let them publish real blog posts. But don’t use the what’s new form to replace this (complex) bloging functionnality.

The text tab has already a bold button (b – the first one, on the left ).
And you can embed links to images using the img button or embed different medias like video simply by copy/pasting a youtube link or other allowed services.

Take also in mind that the default form comes without any style buttons. This trick add some.

Guess you have to work with this compromise. IMO better as nothing, no ? Avoid reinventing the wheel ! Stay simple and your site will remain operable.

Skip to toolbar