How to make users view profile of other user

Hi guys!

I have created a post format wherein the user who created the post’s picture is visible. When the picture is clicked, I want the page to redirect to the profile page of that user. Same goes when the username is clicked.

When I click the icon of the user, it goes to the ‘current user’ profile page rather than that particular user’s profile page.

The image and username of the user shows perfectly in the repeating group.

Here’s the workflow setting:

I don’t think I have created a profile URL as such, don’t know how to do that.

Please help!

2 Likes

You want to send the data from that repeating group cell to the page. In the data to send, option for that workflow action, set the value to “current cell’s user” (or wherever the data on that user is in the repeating group cell, “current post’s creator”, for example).

Make sure the profile page has a data type user, and make sure the elements that you’re using to display the user’s data on the profile page are set to “current PAGE user” instead of “current user”.

3 Likes

I did that, but still it doesn’t work!

this is the setting:

But did you make sure that you’re doing this:

4 Likes

I’m pretty sure you can’t send data from page to page unless it’s via URL. Anyone feel free to correct me if I am wrong on that.

I’d guess you need to make this function operate on a single page using custom states or hide/show capabilities. Then you can use the display data function and send it to the parent group of the profile.

If you have build your profile page inside of a single group you can copy and paste the whole thing onto your selector page and make it not visible when page loads, then when you select the profile hide the selection menu and show the profile after you display the data to it.

Of course you could send the user to be displayed via unique URL, but you’d have to configure the page to get information from the URL when it loads and then apply the data to your group(s).

3 Likes

Hey, the current page user worked!

But there is another problem.

I am showing the list of posts done by that particular user.

this is the issue:

Configured like this now:

This is the issue it shows

So I used the method as directed by SerPounce in the comments thread for this issue. But I am facing the problem as described in showing the list of posts done by that user.

1 Like

In the parent group you’ll need to set to just the page user, then inside of that you’ll set the repeating group data source to parent groups page user’s posts.

Edit: I just realized you’re not using a repeating group to display the full list of posts. You’ll need to take that entire group you’re housing a post inside and stick it inside a repeating group then set the repeating group data source to posts created by page user sorted by date created.

Then in your group for post you’ll set the data source to parent groups current cell.

If you want to display just a single post, then click More and select the post number you want to display out of the list of posts.

2 Likes

I am using a repeating group only but I followed what you said and it worked!

Thank you so much @laflash8 ! :slight_smile:

Thank you! @SerPounce :slight_smile:

3 Likes

Thank you for the help! It worked!

2 Likes

Happy to help :slight_smile:

3 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.