Searching through the usernames

scor - May 13, 2006 - 14:27
Project:Profile Plus
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:incrn8
Status:closed
Description

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.

#1

stephthegeek - June 5, 2006 - 07:32

Agreed, I'd love this!

#2

gte451f - October 5, 2006 - 11:11

+1

#3

incrn8 - March 19, 2007 - 02:53

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.

#4

scor - March 19, 2007 - 18:46

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!

#5

incrn8 - March 20, 2007 - 11:40

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

#6

incrn8 - March 20, 2007 - 12:18
Status:active» needs review

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

AttachmentSize
profileplus_username.patch 1.39 KB

#7

incrn8 - July 6, 2007 - 01:42
Assigned to:Anonymous» incrn8

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.

#8

incrn8 - July 7, 2007 - 01:42

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

#9

incrn8 - July 7, 2007 - 01:42
Status:needs review» fixed

#10

Anonymous - July 21, 2007 - 01:47
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.