Hi I’ve tried to enter some short code to display filtered featured members. However, I can’t get it to display the type I want.
I have members marked as featured in the particular type I wish to filter. All spelling matches and caps all same, basically as is listed in users list.
Any ideas where I could be going wrong? Cheers
Here’s what I have…
[bp-featured-members member_type='Fan']Displays error message,’Sorry, no members were found.’
[bp-featured-members]Displays all featured members
Thanks for your reply, I’ve had a little play.
I’ve changed the member type to all the others in my list then tried them one at a time. All of which worked. So, I switch users and member types, and member_type=’Fan’ worked when assigned to a different user. I switched back to the intial user and member_type=’Fan’ didn’t work again. I changed this initial user to a different member type and again didn’t work.
So there is something odd with that particular user. I’ve compared them with others; roles, permissions etc and nothing sticks out as being out of the ordniary.
I have noticed, where I had once installed Ultimate Member that there are still some traces left, additional pages, and tables left in db. Even though it has been uninstalled and deleted – maybe UM has knocked something out of wack?
I am using a testing site however, so I can always delete the user.
Love the plugin and themes btw!
Still no idea, why this particular user won’t show when using the short code as previously dicussed but I’m pretty sure it’s a databse thing, something along the line has duplicated or being erased. As it’s a testing site I’m not too fussed but I’m the sort of person who doesn’t like broken things broke – it will probably come to me when I’m not looking for a reason.
OK, so I had another look through my db and STILL found traces of ultimate member data. After deleting one by one I tested the [bp-featured-members member_type=’fan’] with the troublesome user and it worked. I changed the user roles and re-tested and it worked.
Thanks for your patience, I think we can say case closed on this one.
The topic ‘ [Resolved] featured members short code not filtering’ is closed to new replies.