[SOLVED] Problem with member data

Hi there,

I created a website where login member can upload content to my site. When the user is creating the content I want to show up his data like nick, email, and foto like in the picture below. If I’m as admin creating a content, it’s showing me correctly my profile, but when another member is creating a content it shows him still my data, not his.
Maybe its becouse I’m call up this data whith member dataset and I shuld use some code instead?

Thanks for any tips,
Jakub

Hi Jakub,

Can you share a link to your site?

Hi Ofer,
I think I find the problem but I can’t solve it by myself.

1 - If I’m login as ADMIN with - jkuban@seznam.cz email, all is ok.
2 - If I’m login as another user with another email, etc. it shows me still admin data.

I think there is some problem with reading data from the database
Check out pics below:

1 -
You can see different ID for different users.

2 -
On this pic. I’m login as another user with different data but it still shows me admin data.

my site is - www.goa.cloud

Thanks,
Jakub

Hi Jakub,

It seems to me that your “Update Details” dynamic page is not configured correctly, so it is not really filtering by the user ID, and you always get the first record, which happens to be your details.

Make sure the URL for that page, as configured in the “Page Info” tab, is using the “ID” field . (use the “Add Field” link there).

Good luck!

Oh … ok, update and member section are correct now. Thank you. :slight_smile:

But I still have a problem when I want to upload content. Still shows me admin data. Any idea with that, please?

Should I pull out that data form member dataset or use some code?
I tried pulling it out and also I wrote some code but without success.

If you can help me also with that should be awesome.

Thanks,
Jakub

This is on a different page, which is not a dynamic page based on the user ID?
So if you just put a dataset there and did not filter it in any way, it will have all the items and the current item will be the first one.
You probably need to tell it that you want just the record that belongs to the current logged-in user.
In that case, check out https://www.wix.com/code/home/forum/product-updates/filter-page-data-by-logged-in-user

1 Like

Thats what I need, thank you!