How to exclude specific users from Pods User Directory
-
I am pretty new to Pods – but, it has been VERY helpful for a couple of projects already!!
My current project includes creating a “user directory” for the members of our site.
I’ve managed to get it started – by following your tutorial. (THANK you)
It works! It still needs a fair amount of work – but I’m excited to see its potential!I do have to resolve one (primary) issue though, or the whole thing is a bust:
How can I exclude a few specific users from the directory?
I am hoping that there is a way to do this – within the Pod / Pod Template / Magic Tags . . . etc? Using some form of conditional statements (?) . . . or ??We have about 10 users that need to be excluded from the directory before we can post it on our “Members Only” site. (a couple are Admins, and others have custom roles, thanks to Justin Tadlock’s Members plugin).
I THINK I may need to exclude them – via their User ID(?) (excluding an entire role won’t work for us) . . . but, I have no idea HOW to exclude any of them – regardless of which identifier we use.Can you possibly point me toward any helpful information for this?
I’ve been searching the web — and the closest thing I’m finding would require a bit more PHP than I know how to write.I’m not sure if this is possible — within Pods? – Maybe by using some kind of conditional statements(?) – or – could I create a custom field – for just those users – and somehow exclude them that way?
Or . . . ?
I just haven’t found enough “hints” – to help me do this yet.
I’m really hoping I can get it done without having to hire someone to write php for us.Thank you – for any general guidance that you might be able to offer.
- The topic ‘How to exclude specific users from Pods User Directory’ is closed to new replies.