BuddyDev

Search

Replies

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] TTFB increased by Live Notification #29158

    Hi there, I have done some tests, and I’m not sure that Live Notification is causing increased TTFB so I am closing this topic.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Slug for current profile? #29154

    Hi Brajesh, thanks for the functions.

    To be more specific, I need the function for the user xprofile button link, to put into a hook element so the tab shows here: ´bp_after_member_body´

    This code below is taken directly from the inspector, but this code will not work as it is, because it will link to the user “John” even if you are visiting user “Ben”‘s profile.

    <li id="xprofile-personal-li" class="current selected"><a id="user-xprofile" href="https://domain/members/John/profile/">Profil</a></li>

    I have tried to put on of the functions into php tags

    ´<?php $url = bp_displayed_user_domain(); ?>´

    • This reply was modified 4 years, 6 months ago by calu.
    • This reply was modified 4 years, 6 months ago by calu.
  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] TTFB increased by Live Notification #29144

    NB! I know these results can vary, and influenced by a number of factors, and, as said, the number of plugins are also a crucial factor, so I will not claim, that Live Notification is causing this alone.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Slug for current profile? #28990

    Hi Brajesh, sorry for not making myself clear, but here’s the case.

    I’m using a hook element to place tabs different places on my page. I’m then adding functions, like bp_send_private_message_button to that hook which is working fine.

    But the correct functions can be difficult to find, which is why I’m trying another approach by adding the element from the inspector instead.

    Anm example is the ‘Profile’ tab, where the markup is the same on own profile and profiles visited.
    The problem is, that the href is not changing. If I use members/me/profile, it will always point at users own profile, which is fine, but if I add this code, it will always point to jeff’s profile.

    <li id="xprofile-personal-li" class="current selected"><a id="user-xprofile" href="https://domain/members/jeff/profile/">Profil</a></li>

    I hope this clarifies.

    Maybe this approach is not working for what I am trying to achieve. The best way is to add the function, but even if I use buddypress.org hookr.io/, or a plugin to show the functions, they often do not work.

    Any suggestions would be most appreciated

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112

    Hi Ravi, thanks for sharing bp-toolkit, I know the plugin, I just wondered if BuddyPress Moderation Tool were offering the same.

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: MediaPress with a simpler UI and structure #28520

    Hi Brajesh, looking forward to seeing that.

    Another argument moving away from galleries are expenses. Storage is really expensive. I signed up for AWS, and even if I was just testing the cloud with less than twenty users, I was charged by Amazon. 

    Galleries encourages user to add many images in more galleries, but it gets way to expensive for site owners who of course are hoping for many users. Even though an upload limit can be set, it does not make sense with unlimited galleries.

    Thanks

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: MediaPress with a simpler UI and structure #28494

    An option for uploading directly from mediapress/featured-media/ could that be an easy solution?

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Replace text on tabs with icons #28488

    Hi Brajesh, thanks for letting me know.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112

    Hi Brajesh, that sounds great, looking forward to the update

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: Recent Profile Visitors page issue #28454

    But of course not displayed users own profile