UserPro Forums
  • Create new topic
  • Forums
    • No replies topics
    • Newest topics
    • Forum statistics
  • Account
    • Lost password
    • Register
    • Login
  • Documentation
  • Back to main site

Community Forums

User To User Support Forum/Forums/Support Questions (UserPro)/New Update Available – v1.0.87

New Update Available – v1.0.87

  • 8 years, 9 months ago Avataradmin
    Keymaster

    I will work on EMD documentation asap. Thanks

    8 years, 9 months ago Avatarkreacom
    Participant

    Thanks Ahmed, much appreciated!

    8 years, 9 months ago Avataradmin
    Keymaster

    I’ve documented the EMD shortcode now

    http://userproplugin.com/userpro/docs/#shortcode_emd

    Here you go.

    If you feel that any parameter/option is missing or want new doc asap for any specific shortcode, please let me know asap.

    8 years, 9 months ago Avatarkreacom
    Participant

    hurray!! Thanks mate!

    8 years, 9 months ago Avataradmin
    Keymaster

    You’re welcome. 🙂

    8 years, 9 months ago Avatarkreacom
    Participant

    Hi Ahmed,

    Is there a way to show the verified members at the top of the list? I mean with one line of shortcode. Because at the moment I know I can display only the verified members on top with one line of shortcode, but the problem is with the pagination…

    I need to do something like this :

    [userpro template=list list_per_page=20 list_verified=1]

    Is it possible to add the option : list_verified=2 (list on top verified members and all other members below??)

    And that could work with the EMD shortcode as well?

    Thanks,

    8 years, 9 months ago Avataradmin
    Keymaster

    That’s so tricky because WordPress does not support something like that in its query yet 🙁 unfortunately. They have to be sorted in specific order e.g. latest first (Not like featured listing first, then normal listing) I understand your view

    8 years, 9 months ago Avatarandy999
    Participant

    Why not assign a meta value to verified members then query that?

    8 years, 9 months ago Avataradmin
    Keymaster

    But he want to show all members sorted by “Verified” first

    8 years, 9 months ago Avatarandy999
    Participant

    Couldn’t you just query all members by meta_value then sort in descending order?

    8 years, 9 months ago Avataradmin
    Keymaster

    You can sort posts by likes count for example, yes. But you can’t sort them by meta_value=1 (there’s no descending order in this case)

    8 years, 9 months ago Avatarandy999
    Participant

    Even if every verified member had value=10 and non-verified had value=1? 😛

    8 years, 9 months ago Avatarkreacom
    Participant

    Ok thank you guys! I understand that there is no way to accomplish that yet with one line of shortcode…

    With two line of shortcode? : one with verified=1 and another with verified=0

    My problem is with the pagination with two line of shortcode 🙁

    If anybody ran into that problem and have a solution feel free to share.

    Cheers!

    8 years, 9 months ago Avataradmin
    Keymaster

    It can be done, I just didn’t find any way on the web or codex to do it.

    Sorry kreacom, I didn’t understand your last question?

    8 years, 9 months ago Avatarkreacom
    Participant

    Hi Ahmed,

    I just want to do this :

    Verified members on top
    [userpro template=memberlist memberlist_verified=1]

    Non Verified members after
    [userpro template=memberlist memberlist_verified=0]

    But the problem is that memberlist_verified=0 is listing the verified members and the non-verified members…

    Is there a way to accomplish that somehow?

    The problem is that each row of shortcode as it’s own pagination, can you make it work with only one pagination for two lines of shortcodes?

    Thanks,

Viewing 15 posts - 31 through 45 (of 60 total)
← 1 2 3 4 →

You must be logged in to reply to this topic.

Disclaimer

This forum is 100% free and USER to USER support only. Technical support staff doesn’t monitor this forum actively.

If you are a customer and want to get technical support from our staff please submit a technical support ticket here: UserPRO Technical Support

Recent Topics

  • Custom Badges AddOn Plugin here
  • Green Trust Cash APplication
  • How to use cash app without a bank account
  • Install Cash App on your Device [100%] by yourself | Step-by-Step Guide
  • Green Trust Cash Application

About forum

Here you can find help from UserPro plugin developers and other UserPro fellow users. Please be polite and ask your questions. NO SPAM!

Search Forums

Follow us

  • facebook
  • twitter
  • youtube
© Copyright UserPro