BuddyDev

Search

Buddypress Auto-Follow from other registeration page

  • Participant
    Level: Enlightened
    Posts: 65
    evil lizard on #43416

    Can you suggest a way to get around the issue?

    What about if a user goes to the members list

    Searches for his sponsor on the member list and then Hits the “follow” button

    A function By hitting this follow button also makes him become an affiliate ..under that sponsor

    This way he is joins the affiliates , under that sponsor and also automatically follows them.

    —–

    Or making a shortcode (to put on each users affiliate profile) – for an auto-suggest field where users can type in the name of their sponsors ..and then would not be able to change it again?

    ——

    Is this possible to achieve?

    What do you suggest?

  • Participant
    Level: Enlightened
    Posts: 65
    evil lizard on #43464

    //What we can offer you is a way to let your users follow other user’s who are affiiliates//

    —–
    Please boss , how do i get already logged-in buddypress users to auto-follow their referrers ?

  • Keymaster
    (BuddyDev Team)
    Posts: 21510
    Brajesh Singh on #43465

    Hi Iken,
    I am sorry, what you are asking is synchronization of existing users which I did not offer. This will need specific tools and development based on how many users you have currently on your site.

    What you are asking now(I believed from your first screenshot that you wanted it on registration page, that’s why Ravi supplied that code) is going to take couple of hours and will be a significant amount of work.

    How many user’s do you have currently on your site?

  • Participant
    Level: Enlightened
    Posts: 65
    evil lizard on #43498
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 65
    evil lizard on #43500
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 21510
    Brajesh Singh on #43506
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 65
    evil lizard on #43574

    Is it possible to force affiliates to the buddypress members-list page to follow only 1 person ? Immediately after they become affiliates , and after following someone, direct them to their affiliate-account page (Only affiliates will see the follow button on the members list alone)

  • Participant
    Level: Enlightened
    Posts: 65
    evil lizard on #43585

    Or a shortcode for an auto-suggest drop-down field

    where user can just type in a username to follow (just 1 following).
    —–

    this would be alot easier because, This way I can hide the short-code from non-affiliate users.

    -Please respond to me on if this one would be possible

  • Keymaster
    (BuddyDev Team)
    Posts: 21510
    Brajesh Singh on #43606

    Hi Iken,
    At BuddyDev support forums, we do not offer custom services. Your requirements are not related to our plugin.

    You are looking for custom integration with 3rd party plugins which we do not provide.I do hope to assist you partially with it in my free time but a full integration support is not feasible.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 21510
    Brajesh Singh on #43609

    Hi Iken,
    Here is the code that will automatically make the user follow their sponsors. Please put it in your bp-custom.php

    https://pastebin.com/aveM7v2d

    Let me know if it works for new registrations or not?

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved