Ive spent another couple of hours researching this and other than a plugin by Boone here http://teleogistic.net/2009/12/tinymce-in-buddypress/ and here
– which was only in early stages and has no activity for nearly a year –
I cant find any way to allow html or even better tinyMCE to profile fields.
I understand there are some security issues but how come
tinymce is enabled for member posts in the main WP admin area,
its also enabled in the Eventpress plugins event posting –
so why cant it be enabled in profile fields???
Surely this is basic functionality – no?
Please pardon my slight rudeness in a previous post caused by tiredness and my newbie frustration with the functionality here.
I do very much appreciate the effort that it must all take and the unique contribution you make through BP.
Please allow me to ‘buy you a beer’…
I am having trouble getting answers to some fairly simple questions
that I am surprised I cannot find solutions to – such as this one above.
Yes, it can be done, but do you want to risk exposing your site to vulnerabilities?
If you still want to do this, add the following code snippet in your theme’s functions.php:
`remove_filter( ‘bp_get_the_profile_field_value’, ‘wp_filter_kses’, 1 );`
Thanks @r-a-y – I guess then that I do need TinyMCE to edit the extended profile fields for better security.
Im trying to understand why from the above linked articles it seems to be a problem to activate by plugin. Even Boone has trouble with it! And yet we have TinyMCE in posts and in Eventpress events etc. What is so different with the extended profile fields?
And if this is really a problem without a good solution – is there some way to at least allow BP members to add pictures to their profile page?
Sorry – an after thought… I am using the awesome Cincopa multimedia plugin which just needs to embed a short code inside [ brackets ] .
Is it possible to remove the filter only for these codes to allow the plugin to work? http://www.cincopa.com/media-platform/wordpress-plugin.aspx
Thanks @Chouf1 it looks like a good lead – but unless I pay for help its beyond my minimal skill levels to implement it..
I guess I could start be looking at functions.php and wp-includes/kses.php ?
However Im beginning to think that this is not just a question of getting html in
but also of displaying pictures or other media in an extended profile field on the profile page.
I used a plugin which seemed to keep the html intact – but nothing showed up in the profile.
I still cant figure why this isnt a straight forward thing to do on the profile page as it is easy enough to use Tinymce to add media in a post?
I thought I finally found a plugin that among other things lets members upload an image on their profile page… but now Ive lost it again…. arghhhh.