Page content quick question...please help

I have Data types for user and Service provider. They each have separate login/sign up pages for their respective types. They each have profiles as well which are different. When I am adding functionality to the Service providers page should I set the content type to user or service provider? I am getting tripped up over this.

Thanks in advance.

Generally you setup a page to have a type pf content when it is expecting it.

If from another page a current user clicked on a data type … say in a repeating group … and you need to show the contents of that data type in another page … then you need to set up a page with content of that data type so that it can receive that content when it is “transmitted” by means of the click on that rg row from the origin page.

Think of all of your objects (data types) in your database this way. Only exception is the user data type when he/she are the current user in the app’s session. You do not need to send him/her anywhere because you can access the current user anywhere in Bubble’s front end (thus … not in backend flows).

Hope this makes senses

It doesn’t :cold_sweat:. Okay on the service providers profile page should the content be service provider even though service provider is a type of user?

The profiles are very similar, however the service providers have a few more features and elements than a regular user.

Im sorry if I sound stupid. Im really really really new to this.

Let me guess how you are structuring your data. Please confirm or comment:

No, this is not how I have it set up for some reason I cannot post pictures here anymore. I have User and Service providers under the first Tab labelled Data Types.

I also have Service providers under the user data type as well.

Noted.

Perhaps things could become much more clear in your thought process with a database structure like this:

This way you can define the following pages:

The key takeaways from the above structure are the following:

  1. You can use the default data type USER that comes with every Bubble app to manage your users. No matter how they are classified/categorized in your app.
  2. You can use your SERVICE PROVIDERS as you need them and always have a user associated to them.
  3. You can use your USERS as you need them and always have a “true” user associated to them.

Hope this helps :+1:t2:

yes !! thank you! :slightly_smiling_face:

Sorry to bother you, but just wondering if you could help me out with this as well:

I am in the process of setting up monthly subscriptions using stripe and I’m currently using a tutorial from NoCodeLife he has a lot of details but he has left some very important details out. I’ve figured out on my own that he used a repeating group to display his plans and he goes on to say that he setup and detailed each plan in the database. Can someone tell me how I can do that? Where would I put the details? he has a data type called Plan and the fields are stripeId, videolimit, Name, features, monthly price. Would I be using option sets? I’ve created the same thing in my database I just don’t know where to put the details. Im really confused about that part.

If its possible can you please SHOW me how this would look so I know where to go?

Hello,

I am not sure if precise details on your need are covered in this video. I remember I watched once a good one on this subject. Cannot remember exactly. Well … here it goes anyways:

As another option this is a great service to manage payments in general:

THANK YOU sooo much. Is it okay to contact you if I have other questions? You have been extremely helpful to me.

Steph

1 Like