creating job posting board with profiles cant figure out how to have a button click allow users to view other profiles and not just their own
Hi @colonjon.28 ,
You’re probably gonna need to make your question a lot more specific than that to get any response of value. There are many ways to interpret what you want to do, and even more different ways to solve it.
If you haven’t done so, I recommend going over the Bubble lessons archive and videos to understand the basic concepts, or describe more closely what you want to achieve if you still need support from the forum.
if person 1 posts a job, and person 2 makes a request to apply for the job. i want a button to be set up so person 1 can view person 2’s profile page. hope this helps clarify what im looking for
I’ll try to answer your question, but I’ll still have to make a lot of assumptions on what exactly you want to do. This is very basic Bubble stuff, so I’ll repeat my recommendation that you go through the tutorials.
I’ll assume that:
- Both persons are saved in the built-in data type USER
- That they have all their profile information saved as fields on the USER
If you want to set up a group with elements to display the profile information from Person 2 when Person 1 clicks a button, you need to send the correct info to the group by using the Display Data Workflow. Make sure that the group’s Content is User, set up a workflow when the button is clicked that triggers the Display Data workflow on the Group, and add Person 2 as the data source.
and person 2 is page user? because ive done that
i have the profile page as user, and ive set the workflow of the button to go the page “profile page” and the data to send as current page user. or am i still not understanding
Have you set privacy settings? This will block users from seeing other users information unless you set it the privacy settings correctly. Hope this helps.
and now you’ve lost me. ive never set any privacy settings
In the editor click on Data on the left side then click on the privacy tab at the top to see what you have set up, if anything at all.
ive got nothing set up there
Try the Bubble Documentation to help:
Under “Privacy”
i have no privacy rules set up
I am wondering if this might be an issue, Try setting up privacy settings and see if that helps. Others can chime in if they have other ideas.
Have you tried this recommendation yet? Seems like a good one too.
This is a helpful hint, but the OP fails to grok the concept of pages that have a type and how one displays different types of data in Bubble.
The point being missed is this:
The OP can create a page (any number of pages, in fact) that have User as their type. The source data for any of those pages can be any User object. Often, when we build User-type pages, we are building an administrative page where a User would update or view their own information.
However, depending upon how one has one’s Privacy Roles set up and page workflows set up, one could also allow one User to view (at least some of) another User’s information.
In the admin type page setup, we set the User-typed page’s source to “Current User”. However, we can also open a User type page and send it another User’s data (by passing it the unique ID of that other user, or by passing some other information that we can use to “Do a search for…” the desired user and use that as the page’s source data.)
The OP should do the following to learn about how this is done:
Make a page. Make the page object’s type User. Don’t set a source for data. We don’t need it on this particular page. Drop an RG on the page. Make its source “Do a search for… Users.”
In the cell of that RG, display some data about the cell’s User, such as Name. Also, display its Unique ID.
Create another page (this is the “profile” page). Also make that page object’s type User. Set the source data to be “Current page User”. Style the page like a profile page. Display a text with the user’s name is sufficient. (Like “Current page User’s First Name” of whatever.)
Now, go back to the page with the RG. Drop a button in the RG cell. Configure it such that when clicked, this button opens the “profile” page. In that navigate action, set data to send as “Current cell’s user”.
In run mode, when you click those buttons, Bubble will open the profile page for that User.
The OP will note that the URL for that page will have that specific User’s unique id appended as the last part of the path.
That’s how that works.
starting to realize somewhere i fucked up. what ive been attempting was the ability to post jobs, apply for jobs and accept jobs. with the users having their own profiles. ive got separate “pages” one being where you post a job and the other viewing people who accept your job. so like “job listing” and “applicants” applicants is where i wanted the button to be set so i can view their profile without viewing my own. but New issue im having is what ever job i post on “job listing” is showing up on “applicants” when its suppose to only show if someone applies for a job i post. ill have to come back to this once i figure out where i goofed
Maybe provide an editor link? We could help better that way.
how do i do that
Take a look at this link:
@dan1provides a good explanation.
here goes just a recap the main issue im having is when i click view profile it doesnt show the information of the applicant
anyone figure it out?