-
Hello,
How can I hide member from member list?
I’m using different users as administrator and editor.
For extra security purposes I never post via administrator user, don’t want too show administrator username.
But my UserPro members list always shows that admin user at the end of members list like all users.Is it possible to hide specific users from all UserPro pages?
Thank you.
Hi there! You can use the role= specification to show specific roles in member list. 🙂
http://userproplugin.com/userpro/docs/#howto_show_members_with_roles
If that does not help. Please let me know.
UPDATE!
I updated my Members page with [userpro template=memberlist role=subscriber,author,contributor,editor] shortcode.
Now whenever I try to enter /members page my website gives “503 Service Unavailable” error for about 15 minutes.UPDATE2!
When I revert back members page shortcode from
[userpro template=memberlist role=subscriber,author,contributor,editor] to [userpro template=memberlist] it works normal, I can always access members page.
However with role specific members page accessing /members page freezes the site and becomes totally unavailable for about 15-20 minutes.
I’ve contacted with my hosting provider company about these 503 errors and here is their reply:
“It appears that your account is hitting the maximum concurrent processes allowed for your site. Generally, this seems to be most commonly caused by sites that are poorly coded and recursively call resources from your site for each request. So you have a PHP script, which calls another PHP script, which calls another PHP script ad nauseum until all the resources have been loaded. This is usually done using something like file_get_contents() which actually opens another separate connection from the web server to itself to call the script.”Any suggestions?
Thank you.
Ok that won’t work on shared hosting probably. I will add this option to the plugin anyway.
Any other suggested options to hide members from members directory?
I want to hide only one user – administrator. If you can suggest some code editing for it, that will be enough.I’ve already responded to this request and made a new update to support this option. 🙂
http://userproplugin.com/userpro/forums/topic/hide-admin-users/
These threads are related. You can now use exclude=x,x,x option to hide users from member list.
You must be logged in to reply to this topic.