Hi there, I’m not sure what I’m doing wrong with this and have stared at it too long, so figured I’d ask the forum as I’m sure this is an easy one that I’m overthinking!
Basically, inside my User data thing, I have a field type called “Friends List” of type User that is a List.
I added a few users (recognized via email) into one of my users’ “Friends Lists” just to populate it.
I am trying to get this Friends List to display on the front end in a repeating group and I don’t think I quite know what I’m doing here and I’m not sure I’m seeing the options I want to see which is making me think I am wrecking some logic along the way that is not making this work.
Here is the logic I cobbled together on the repeating group, which I sense is incorrect.
I also tried several variations of “Search For” User, “Friends List”, but I couldn’t seem to get far with that either.
I’m just lost on what to put as the logic in the repeating group where I want to display the Current User’s Friends’ profile pic and username, and so on. If someone can help guide me that would be super appreciated! I know I’m missing something foundational to have this be so confusing.
However, whenever I try it like that nothing shows up on the front end. I can scroll inside the RG and the scroll bar shows up but there is no content. Not sure what’s up with that!
Sounds like something isn’t set quite right or something. I could take a look at it if you share the link to the editor, you can DM me it if you prefer. You can set the editor to public in Setting>>General
Big ups to @lester for helping me through this issue.
Turns out I forgot to click in Privacy Setting to allow User to view “Friends List”… since Friends List was a new field type.
I knew it was something silly!
So children, remember when adding new field types to always check the privacy setting so you don’t waste hours on end with the right solution but wrong privacy, and think it’s your logic.
I was just wondering how you managed to only show the users friends? My list includes every single user in the database and I’m not sure how to stop it.
Your User thing should have a Field of Type called something like “Friends List” that is a List of Users type (there is a checkbox you check that says “This is a List” when setting up) … Do you have that part set up?
On the front end you would need to have a repeating group, that is displaying “Type of Content: User”, and then just specify “Current Users Friends List Filtered by”… and sort by whichever makes most sense. In my case I have it by username and alphabetically.