Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

advanced search

  • Giankomat
  • Giankomat
  • OFFLINE
  • Posts: 56
  • Thanks: 0
  • Karma: -1
  • Add-ons
10 years 1 week ago - 10 years 1 week ago #255236 by Giankomat
advanced search was created by Giankomat
Hi, can't find anything about an user search based on field values? There is nothing about it even in cb2?
Last edit: 10 years 1 week ago by Giankomat.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
10 years 1 week ago - 10 years 6 days ago #255253 by krileon
Replied by krileon on topic advanced search
You need to create a userlist. Our documentation covers userlists. Within CB > List Management you can create a userlist that can be searched by fields. Ensure your fields are set to be searchable. There's also CB Search Bot, which is a very simplified searching of user fields using Joomlas search module.


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.
Last edit: 10 years 6 days ago by krileon.

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

  • Giankomat
  • Giankomat
  • OFFLINE
  • Posts: 56
  • Thanks: 0
  • Karma: -1
  • Add-ons
10 years 1 week ago - 10 years 1 week ago #255296 by Giankomat
Replied by Giankomat on topic advanced search
basically here is the problem: I have some checkboxes as images ( www.joomlapolis.com/forum/153-professional-member-support/227686-solved-radiobutton-as-image )

These images stays for the "team" the user joined, so they should link to a search page who returns all the team member.
So here the code
Code:
[cb:if cb_team="team1"]<img src="images/teams/team1.png"/>[/cb:if] [cb:if cb_team="team2"]<img src="images/teams/team2.png"/>[/cb:if] [cb:if cb_team="team3"]<img src="images/teams/team3.png"/>[/cb:if] [cb:if cb_team="team4"]<img src="images/teams/team4.png"/>[/cb:if]
I tried to do a search with keyword "team1" in joomla search module (I set the CB search bot alright)..no results.
Last edit: 10 years 1 week ago by Giankomat.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
10 years 6 days ago #255361 by krileon
Replied by krileon on topic advanced search
Create a userlist for each team (using filters to filter each to only a specific team). Then use <a> elements around your images to link to your teams. Example as follows.

Code:
[cb:if cb_team="team1"]<a href="index.php?option=com_comprofiler&view=userslist&listid=LIST_ID_HERE"><img src="images/teams/team1.png"/></a>[/cb:if]


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.

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

  • Giankomat
  • Giankomat
  • OFFLINE
  • Posts: 56
  • Thanks: 0
  • Karma: -1
  • Add-ons
10 years 3 days ago #255558 by Giankomat
Replied by Giankomat on topic advanced search
there are tons of teams, I would prefer avoid create a list each team, that's why I tried the search by field way..

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
9 years 11 months ago #255661 by krileon
Replied by krileon on topic advanced search
You can add search criteria to the Userlist URL by appending the fieldname and the criteria. Example as follows.

index.php?option=com_comprofiler&view=userslist&listid=LIST_ID_HERE&FIELD_NAME=CRITERIA_HERE

So for example you could have the following.

index.php?option=com_comprofiler&view=userslist&listid=4&username=admin


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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum