Social network

Hi, we design and create since 2018 a social network on Wix. Everything is going great and it looks good too. We prefer to work with datasets instead of stuff like the community package with the forum. We can get everything. You can upload a picture and then it will appear on the feed page in a repeater. But we don’t get it that there is the profile image of the publisher. So it’s there but only the example and not this form the publisher. With which dataset do we have to connect that? The release of the beta is coming up shortly before, we need urgent help. Thanks for reading :slight_smile:

If it is a profile pic that the user wants to add to their page, then simply have them save a picture into a image field in your dataset.

No its the simple profile pic that should be next to the content which the user did publish. This pic should show who’s the content creator.

@futureexpect26
Yes so where are you saving this profile pic of the user too, simply use that.

@givemeawhisky
So let us make an example. We gonna call this dataset “userstuffdata”. If the user add a profile pic to his page it will be saved in the “userstuffdata” dataset. Now lets gonna create the second dataset, called “userUploadsData”. If this user uploads something, the inputs are connected with this dataset “userUploadsData” and the output (which is a repeater) too. But the saved profile pic which should be next to this stuff, which the user’s uploading, is in the other dataset. This all is correct, right? Or not? How can I bring this profile photo, which is saved in the dataset “userstuffdata” to this content, which he’s uploading with the “userUploadsData”?
Thank you very much for your time.

@futureexpect26
https://support.wix.com/en/article/about-reference-fields-in-database-collections
https://support.wix.com/en/article/displaying-content-from-multiple-database-collections-using-reference-fields-4034931
https://support.wix.com/en/article/working-with-multiple-item-reference-fields
https://support.wix.com/en/article/displaying-content-from-multiple-database-collections-using-reference-fields

Or if the user is logged in, simply use Wix Data API and the getCurrentItem function.
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#getCurrentItem

@givemeawhisky
Thank you very much! This should help. Thanks for your time. Keep it up!

Old post reappearing, closed