www.uburst.com www.uburst.com

"Upgrade"

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
 
"Upgrade"
Posted by ob1 on Oct-17-00 at 11:36 AM (EST)
I recently downloaded the latest update that fixes the notification email problem. Can anyone tell me what changes were made to fix this problem? Or is it too extensive to list?

I have made extensive mods so it would take a lot of time to have to re-install uDir with the new version and then make my modifications. Hopefully, I can just cut & paste some changes into my existing version.

Thanks,

Keith

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: Upgrade, Bill Weiner, Oct-17-00, (1)
Thanks! :) - NFT, ob1, Oct-17-00, (2)
Last bug fix:email notification, neil, Nov-19-01, (3)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Upgrade"
Posted by Bill Weiner on Oct-17-00 at 01:34 PM (EST)
Actually that 9/21/00 update as listed at:

http://www.uburst.com/uDirectory/updates.html

...simply involved declaring a simple variable.

That is:

STEP 1: Do a search on "sub create_html_page". This will get you to the start of the create_html_page() subroutine.

STEP 2: About 3 lines into that subroutine, you will see where we start listing a bunch of "local" variables.

local ( $line,
$random_number,
$temp_file,
$html_file_name,
$category_name,
$category_image,
$background_image,
$background_color,
$text_color,
$top_html,
$middle_html,
$bottom_html,
$field,
$value,
$field_selections,
$category_selections,
$listing_html,
$option_name,
$temp_html,
$total_num_listings,
$page_num_listings,
$page_counter,
$current_html_file,
$previous_html_file,
$next_html_file,
$new_file_extension);

STEP 3: Add a new variable called "$main_field" in there (and don't forget the comma). As an example, the $main_field was added below just after the $bottom_html field:

local ( $line,
$random_number,
$temp_file,
$html_file_name,
$category_name,
$category_image,
$background_image,
$background_color,
$text_color,
$top_html,
$middle_html,
$bottom_html,
$main_field,
$field,
$value,
$field_selections,
$category_selections,
$listing_html,
$option_name,
$temp_html,
$total_num_listings,
$page_num_listings,
$page_counter,
$current_html_file,
$previous_html_file,
$next_html_file,
$new_file_extension);

And that was it!

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
 
2 . "Thanks! :) - NFT"
Posted by ob1 on Oct-17-00 at 02:45 PM (EST)
.
Remove this Message: Administrator and Moderator onlyClick 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
 
3 . "Last bug fix:email notification"
Posted by neil on Nov-19-01 at 07:56 PM (EST)
I am looking for this too!
Neil
>I recently downloaded the latest update that
>fixes the notification email problem. Can
>anyone tell me what changes were
>made to fix this problem? Or
>is it too extensive to list?
>
>I have made extensive mods so it
>would take a lot of time
>to have to re-install uDir with
>the new version and then make
>my modifications. Hopefully, I can just
>cut & paste some changes into
>my existing version.
>Thanks,
>Keith


Remove this Message: Administrator and Moderator onlyClick 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


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.