-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch a list of members #9
Comments
I'm looking fo a way of geofencing members in regions.
|
The primary reason I have not implemented this function yet is to not go beyond the scope of the first-party Perch Members app. The Perch Members app's purpose is to handle user authentication and control user access to different types of content. For simpler use-cases, you can also use it to manage (private) user profiles. The app does not handle complex field types nor does it allow filtering on custom fields. I would suggest you link members to Runway collection items (using the Pipit Members app). This way you don't have to work around the limitations of the Perch Members app and can rely on Runway collections for managing the profiles. ExamplesDisplaying the profile for a logged-in member: perch_collection('Profiles', [
'template' => 'profiles/_detail.html',
'filter' => [
[
'filter' => 'member',
'value' => perch_member_get('id'),
],
],
]); Displaying a filtered list of members by the field perch_collection('Profiles', [
'template' => 'profiles/_list.html',
'filter' => [
[
'filter' => 'region',
'value' => 'nw_sydney',
],
],
]); I'm not saying a function like |
Thanks. Yes I can see that working. Next year have a chance to run some tests. |
I would love to see a |
Add a function to list members. e.g.
The text was updated successfully, but these errors were encountered: