Hey,
I’m building a platform where users can create their own public profiles.
While I was using users’ username as backup field for the url, it was possible to view a user’s public profile’s content. Then, I made the users’ username their slug, so that their profile’s url would be cleaner and shorter. And now, whenever I try to access a user’s profile using the url with the slug, I get an empty profile page, where none of the users’ content is displayed. The users’ content only shows up on their own profile page when they’re logged in.
Anyone has any idea of why this might be happening?
Thank you
Below is the workflow for the input.
First it stores the input’s value as the user’s username. Then, as shown in the image, it sets the current user’s (who must be logged in) slug to equal the input’s value.
It gets successfuly stored in the users database.