Skip to:
Content
Pages
Categories
Search
Top
Bottom

html on profile page? can it be done?

  • Avatar of Narada Das
    Narada Das
    Participant

    @oneearth

    Hi – I am running the latest WP with the lates BP. I am using extended profiles.
    Is there anyway to html enable one or more of the added profile fields?
    (a mod for it would be great). (using tinyMC would be good too).
    If not is there any other way to get an html block that members can use on their profile pages?
    I find it very strange that I have had so much troulbe finding this basic functionality which is easilly available on post pages for instance.
    Thanks ~
    Narada Das

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of Narada Das
    Narada Das
    Participant

    @oneearth

    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
    http://byronbayblog.com/wp-admin/plugin-install.php?tab=plugin-information&plugin=bp-tinymce&TB_iframe=true&width=640&height=471
    - 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?

    Avatar of Narada Das
    Narada Das
    Participant

    @oneearth

    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.

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    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 );`

    Avatar of Narada Das
    Narada Das
    Participant

    @oneearth

    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?

    Avatar of Narada Das
    Narada Das
    Participant

    @oneearth

    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

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    Avatar of Narada Das
    Narada Das
    Participant

    @oneearth

    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?

    Avatar of Narada Das
    Narada Das
    Participant

    @oneearth

    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.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.