BuddyDev

Search

BuddyPress Editable Activity – not working

  • Keymaster
    (BuddyDev Team)
    Posts: 24697
    Brajesh Singh on #10051

    Hi Bogdam,
    Sorry about that. I am adding one more month to your membership in a minute.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24697
    Brajesh Singh on #10052

    Please check your account now. You should be able to download the plugin for one more month.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 12
    Bogdan Avram on #10054

    Yes, i downloaded it. Thank you.
    I’ll let you know soon if it works.

  • Participant
    Level: Initiated
    Posts: 12
    Bogdan Avram on #10057
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24697
    Brajesh Singh on #10058

    Thank you.

    I am glad it is working on profile. I had a look at the feed and I see the reason now. Your fede on home page but we don’t load the required js on the home page.

    If you put this in your bp-custom.php or your theme’s functions.php

    
    add_filter( 'bp_editable_activity_should_load_assets', function( $load ) {
    
    	return is_user_logged_in();
    });
    

    The js will be loaded on all the pages for the logged in user and it will make that work.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 12
    Bogdan Avram on #10059

    Thanks a lot Brajesh! Works now! There is still a small issue: after edit, URL’s posted in text are no longer clickable… is removed, is plain text now 🙁

  • Keymaster
    (BuddyDev Team)
    Posts: 24697
    Brajesh Singh on #10070

    Hi Bogdan,
    Thank you.

    About the link, It is temporarily set as text to avoid the server side round trip for generating actual content.

    I will put some code that allows handling this, Hoping that this is a better experience for user. Please allow me till tomorrow.

  • Keymaster
    (BuddyDev Team)
    Posts: 24697
    Brajesh Singh on #10105

    Hi,
    Just wanted to update you on the status of link/rendered content. I have looked at it and It will take a lo more time than expected. We will need to server side render the content.

    It will need a rewrite of the current way and will take some time.

    Thank you for your patience.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 12
    Bogdan Avram on #10265

    Hi Brajesh,

    We found another bug. If the post contains an image, the edit button doesn’t appear and we can’t edit that activity. Any solution for this?

    Thanks!

  • Keymaster
    (BuddyDev Team)
    Posts: 24697
    Brajesh Singh on #10268

    Hi Bogdan,
    We had it disabled intentionally.

    We had limited the editable activity to updates, comments and a few other types only.

    if you can tell me which media plugin you are using(MediaPress, RTMedia or other), I may be able to accommodate it.

    In case of MediaPress, the actual media is not part of activity, only ids are stored in the meta. THat was one of the reasons for us to avoid it.

You must be logged in to reply to this topic.

This topic is: not resolved