Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

User list filter. Show users with matching data.

  • mattyj714
  • mattyj714
  • OFFLINE
  • Posts: 12
  • Thanks: 1
  • Karma: 0
11 years 10 months ago - 11 years 10 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
Code:
`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.
Last edit: 11 years 10 months ago by mattyj714.

Please Log in or Create an account to join the conversation.

  • mattyj714
  • mattyj714
  • OFFLINE
  • Posts: 12
  • Thanks: 1
  • Karma: 0
11 years 10 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
Code:
`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 or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
11 years 10 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 or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 10 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum