Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • ishvara
    Participant

    @ishvara

    Anyone?..


    ishvara
    Participant

    @ishvara

    Question (or maybe a suggestion) to Buddypress developers:
    I was wondering if it’s possible to apply a filter to
    the returned $slug in groups_check_slug() function
    so that anyone can play with BP group slugs?
    Cheers.


    ishvara
    Participant

    @ishvara

    Thanks a million for your response and sorry for not looking to the plugin’s page meself.
    Stupid me…


    ishvara
    Participant

    @ishvara

    Update: reverting to BuddyPress 2.1.1 fixes the issue.


    ishvara
    Participant

    @ishvara

    Found where the problem was.
    And it’s not Buddypress.
    Varnish reverse proxy was not handling the mentioned redirect properly and was causing delays.
    So it’s RESOLVED by modifying Varnish config.

    PS
    The nature of the mentioned redirect (and its purpose) is still beyond me.


    ishvara
    Participant

    @ishvara

    Update:
    As a temp fix (I know it’s by far not perfect) I’ve replaced the
    return ‘not_friends’
    which is triggered by the elseif (see post above)
    with
    return BP_Friends_Friendship::check_is_friend( $user_id, $possible_friend_id );

    I understand that by doing this I’m loosing some of the optimization and this will most likely lead to the increased amount of queries to the DB, but for now I haven’t found a better fix.
    I hope someone will be able to find a smarter solution for this issue.
    Or maybe give an idea of why this is happening in my case.


    ishvara
    Participant

    @ishvara

    I have identified that friends_check_friendship_status() function is returning 'not_friends' because the elseif (has_filter(‘bp_user_query_populate_extras’, 'bp_friends_filter_user_query_populate_extras’)) is triggering return ‘not_friends’.

    But I don’t understand at the moment on why this is happening…


    ishvara
    Participant

    @ishvara

    Switched to 2014 – unfortunately no luck.
    The issue is still present.

    PS
    I know that bp-default is no longer supported, but I’m forced to stick with it for some time 🙁
    Anyway, looks like the issue is not related to bp-default.


    ishvara
    Participant

    @ishvara

    Hello Dan,

    I’m using bp-default.
    I’ve tried to dig a bit deeper and it looks like the friends_check_friendship_status function in bp-friends-functions.php is reporting incorrect friendship status. Maybe this info can help…

    Anton.

Viewing 9 replies - 1 through 9 (of 9 total)
Skip to toolbar