www.uburst.com www.uburst.com

"searching for name with apostrophe not searchable"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

uDirectory Configuration Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"searching for name with apostrophe not searchable"
Posted by Phil Rothschild on Jan-26-03 at 00:42 AM (EST)
Bill or Edmund. I've enjoyed the simplicity and great value uDirectory has provided www.womensministry.net . I just found out that a last name with an apostrophe does not show up on when doing a search. At www.womensministry.net/directory - if you do a search for O'Connor (apostrophe), a result does not show up, even though O'Connor is in the Directory. Any suggestions???

Thank you Philip Rothschild, publisher@womensministry.net

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: searching for name with apostro..., Bill Weiner, Jan-28-03, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: searching for name with apostrophe not searchable"
Posted by Bill Weiner on Jan-28-03 at 06:15 AM (EST)
I believe that is related to an extra security measure which removes all special characters, but single quotes shouldn't be a problem, so try this:

STEP 1: Make a backup of your "udirectory.pl" script... just in case.

STEP 2: Open your udirectory.pl script with any text editor such as WordPad.

STEP 3: Do a search on the following line:

$search_words =~ tr/\'/ /; # remove any single quotes

STEP 4: Comment that line out by putting a pound sign (#) in front of it, like this:

#$search_words =~ tr/\'/ /; # remove any single quotes

STEP 5: Save the script... as TEXT if your editor asks... and try it out!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.