Original Message | Upgrade Author ob1 on 10-17-2000 at 11:36 (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
|
|
| Messages In This Discussion |
1. RE: Upgrade Author Bill Weiner on 10-17-2000 at 13:34 (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!
|
|
3. Last bug fix:email notification Author neil on 11-19-2001 at 19:56 (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
|
|
|