www.uburst.com www.uburst.com

"Modifying "Search by Busines Name" to Search by State"

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

Modify uDirectory Scripts
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Modifying "Search by Busines Name" to Search by State"
Posted by Marie on Jul-18-03 at 03:06 PM (EST)
Following up on the question Denny asked. We don't need the ability to search by business but rather by state, we DO want to keep the ability to search by Keyword. All we would need to change is the "Keyword Business" to State is this correct or can you advise?

Thanks - Marie

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: Modifying "Search by Busin..., Bill Weiner, Jul-25-03, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Modifying "Search by Busines Name" to Search by State"
Posted by Bill Weiner on Jul-25-03 at 06:37 AM (EST)
In regard to changing the search "By Business" in the Business Edition of uDirectory to seach "By State", here are some instructions on how to modify the script:

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

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

STEP 3: Do a search on the text "By Business" and replace the text with "By State".

NOTE: There will be TWO instances of "By Business" to change.

STEP 4: Do a search on the following line:

if ($keyword_search == 1)

About 12 lines down from there you will see the following line:

if ($line =~ " < business > ")

STEP 5: Change the line:

if ($line =~ " < business > ")

to

if ($line =~ " < state > ")

STEP 6: 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.