Plugin: BP-TinyMCE

Join this plugin group to follow comments, support topics and reviews.

BP TinyMCE 0.3 (18 posts)

Started 1 year, 5 months ago by: Boone Gorges

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 5 months ago:

    I know that a lot of people were clamoring for a working version of TinyMCE, so this morning I did some work on BP TinyMCE. I just tagged version 0.3 in the repository.

    The big challenge with bp-default compatibility is the places where updates are sent via ajax. Ideally I would be able to bind an action to the What’s New submit button before BP’s ajax is fired, so that I could write the contents of the TinyMCE box into the proper textarea before the ajax submit, but I couldn’t make it work. I settled on an unappealing but apparently quite functional hack: instead of rewriting the contents on *click*, it happens on *hover*, which will always come before click (especially since the TinyMCE box is not in the tabindex rotation). Let me know if this works for you.

    In addition, I made improvements to make the tooltip language work properly without having to rename or copy any language files. There are also filters in some strategic places in the plugin, in case you want to modify the TinyMCE settings.

  • Profile picture of josemv josemv said 1 year, 5 months ago:

    Bugreport !
    Even tho entry box is rendered correctly, I cannot post updates to my activiy stream nor to the groups which I am member of. Shows “post anything for your update” msg, like as if I was trying to post update with empty entry box

    On forums bold and italics work ok, both lists functinality do not work

    Sorry, using WP 3.0.2 with BP 1.2.5.2 with bp for malleable theme, theme hybrid framework

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 5 months ago:

    Dammit. That means that my hack is not working. I hate this plugin so much.

  • Profile picture of Pisanojm Pisanojm said 1 year, 5 months ago:

    Boone, I was excited to see some action on this plugin.

    Some issues: IE isn’st allowing you to enter anything. Chrome allows me to enter data, but I cannot post -I get this when I click “post update”:

    http://gyazo.com/ec6aac7660df4be89a0d7ea2bc7431c8.png

    None of the entry boxes are (mouse expandable)… i.e. the ability to make the text entry box larger by the lower righ expand click-drag option….

    Also, when I click on the “link” button I get an error popup that says “oops, this link appears to be broken”.

    Just some info… Thank you for looking into this again.

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 5 months ago:

    It basically sounds like this update succeeded in precisely 0 of the things it was intended to fix. Thanks for the bug reports.

    In the end, there may be no reliable way to make this work without completely replacing the JS for posting activity updates. If anyone feels like doing that, I would happily give you the keys to this plugin.

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 5 months ago:

    BTW, @josemv, the lists work fine, they’re just styled away in bp-default. You will have to put some real ul, ol and li styles into your theme.

  • Profile picture of Hugo Hugo said 1 year, 5 months ago:

    succeeded in precisely 0 of the things it was intended to fix. **giggle**

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 5 months ago:

    @hnla Your giggles == my tears :’(

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 5 months ago:

    OK dudes and dudettes.

    Despite my avowed hatred for TinyMCE and for my BP TinyMCE plugin, I have just released 0.3.1. I think it might fix the ajax problem.

    If any core devs are reading this, you should know that I made this work despite the fact that bp-default registers and enqueues its JS outside the scope of any function, when it should be hooked to init. That means I also had to do it wrong in order to get my plugin to catch the click event before BP. We must fix!

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 5 months ago:

    @pisanojm – If it’s not working in IE, it’s likely a problem with TinyMCE that I dare not touch. Likewise with resizing. Links work fine for me.

  • Profile picture of Paul Gibbs Paul Gibbs said 1 year, 5 months ago:

    Patches welcome ;)

  • Profile picture of Hugo Hugo said 1 year, 5 months ago:

    Your giggles == my tears twas giggles in an empathetic manner, welcome to my world, I succeed at 0 things 90% of the time :)

    Must have a look at this as it’s often mentioned by users, first thing to do to make life easier would probably be to chuck out that over used and abused folly known as Ajax – god how better were things before it was given a name **sigh** http – a stateless protocol as it was meant to be, ever shall it be. there’s nothing wrong with reloading a page :(

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 5 months ago:

    @hnla :)

  • Profile picture of josemv josemv said 1 year, 5 months ago:

    Thanks for your prompt fix.
    Sitewide/member profile/group updates now show…unformatted :-(

    Forum posts continue working as before 0.3.1
    Hope someone can fix this, I tried to install @nuprn1 solution but it is too complicated for me

  • Profile picture of Pisanojm Pisanojm said 1 year, 5 months ago:

    @el_terko I spent some time looking for the @nuprn1 solution you mentioned above… and can’t find it… can you point me to it? Thanks.

    Can anyone point in the right direction to add the ul/ol stylings in the CSS for this for befault-bp theme?