mediaguru,
are the fields starting with cb_? Within the script their is a search criteriy which is looking for cb_ within the fields. If they do not start with cb_ then nothing will be shown.
I have decided to change this source at my next release, but I am currently hardly at home and do not have the means to work on my components nor make updates.
Another thing is that if you are using the Hack, check the script which you have had to add to the cb source. Check for this in the comprofiler.html.php hack file
[code:1]$query_search = "SELECT * FROM `jos_comprofiler_fields` WHERE name LIKE '%cb_%' AND search = 1 AND published = 1";[/code:1]
Change the jos_comprofiler_fields to #__comprofiler_fields
That might also be a reason.
Robert
Please Log in to join the conversation.
Please Log in to join the conversation.
Hi achintya,
thanks for using my script.
Currently the sql statement is made up of all fields which have a value which one has keyed in the form. The search is an AND and not an OR. The only OR is within the name, lastname and firstname. However it is searching for any of the words with LIKE%%. So that might be the problem you have. The LIKE%% will be an option to tutn on and off at the next release.
I am still working, as said with no spare time, to further expand the search criteria with
Search for all words Search any word search for all words if more then one word is keyed into a field
Concerning the Update feature: I might through this feature out and link it to the CB enabled fields. STill have to test as, the script then needs to find out if one is logged in or not. However I might also keep that option so that the Admin can choose what he/she wants. WIll look into this matter. There is a subroutine within the Update that only new fields should be added. May be there is a fault? WIll check it out.
Robert
Please Log in to join the conversation.
Please Log in to join the conversation.
installed hack advanced search creates search field in database selected certain options to be searchable
advance tab pulls custom fields
i click search to return results and i get redirected to my home page
maybe i slipped up some where
has anyone encouter this same affect and what did you do to rectify the issue.
Please Log in to join the conversation.
Please Log in to join the conversation.