I have set up my members area using the wix memebers app and all it going great so far.
I have several pages that only the member can access so it’s easy to filter datasets on these pages as I can do it by .currentUser.
However, on the public pages (their profile and forum posts pages) I can’t seem to find a way to display/filter by the owners results from the dataset search.
I’ve tried getting the results from the address bar and removing the unwanted information ( to get the owners ID ) but the problem is that sometimes it returns the owners ID and sometimes it returns the username, e.g.:
My members area is organised via the Wix Members Area.
In each members area there is a public profile and a public forum posts section (view-able by anyone).
Members can submit to my database.
I want these posts to show in my members profile pages in the WIX Members Area.
If filtered by the currentUser.id it would show the posts of the current user, not the owner. If I filtered by isNot function, it would show everyone elses posts (not just the owner of the members page).
I need the member ID of the owner of the member area profile page to filter by.