BuddyDev

Search

[Resolved] Problem to Setting Auto Friendship

  • Participant
    Level: Initiated
    Posts: 16
    Emanuele Maria Esposito on #36357

    Hi guys,
    I installed the auto friendship plugin.
    I have created a new friendship list.

    And assigned this parameter:
    – If the members type equal to “partener”
    – List Type “add as a friends”

    But creating new users doesn’t seem to work.

    Also I tried to set them manually but still they are not seen as friends.

    Can I get support?

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #36359

    Hi,
    Welcome to BuddyDev support forums.

    How are you registering and activating the user? Is it via BuddyPress registration page? If yes, How are you assigning member type on registration?

    Please let me know and I will assist.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 16
    Emanuele Maria Esposito on #36365

    Hi Brajesh Singh,
    these are the steps I did:
    – created the rule
    – created users manually
    – logged in with the created user

    but self-friendship doesn’t seem to work

    I also tried to manually enter members in the field but they don’t become friends

    The screen of plugin setting: https://snipboard.io/uek9wG.jpg

    Thanks for the support

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #36372

    Hi Emanuele,
    Thank you for the details and the screenshot.

    1. The plugin only adds members whom you specify in the members section of the list. Sice you have not specified any, It will not do so.

    2. In order to add friends, the list condition is checked with the newly registered user. If they match, all members form the list are added as friend.

    In case you are registering user from dashboard, member type won’t be set and I recommend using another condition. If the users registers from BuddyPress signup page, you can use all the conditions.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 16
    Emanuele Maria Esposito on #36375

    Hi,
    unfortunately I am forced to register users from the wordpress dashboard.
    From there I assign the user type.

    How can I set them to become friends?

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #36427

    Hi Emanuele,
    Thank you for the reply.

    1. Are you comfortable with a few lines of custom code adding to a file?

    2. Do we restrict the changes to the first time a user’s member type is changed or do we add new friends each time their member type is changed

    3. Should we sync the friends to the member type? In this case, any existing friends will be removed.

    Please let me know and one of us will post the code.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 16
    Emanuele Maria Esposito on #36446

    Ciao Brajesh,

    1. ok no problem
    2. Whenever a user is assigned the type he must become friends with everyone else
    3. Yes, because the friends function will only be restricted to a type of user that is not the one that needs to be synchronized automatically

    For other things we will work like this ..
    1. from the panel we create the user and assign the type
    2. we will make the user switch to activate it and complete some user card stuff
    3. this type of user must become friends with others of the same type (in this specific case “partner” or “affiliates”)

  • Participant
    Level: Initiated
    Posts: 16
    Emanuele Maria Esposito on #36536

    Hi Brajesh,
    any news?

    thanks

  • Participant
    Level: Initiated
    Posts: 16
    Emanuele Maria Esposito on #36547

    Hi Brajesh,
    I tried to add manually but not works.
    https://snipboard.io/py5Be7.jpg

    Can I’ve support?

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #36548

    Hi Emanuele,
    I am very sorry for the delayed reply. Have asked @ravisharma to follow up and assist you with it quickly.

    Regards
    Brajesh

The topic ‘ [Resolved] Problem to Setting Auto Friendship’ is closed to new replies.

This topic is: resolved