Thank you! You have the best videos on Bubble! This really helped me, but do you mind answering one more question please: I have 3 data types: users, companies, and prizes. I need companies to register and create prizes that that people can win. (people are end users, that is another role...) Now, how do i create a user that is a company, and have them create their own prizes? I mean, how do i connect those 3 entities. Thanks! :)
Glad the video is helpful. If I'm understanding your scenario, then under "User" Data Type have a Data Field called "Type of User" (or whatever) similar to the video. Then you'd have two values for the field which will be "Company" and "People" (both of type text). Based on what you wrote, I don't see a need for a Data Type of "Companies". Data Types of User and Prizes make sense. From a user experience perspective, when someone (be it a Company or People) sets up an account, the first thing you may want to have the select is "Are you a Company or People" (or however you want to say it). Then have them select a "Company" button or a "People" button. Each button would have a similar workflow but the "Company" workflow would set the User ==> Type of User value to "Company" and "People" workflow would set Type of User to "People". So instead of a dropdown and one account creation workflow like in the video, you'd have two buttons each with a respective workflow. A different user experience than in the video but maybe a better option for your app? Hopefully that makes sense. When a "Company" user logs, then in the user interface you design for them, they can go and create Prizes (and whatever else you enable them to do). Let me know if I'm understanding your use-case and if you have any more questions. Best wishes!
Bro how where did you add the student and teacher datas? Under user type? Or did u create 2 types with name student and teacher and then u add the details under corresponding data type?
At the 50-second mark in the video I show a dropdown element with the two user types - "Teacher" and "Student". Then at the 2:40-mark I get into the data structure. Under "User" Data Type I added a Data Field called "Type of Person" (type text) where the dropdown value goes (via workflow steps). Hope that helps clarify. Best wishes!
thank you, your lessons are great. You have been teaching me too much. I´d Like to know if there is any other way to set up different type of user. I created a sign up page for a service provider , and other to a company that will contract that providers, but I don´t know how to differentiate them on the data base.
Hi Maryam - yes you can but you'll need to create different values in a data field so your Bubble app can use it as a conditional. For instance in this video, User has a data field called "Type of User" with value of "Student" or "Teacher". These values are used to determine what actions (steps) in the workflow are done. So in your app you can have a data type like "Type of User" with different values. Based on those values you can have either an Event or Steps in a Workflow that execute based on the value of "Type of User" In terms of the example in the video, you could set up an Event that when page loads and the User has "Type of User" value of "Student" a Group becomes visible with a form for them to fill out. If you have different types of users (or Students in this example) like Math Students or Biology Students, you can use those values to start Workflows that will show unique Groups with specific forms for those respective students. Hope that makes sense and helps.
Hi Nikola, thank you for your videos. I have watched and followed this video a couple of times already but I couldn’t get the groups to show according to the Type of User. I am almost 100% certain everything is set up the same as yours. I loaded the Debugger in steps and under both the steps (Set state Type of User of index) where the Custom state is showing (Only when) in red. The Type of User (Current User’s Type of User is”x”) in blue. Any advice on how I can fix this problem? Thank you
Hi Kim - thanks for reaching out and sorry to hear you're having issues setting this up in your app. One thing to check for is spelling in your custom state values. For instance, "teacher" and "Teacher" are two different values. Make sure there are no extra spaces either. Another thing to verify is that your custom state was created at the page level (in the video I created the custom states at the Index page level). You can create custom states on any element so you'll want to make sure you don't have the custom state on one of the groups. Hope this helps - let me know if you're all set. Best wishes!
An application in a bubble in which login users' activity can be tracked like how much time they spend in Facebook or any other app and website. Is it possible to do so in a bubble ?
Not sure off hand about tracking usage of other apps/website within Bubble. I did see this thread in Bubble forum which may give you some ideas: forum.bubble.io/t/calculate-and-show-user-app-usage/89689 If you do find a solution please post it. Thanks and best wishes 👍😎
Great video indeed. I am only stuck by 3.50 in the video. By data to send: you fill in, "current user", which is turning blue. If I select: "current user" it stays red all the time. I have tried everything but no succes. What am I doing wrong?
Glad you liked the video. If you go to 6.58 in the video, you'll see the "Type of content" for "student" page is "User". I suspect the issue you're having is the destination page (ie "student" in my example) doesn't have the correct "Type of Content". Your question brings up an important point regarding sending data to a page. On the "index" page in my example, the Workflow has a "Go to page student" step. In that Step I put "Current User" in the "Data to send" field. Since the user is logged in, they are the "Current User". So technically I didn't need to send the data to "student". I could have left "Data to send" field blank (Index page) and "Type of content" blank (Student page). It's just a habit for me to setup a data type for a page. But for the demo, I wanted to explicitly send the User's data to the "student" page. And to do that, I needed to put "Current User" in the "Data to send" field (Index page) as well as make the Student page "Type of content" set to "User". If you have different Data Types in your app, you'll probably find yourself sending a Data Type from one page to another. This demo shows you how to do that (using User). For instance, if you have a Real Estate app, you may have a Data Type called "Property". And you may have a "Listings" page. When a user clicks on an image of a house on Listings page (for example), the app may take them to a "Details" page in which case you'd send "Property" data to "Details" page and "Details" page has "Type of content" of "Property". Hope this makes sense and helps you fix your issue. Let me know if not.
Hi,Amsterdam testing, Do you live in Amsterdam? I am busy with this too. I have a few questions. Do you know this program? I am making something and I am stuck. Would you maybe want to or be able to help through skype or so? Do you speak Dutch? Hope to hear from you!
Hey Nikolai, Great Video, man. I have a question, even thought i know this way is more easy. But why didn't you used "option Set'' for both types of users and surely we can make it stored as text also in database?
Thanks Ali If I'm understanding your question, the reason Option sets weren't used in this design is because the Teacher and Student pages need to pull specific Users (Teacher or Student) from the database. As such you need to have a Data Field in User ("Type of User") to achieve this. With Option Sets "Attributes" there isn't a "User" "Attribute Type" to select. Because of that the Option Set isn't "tied" or "connected" to "User" in the database. Hope that makes sense and answers your question. Let me know 🙂
Thank you! You have the best videos on Bubble! This really helped me, but do you mind answering one more question please:
I have 3 data types: users, companies, and prizes.
I need companies to register and create prizes that that people can win. (people are end users, that is another role...)
Now, how do i create a user that is a company, and have them create their own prizes? I mean, how do i connect those 3 entities. Thanks! :)
Glad the video is helpful.
If I'm understanding your scenario, then under "User" Data Type have a Data Field called "Type of User" (or whatever) similar to the video. Then you'd have two values for the field which will be "Company" and "People" (both of type text).
Based on what you wrote, I don't see a need for a Data Type of "Companies". Data Types of User and Prizes make sense.
From a user experience perspective, when someone (be it a Company or People) sets up an account, the first thing you may want to have the select is "Are you a Company or People" (or however you want to say it). Then have them select a "Company" button or a "People" button. Each button would have a similar workflow but the "Company" workflow would set the User ==> Type of User value to "Company" and "People" workflow would set Type of User to "People". So instead of a dropdown and one account creation workflow like in the video, you'd have two buttons each with a respective workflow. A different user experience than in the video but maybe a better option for your app? Hopefully that makes sense.
When a "Company" user logs, then in the user interface you design for them, they can go and create Prizes (and whatever else you enable them to do).
Let me know if I'm understanding your use-case and if you have any more questions. Best wishes!
Bro how where did you add the student and teacher datas? Under user type? Or did u create 2 types with name student and teacher and then u add the details under corresponding data type?
At the 50-second mark in the video I show a dropdown element with the two user types - "Teacher" and "Student".
Then at the 2:40-mark I get into the data structure. Under "User" Data Type I added a Data Field called "Type of Person" (type text) where the dropdown value goes (via workflow steps).
Hope that helps clarify. Best wishes!
Great video indeed. I am only stuck
thank you, your lessons are great. You have been teaching me too much.
I´d Like to know if there is any other way to set up different type of user.
I created a sign up page for a service provider , and other to a company that will contract that providers, but I don´t know how to differentiate them on the data base.
Great Video! Thank you for your time!
Hello! Thank you so much for this video. Is there any possibility for having diifferent submission forms (with different questions) for each user?
Hi Maryam - yes you can but you'll need to create different values in a data field so your Bubble app can use it as a conditional.
For instance in this video, User has a data field called "Type of User" with value of "Student" or "Teacher". These values are used to determine what actions (steps) in the workflow are done.
So in your app you can have a data type like "Type of User" with different values.
Based on those values you can have either an Event or Steps in a Workflow that execute based on the value of "Type of User"
In terms of the example in the video, you could set up an Event that when page loads and the User has "Type of User" value of "Student" a Group becomes visible with a form for them to fill out.
If you have different types of users (or Students in this example) like Math Students or Biology Students, you can use those values to start Workflows that will show unique Groups with specific forms for those respective students.
Hope that makes sense and helps.
Hi Nikola, thank you for your videos. I have watched and followed this video a couple of times already but I couldn’t get the groups to show according to the Type of User. I am almost 100% certain everything is set up the same as yours. I loaded the Debugger in steps and under both the steps (Set state Type of User of index) where the Custom state is showing (Only when) in red. The Type of User (Current User’s Type of User is”x”) in blue. Any advice on how I can fix this problem? Thank you
Hi Kim - thanks for reaching out and sorry to hear you're having issues setting this up in your app.
One thing to check for is spelling in your custom state values. For instance, "teacher" and "Teacher" are two different values. Make sure there are no extra spaces either.
Another thing to verify is that your custom state was created at the page level (in the video I created the custom states at the Index page level). You can create custom states on any element so you'll want to make sure you don't have the custom state on one of the groups.
Hope this helps - let me know if you're all set.
Best wishes!
An application in a bubble in which login users' activity can be tracked like how much time they spend in Facebook or any other app and website. Is it possible to do so in a bubble ?
Not sure off hand about tracking usage of other apps/website within Bubble. I did see this thread in Bubble forum which may give you some ideas: forum.bubble.io/t/calculate-and-show-user-app-usage/89689
If you do find a solution please post it. Thanks and best wishes
👍😎
Great video indeed. I am only stuck by 3.50 in the video. By data to send: you fill in, "current user", which is turning blue. If I select: "current user" it stays red all the time. I have tried everything but no succes. What am I doing wrong?
Glad you liked the video.
If you go to 6.58 in the video, you'll see the "Type of content" for "student" page is "User". I suspect the issue you're having is the destination page (ie "student" in my example) doesn't have the correct "Type of Content".
Your question brings up an important point regarding sending data to a page. On the "index" page in my example, the Workflow has a "Go to page student" step.
In that Step I put "Current User" in the "Data to send" field. Since the user is logged in, they are the "Current User". So technically I didn't need to send the data to "student". I could have left "Data to send" field blank (Index page) and "Type of content" blank (Student page). It's just a habit for me to setup a data type for a page.
But for the demo, I wanted to explicitly send the User's data to the "student" page. And to do that, I needed to put "Current User" in the "Data to send" field (Index page) as well as make the Student page "Type of content" set to "User".
If you have different Data Types in your app, you'll probably find yourself sending a Data Type from one page to another. This demo shows you how to do that (using User). For instance, if you have a Real Estate app, you may have a Data Type called "Property". And you may have a "Listings" page. When a user clicks on an image of a house on Listings page (for example), the app may take them to a "Details" page in which case you'd send "Property" data to "Details" page and "Details" page has "Type of content" of "Property".
Hope this makes sense and helps you fix your issue. Let me know if not.
Hi,Amsterdam testing,
Do you live in Amsterdam?
I am busy with this too.
I have a few questions.
Do you know this program? I am making something and I am stuck.
Would you maybe want to or be able to help through skype or so?
Do you speak Dutch?
Hope to hear from you!
Hey Nikolai,
Great Video, man. I have a question, even thought i know this way is more easy. But why didn't you used "option Set'' for both types of users and surely we can make it stored as text also in database?
Thanks Ali
If I'm understanding your question, the reason Option sets weren't used in this design is because the Teacher and Student pages need to pull specific Users (Teacher or Student) from the database.
As such you need to have a Data Field in User ("Type of User") to achieve this.
With Option Sets "Attributes" there isn't a "User" "Attribute Type" to select. Because of that the Option Set isn't "tied" or "connected" to "User" in the database.
Hope that makes sense and answers your question. Let me know 🙂