Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

search modual

11 years 2 months ago #232759 by matthewdavey
search modual was created by matthewdavey
Is it possible to make a CB search modual that you can select from dropdown to search for users agegroups, city/area, gender
Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #232779 by krileon
Replied by krileon on topic search modual
Yes, but you're going to have to develop it. Ideally it should just post to a CB Userlist with such fields and search criteria setup. We have no such thing. We provide CB Userlists and our CB Search Bot, which allows searching CB users through a Joomla 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.

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

11 years 2 months ago #232908 by matthewdavey
Replied by matthewdavey on topic search modual
how do i develop it?
Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #232937 by krileon
Replied by krileon on topic search modual
You'd have to learn PHP, learn CB API, learn Joomla API, and develop as a new Joomla module. That would be the best and most ideal way of doing it, but the below will also work using a Joomla "Custom HTML" module and constructing the FORM to post to your userlist for basic text field searching for example.

Code:
<form class="cb_form" name="adminForm" id="adminForm" method="get" action="index.php?option=com_comprofiler&task=usersList&listid=4&action=search"> <input type="hidden" name="option" value="com_comprofiler"> <input type="hidden" name="task" value="usersList"> <input type="hidden" name="search" value=""> <input type="hidden" name="listid" value="4"> <input type="text" name="username" id="username" value="" size="25" maxlength="150" class="inputbox"> <input type="submit" class="button" id="cbsearchlist" value="Find Users"> </form>

The above example would search the Userlist with the ID of 4 on the Username field. You should be able to adjust this as needed to search basic text fields, etc.. from a 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.

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

11 years 2 months ago #233015 by matthewdavey
Replied by matthewdavey on topic search modual
The code did this see attached
What have I done wrong?
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago - 11 years 2 months ago #233078 by krileon
Replied by krileon on topic search modual
It's escaped by your WYSIWYG editor. Use source view when adding raw HTML like that. If using CB Content Module then just add it to "Text" and it should add the HTML just fine.


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: 11 years 2 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum