BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47531

    Ok Thanks for the clarification

  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47528

    I have also needed this bookmark plugin for quite a while

  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47517

    Thanks Ravi,

    The code worked perfectly

  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47478
  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47461

    Hello Brajesh,

    Im currently testing buddypress version 11.0 beta 2 and I discovered an issue/conflict with the code I shared above.

    After publishing an article, the activity link is being displayed in this format (https://www.site.com/article//) instead of (https://www.site.com/?p=40926). This (https://www.site.com/article//) leads to 404 error.

    This issue started when this feature was added https://buddypress.trac.wordpress.org/ticket/8052

    Can you help simply the code I shared with you so it does not affect the links in activity update output.

    Thanks

  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47452

    Thanks

    This is now resolved

  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47451

    Thanks you very much Brajesh

  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47362

    Thanks Brajesh my issue is now resolved

  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47309

    Thanks Brajesh

    The code worked perfectly, I solved the perfmatters issue by disabling defer javascript function when viewing logged in user profile with the code below

     /* Turn off perfmatters jd defer on change avatar page */
    add_filter('perfmatters_defer_js', function($defer) {
          if(bp_is_my_profile()) {
            return false;
        }
        return $defer;
    }); 

    It would have been awesome if their was a function to target only the (change profile photo) page instead of using bp_is_my_profile()

    Alternatively which javascript code does your code work with and where is it located in the buddypress folder maybe I could just exclude the js file path from the defer function

  • Participant
    Level: Guru
    Posts: 740
    Tosin on #47294

    With perfmatters I had defer javascript option enabled, is there a work around?