Create a Social Media Followers Feature - Bubble.io Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ต.ค. 2024

ความคิดเห็น • 10

  • @launomad
    @launomad 5 หลายเดือนก่อน

    should i create 2 pages ? to make how my own profile should look like and how profile of others should be seen
    ?

    • @NoCodeAcademy
      @NoCodeAcademy  5 หลายเดือนก่อน +1

      Hi Lau, sure if you see that route as a way to get you to the goal you're aiming for. There are multiple ways to arrive at the same end point with Bubble.
      If you want a suggestion on how Instagram does it though, I'm happy to provide it.

    • @launomad
      @launomad 5 หลายเดือนก่อน

      @@NoCodeAcademy yes because i get lost between " current user " and " current pages user " so maybe I am thinking of creating my profile page that i see when i click on my own " profile icon " and a page with the same profile using the " curents page user " thing and navigate to that page when we click on another user's pseudo so at least 2 pages would make it more clear and eqsier to build ...

    • @NoCodeAcademy
      @NoCodeAcademy  5 หลายเดือนก่อน

      @@launomad love it! Every tool to keep things straight in this dev world is a good one! Cheers.

  • @launomad
    @launomad 5 หลายเดือนก่อน

    why do i see myself following myself ? i cant do the thing you are doing by writing down " user A "

    • @NoCodeAcademy
      @NoCodeAcademy  5 หลายเดือนก่อน +1

      Hi Lau, without being able to see your exact setup, it's likely something to do with the data being fed to the groups or which user you've used for "Run as". Check the chain of data below and see if yours differs at all?
      (1) 4:10 - in the "Group - Profile Holder" element, I made a choice to put User A in as the profile that we are visiting, it could have been any of the 4 in the database
      (2) 4:20 - in "Group - Right" which is a child element of the "Group - Profile Holder", I am passing that user data (User A) through to it
      (3) 5:35 - when I add a workflow to the button, since it resides inside of "Group - Right" Bubble makes its data available to the button in the workflows, which is why at 5:40 I can select the option for "Parent group's User" and its the value of User A.
      (4) 9:38 - and this might be the one part you are missing, is that clicking "Run as" from the database lets me run the app as User B and thus visiting User A's profile, so when the follow button is hit and the workflows fire off, User B starts following User A.
      Hope that helps.

  • @uen1857
    @uen1857 3 หลายเดือนก่อน

    please how we restrict special characters and spaces from input

    • @NoCodeAcademy
      @NoCodeAcademy  3 หลายเดือนก่อน +1

      Hi thanks for the comment, there are a couple of steps.
      (a) you have the input as normal and allow people to type whatever text into it
      (b) when they hit the submit button you have a conditional on the Event Trigger of your workflow saying when the input "doesn't contain" whatever special characters
      (c) you make an opposite Event Trigger workflow with a conditional for when the input "contains" whatever special characters and you have the workflow action display an alert of some kind letting the person know not to include those characters
      Hope that helps.

    • @uen1857
      @uen1857 3 หลายเดือนก่อน +1

      @@NoCodeAcademy thank you very much