Like or Upvote buttons - For signed In users Answered

Hey guys, I'm trying to add like or upvote buttons. When someone who isn't signed in tries to like or upvote, I'd like memberstack to prompt them to sign up. How do I do this?

Comments

4 comments

  • Comment author
    Julian Galluzzo

    Here's an easy solution - have 2 elements:

    1. The real like/upvote buttons
    2. A duplicated version

    Remove the action from the duplicated version, and add a sign up modal/redirect.

    Then, use the members/!members attributes to hide and show each of these elements to the correct people!

    P.S: This was a condensed version, but if it's confusing I'd be happy to make a more detailed loom for you!

    Good luck! 😃

    0
  • Comment author
    Dave Rajan

    ^ Superb, was looking for same!

    0
  • Comment author
    Dean Fankhauser

    Absolutely perfect. Thanks so much for your help.

    0
  • Comment author
    Julian Galluzzo

    No problem!! Let me know if anything else comes up 😃

    0

Please sign in to leave a comment.