Hello
Appreciate your work. -
The current path for executing queries suggests to me that you are planning this as a sort of admin tool.
(http://example.com/?q=admin/user/user/content_profile_search)
Are there any considerations on making the search a part of the profile page itself?
It would be a real treat for users to be able to look for other users with similarities, say 'interests', returned by a content profile field search.
As an admin it would also make sense to be able to limit the filters available to a user.
thanks,
cha
Comments
Comment #1
cafuego commentedHi Cha,
Yes, currently the module is intended as an admin tool only; allowing admins to quickly find users via their profile fields. I've been asked whether I could work this module into the search API, so the standard search module could provide this functionality just on a separate tab.
Apart from maybe privacy issues (which would be the admins problem and not mine ;-) I see no reason why a normal user shouldn't be allowed to search for these fields. I wonder how you'd want it implemented, though. A special search page?
If you want users to search each others profiles, you *could* configure the search module to index content_profile nodes and return them via the normal site search; all you'd need to then do is redirect users to a profile page when they try to view a content_profile node.
That would probably scale better on a site with a lot of users (and a lot of CCK text profile fields). The down-side is you don't get real-time results, but would need to wait for a cron run to re-index modified profiles, but that doesn't strike me as a major problem.
I've implemented interests via a weighted tag based search (using a shared CCK taxonomy field) on a site and a single static query is enough to do that. That is just a block and it has no user-accessible UI otherwise.
Comment #2
jamesmcd commentedVery interested in this.
I am working on a job site and it would be extremely beneficial to have the facility to search cck fields so employers can find jobseekers specific to their requirements and jobseekers can do the same when searching jobs
I am keen to hear on progress. Would sponsorship speed up development of this option or are you not consider tying it into the main module?
Comment #3
MacaroniDuck commentedColor me interested as well. I can think of hundreds of potential uses where the users could find each other based on mutual interests/profile information. This is especially pertinent in social networking sites like ours. In our situation, we are considering using the built in Drupal Profile as is, but then utilizing Content Profile for the information the users want to be searchable by others. We're pretty new to Drupal so there might be a better way of doing that, but this sure seems like a convenient way.
Comment #4
SchwebDesign commentedHello, i'm VERY interested in this as well. Thanks for your great work on this module.