Skip to Content Skip to Menu

advanced search

  • Giankomat
  • Giankomat
  • OFFLINE
  • Posts: 56
  • Thanks: 0
  • Karma: -1
  • Add-ons
9 years 10 months ago - 9 years 10 months ago #255958 by Giankomat
Replied by Giankomat on topic advanced search

krileon wrote: 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


simple as that?
I tried, I guess there is something wrong
Can I send you the admin credentials (if you want to take a look)?
Anyway you can try:

Part of the message is hidden for the guests. Please log in or register to see it.

field name: cb_team
one of the values: team3
Last edit: 9 years 10 months ago by Giankomat.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #256138 by krileon
Replied by krileon on topic advanced search
You can't add search criteria to a userlist URL if your userlist doesn't allow searching by that criteria. The field needs to be available to search normally or it won't work. Otherwise that'd be a vulnerability to allow anyone to freely alter a userlists SQL based off any field they wanted; CB will not allow this.


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
9 years 10 months ago - 9 years 10 months ago #256178 by Giankomat
Replied by Giankomat on topic advanced search
I set as Searchable the field
still nothing :dry:

Part of the message is hidden for the guests. Please log in or register to see it.

where is the list setting you talking about?
Last edit: 9 years 10 months ago by Giankomat.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #256253 by krileon
Replied by krileon on topic advanced search
Your userlist doesn't allow searching. The field of course needs to be set searchable, but it needs to be searchable on that list. If your list is searchable you'll see it directly on the userlist; you can then suppress its display using CSS if you wanted, but regardless it needs to be there or the userlist will not process it.


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