Skip Navigation

[Resolved] Creating a View for Users

This support ticket is created 4 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 4 years, 2 months ago.

Assisted by: Waqar.

Author
Posts
#2049781
Screen Shot 2021-05-09 at 6.51.12 PM.png
Screen Shot 2021-05-09 at 6.51.06 PM.png
Screen Shot 2021-05-09 at 6.50.56 PM.png
Screen Shot 2021-05-09 at 6.50.48 PM.png
Screen Shot 2021-05-09 at 6.50.33 PM.png

Tell us what you are trying to do?
I have created a View (not Block View) because I want to list of Users of a certain Role & Filtered conditions. I've created the view and using Classic layout I've added the View shortcode. However, it is not outputting anything - the "Not Items Found" message.

I have tried setting it to "Any Role" at this point but nothing. And I have no filters set. I'm just trying to display all users at this point -- and still nothing.

One thing that is true is that my users have multiple Roles. We are using MemberMouse for memberships and it sets both a WordPress user role of 'Subscriber' and a Membership Role of 'Access Level A'.

Also, we are using WPBakery for page layout.

Please advise.

#2050251

Hi,

Thank you for contacting us and I'd be happy to assist.

From the screenshots, I've noticed that the view is set to order the results with respect to the custom user field "Last Name".

With this setting, you'll need to make sure that for all users, this "Last Name" field is filled with some value. Any user who has no "Last Name" value, will be ignored by the view.

I hope this helps and please let me know how it goes.

regards,
Waqar

#2055391

Can you clarify this statement --> "you'll need to make sure that for all users, this "Last Name" field is filled with some value. Any user who has no "Last Name" value, will be ignored by the view."

Does this mean if I have users without a Last Name NO user results will show OR only those without a Last Name would be missing?

#2059245

Thanks for writing back and sorry about the delay in getting back.

> Does this mean if I have users without a Last Name NO user results will show OR only those without a Last Name would be missing?

- Yes, I meant that only the users without the Last Name would be missing.