Upgraded to 5.0

hiweed - October 18, 2006 - 06:26
Project:Profile Plus
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:incrn8
Status:closed
Description

Hi there, I've converted the ProfilePlus module to 5.0.
Please check the attached package.
Thanks.

AttachmentSize
profileplus-2006-10-18.tar.gz1.22 KB

#1

Tobias Maier - October 18, 2006 - 07:59

please provide a real patch: http://drupal.org/patch

#2

hiweed - October 19, 2006 - 02:13

OK, the new attached file now includes the .patch file.

AttachmentSize
profileplus.tar.gz 1.51 KB

#3

scor - March 28, 2007 - 13:03

I get 2 empty tabs in the search page:
(empty) | Content | (empty) | User profile search

the empty tabs are links to the normal user search page. If I comment the profileplus_menu() function supposed to hide the user tabs, and I clear the caches, I get the 3 tabs Content | Users | User profile search

I assume there is something wrong in profileplus_menu().

#4

Hara Kim - April 1, 2007 - 21:56

imi having the same problem as the guy above me also when i click on the profile search it doesnt even show anything..

#5

incrn8 - June 22, 2007 - 14:50
Category:task» feature request
Status:reviewed & tested by the community» needs review

After a bit of work, and some help to solve a few bugs, I have created an updated 5.x version of ProfilePlus. It handles multiple keyword searching, removes the Users tab (via code in template.php - unless someone can tell me a better way to do this), and can search both regular and custom user profile fields.

I am attaching the complete module, including .install, .info and README files rather than a patch. If someone wants a patch instead, let me know, but due to the many changes and inclusion of extra files, I thought this method would be better.

AttachmentSize
profileplus.tar_.gz 2.17 KB

#6

incrn8 - June 24, 2007 - 00:48
Assigned to:hiweed» incrn8

Had to fix a small bug when no search results were found. Tested on my system and everything should work well now. The install file also activated the Profile module if its not already on.

AttachmentSize
profileplus-2006-06-23.tar_.gz 2.49 KB

#7

Christefano - July 2, 2007 - 05:49
Status:needs review» needs work

What is "/view" doing in the url variable on line 95?

$find[] = array('title' => $user->name, 'link' => url("user/$user->uid/view"), 'snippet' => search_excerpt($keys, $view));

This prevents path aliases to user profiles (via Pathauto, for example) from appearing properly in the results of a Profile Plus search.

Thank you for your work on this, but please attach a proper patch. The last gzipped attachment didn't have a patch in it.

#8

incrn8 - July 2, 2007 - 22:04

I have finally figured out to do a multi-file patch, hence the lack of one in the last post. Anyway, here it is - patches the HEAD version with no problems for me (amazingly *grin*). For those who don't know what to do with it, use the following code in the folder where the HEAD version of the profileplus.module file is:

patch < profileplus5_2007-07-02.patch

Thanks for the tip about the "/view" code. Not sure why I put that in, but everything works (including aliases) fine without it now.

Thanks for a great module. Hopefully this patch will help in further development.

AttachmentSize
profileplus5_2007-07-02.patch 9.45 KB

#9

Christefano - July 3, 2007 - 18:24
Status:needs work» needs review

Thanks, incrn8! I'm marking this "needs review" for others who can look at your code now that you've made a patch. I haven't looked at it yet, but with your update in #6 being made into a patch (and including my small change in #7), I think this is almost RTBC.

#10

incrn8 - July 4, 2007 - 02:15

Great! As soon as we get some feedback from yourself and others, I'll see what I can do about releasing a 5.x dev version. Just want to say thanks to hiweed for getting the ball rolling on this.

#11

peterd12 - July 5, 2007 - 12:47

Hi, just wanted to notify you that I've been using this much-needed patch locally and it works great! I'll keep you posted if any problems crop up. I'd like to thank you incrn8 for putting this together; as far as I'm concerned this functionality should belong in the Drupal core :)

#12

incrn8 - July 6, 2007 - 01:43

If all goes well, a 5.x release will be out soon. Thanks for the feedback.

#13

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

New 5.x release is out.

#14

peterd12 - July 9, 2007 - 17:43

Great stuff incrn8, your work is much appreciated.

#15

incrn8 - July 10, 2007 - 10:38

You're welcome.

#16

Anonymous - July 24, 2007 - 10:46
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.