Skip to:
Content
Pages
Categories
Search
Top
Bottom

Admins to create friendships between members

  • Avatar of csimpson
    csimpson
    Participant

    @csimpson

    Hi there, i’m fairly new to buddypress although not wordpress – but not a programmer.

    I need a method of making administrators create friend relationships ONLY. I have restricted the site so that users cannot search and find other user profiles. They just sign up and provide profile details.

    Its a dating website where an admin will make a match manually and introduce two members together – so essentially allow them to be able to communicate and arrange a meeting after the match is made based on user data.

    Any ideas / plugins that could help… really struggling to complete this last step.

    best wishes craig

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of csimpson
    csimpson
    Participant

    @csimpson

    sorry forgot this, WP 3.8 and BP 2.0. thanks

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    No plugins for that specific function. Closest to that are plugins to add a default friend on sign up.

    There is a function you can use as a basis to create this functionality.

    friends_add_friend( $initiator_userid, $friend_userid, $force_accept = true );

    Avatar of csimpson
    csimpson
    Participant

    @csimpson

    ah thats a shame, but thanks for the auto-add code, i may decide on adding this… have to see where i can go from here

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

You must be logged in to reply to this topic.