Hi,
I really like this module!
But it doesn't search the user names, only the profile content, and it hides the regular user search page! (by user name I mean the username in the account settings section). How do I do if there is a user that matches my keywords...it would not be displayed in the result list. for instance.... if I want to find the user named franckmartin, I can't. Is it possible to include this feature in this module ?
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | profileplus_username.patch | 1.39 KB | davemybes |
Comments
Comment #1
stephthegeek commentedAgreed, I'd love this!
Comment #2
gte451f commented+1
Comment #3
davemybes commentedIts been quite a while for this question, but to enable user searching (which is on by default in Drupal), you must comment out the entire profileplus_menu function. This function removes the user search tab, which IS useful if you know the user's username, so by disabling it, you get back the user tab in search, and still keep the new profile tab.
Comment #4
scor commentedThe idea I had in mind was to include the username in the research, and that way this module would extend the capabilities of the built-in user search engine. When I'm searching something which could be a username and in the user profile, I don't want to use 2 different search engines!
Comment #5
davemybes commentedI see. Good point. Well, in theory its just a matter of adding the username field to the search list. I'll see what I can do in that respect. I'm also trying to get multi-word searching to work, but seeing as my coding skills are not that good yet, its going rather slowly :)
Comment #6
davemybes commentedAs I suspected, it was fairly simple to do this patch. So here it is.
Comment #7
davemybes commentedThis feature has been included in the 5.x patch (see http://drupal.org/node/89855). A 5.x release of the module will be coming very soon.
Comment #8
davemybes commentedFixed in the 5.x release. If you need it backported to 4.7, post back here.
Comment #9
davemybes commentedComment #10
(not verified) commented