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.

CommentFileSizeAuthor
#6 profileplus_username.patch1.39 KBdavemybes

Comments

stephthegeek’s picture

Agreed, I'd love this!

gte451f’s picture

+1

davemybes’s picture

Its 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.

scor’s picture

The 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!

davemybes’s picture

I 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 :)

davemybes’s picture

Status: Active » Needs review
StatusFileSize
new1.39 KB

As I suspected, it was fairly simple to do this patch. So here it is.

davemybes’s picture

Assigned: Unassigned » davemybes

This 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.

davemybes’s picture

Fixed in the 5.x release. If you need it backported to 4.7, post back here.

davemybes’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)