User list filter. Show users with matching data.

11 years 2 months ago - 11 years 2 months ago #219694 by mattyj714
I have a site that is based around a online mmorpg war game. So in user data i have lots of custom fields. I would like to show a user list that when viewed it shows only other members with the same data in 2 fields. So in my case i want only people with the same alliance name and same server to be shown in this list.

The fields i want to compare are cb_alliance and cb_server. I have made a user list and set up a filter using
`cb_alliance` = 'cb_alliance' AND `cb_server` = 'cb_server'
and this always results with a blank page saying it cant find anyone.

Also is there any way to show a User List in a tab on a users profile?

I am using Joomla 2.58 with the latest CB, CB GJ and CB Subs not that these should affect my question, I know its something simple but just cant quite get it. I have searched high and low for a solution but everything else seems to be about matching data from a different table in the database.

Any help would be greatly appreciated and no major rush on a response to this, its not a business site just a hobby.

Please Log in to join the conversation.

11 years 2 months ago #219695 by mattyj714
Replied by mattyj714 on topic User list filter. Show users with matching data.
Ok I worked out question 1 by doing this
`cb_alliance` = '[cb_alliance]' AND `cb_server` = '[cb_server]'

Now is there any way to show this user list in a tab on a users profile?

Please Log in to join the conversation.

11 years 2 months ago #219747 by krileon

Also is there any way to show a User List in a tab on a users profile?

Unfortunately no. The only way to do this would be to load the userlist in as a iframe in a delimiter field, but it isn't going to work very well.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: mattyj714

Please Log in to join the conversation.

11 years 2 months ago #219748 by nant

krileon wrote:

Also is there any way to show a User List in a tab on a users profile?

Unfortunately no. The only way to do this would be to load the userlist in as a iframe in a delimiter field, but it isn't going to work very well.


Thinking out loud ..

Can't you replicate the userlist query in a CB Query field?
The following user(s) said Thank You: mattyj714

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.226 seconds

Facebook Twitter LinkedIn