Users page display only subscriber users

This topic contains 11 replies, has 4 voices, and was last updated by  Patrik 6 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #1500

    Derek Gallimore
    Buyer
    Post count: 25

    Is it possible to filter the [uwp_users] shortcode to only display subscriber users?

    #1501

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    let me flag your question for the developers, as there are currently no parameters for that shortcode to make it possible to filter by role.

    #1502

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Not an easy way, but the next version (planned release tomorrow) has a new option to exclude certain users, maybe this helps you?

    Stiofan

    #1507

    Derek Gallimore
    Buyer
    Post count: 25

    Hi Alex,

    Yes please.

    #1508

    Derek Gallimore
    Buyer
    Post count: 25

    Hi Stiofan,

    Yes, that would help a lot. Please update me on this thread if the plugin has been already updated.

    Thank you so much,
    Derek

    #1516

    Derek Gallimore
    Buyer
    Post count: 25

    Hi Stiofan,

    I already updated the latest version of the plugin and tried to exclude a specific user in the author archive page but it’s not working, it still appear on users page.

    #1518

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Derek,

    That is not the option but i do see that the option is missing from the backend, i will flag this for Patrik to fix.

    The setting is in the frontend when a user edits their profile, under privacy. Is this for your own user?

    Stiofan

    #1535

    Derek Gallimore
    Buyer
    Post count: 25

    Hi Stiofan,

    The privacy feature on the latest update is not what I need. May I just know where can I find the [uwp_users] shortcode? Maybe I will just modify/re-create it so I can just show all the subscribers.

    Thank you.

    #1537

    Alex Rollin
    Moderator
    Post count: 27815

    I have flagged this for the developers

    #1552

    Patrik
    Moderator
    Post count: 1971

    Hi Derek,

    You can look into PR at git issue: https://github.com/UsersWP/userswp/issues/155. Let me know if it resolves your requirements.

    You can find [uwp_users] shortcode output in template /userswp/templates/users.php file.

    Let me know if you need more information on this.

    Regards,
    Patrik

    #1553

    Derek Gallimore
    Buyer
    Post count: 25

    Hi Patrik,

    Looking at PR git issue #155 resolved my issue.
    Thank you for flagging this issue Stiofan, Alex and Patrik for the fix.

    I have one more problem with this, how can I change the posts_per_page of the users page? Right now it displays 10 and I want to make it 20.

    Best,
    Derek.

    #1555

    Patrik
    Moderator
    Post count: 1971

    Hi Derek,

    Good to know your issue is fixed.

    You can set posts_per_page of the user’s page by changing the value from UsersWP->General->Number of Items.

    Let me know if any questions.

    Regards,
    Patrik

Viewing 12 posts - 1 through 12 (of 12 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket