Up to this point, a LOT of you have been asking for this... Posting it here and linking to it will be MUCH easier than constantly sending it via PM's. Note that only one of these issues existed in versions 2.5.5 and 2.5.6... The others were only problems before 2.5.5 (carefully noted in the instructions, below).

OK, so there are actually a few issues here... First, the email notification that is sent to your members when a new property matches their saved search(es), will have a link that may or may not work, depending on their email client (MS Outlook hates this issue - LOL).

Second, the email notification that is sent to you (site admin) when an agent enters a new listing (if you have this feature set in the site config), will have a link to view/edit the new listing... This link will have the same problem.

Third, the email notification that is sent to the site members and/or agents when they have forgotten their password, will have the same problem.

Forth, the email notification that is sent to you (site admin) when a new member signs-up (if you have this feature set in the site config), will have a link to view/edit the new member... This link will have the same problem.

The solution... Very simple! :-)

The following instructions are assuming that you have not modified your core files... If you have, you'll still make the same corrections, but the line numbers may be different. Additionally, my instructions are based on OR 2.5.2..... If you're running OR 2.5.5 or 2.5.6, the line numbers are probably the same, but if not, they'll be very close. Also, if you're running 2.5..5 or 2.5.6, you should only have to make the VERY FIRST change listed (just below)... The rest of the instructions should only apply to previous versions (Mick and Ryan made the other core corrections BEFORE the release of 2.5.5, but the first one on the list was accidentally left out).

First, in your "include" folder, find "listing_editor.inc.php"...

*** IMPORTANT *** Before doing anything, MAKE A COPY OF THE FILE!!!

On line 75, change "&" to "&", so...
HTML Code:
listingview&listingID
becomes...
HTML Code:
listingview&listingID
Now, on line 275, change "&" to "&", so...
HTML Code:
edit_listings&edit
becomes...
HTML Code:
edit_listings&edit
*** If you're using v2.5.5 or v2.5.6, you shouldn't have to go any further... But, you can check the rest of these, just to be safe... ***

Second, in your "include" folder, find "login.inc.php"...

*** IMPORTANT *** Again, MAKE A COPY OF THE FILE!!!

On line 468, change BOTH occurrences of "&" to "&", so...
HTML Code:
$forgot_link = $config['baseurl'] . '/admin/index.php?action=forgot&id=' . $forgot_rand . '&email=' . $user_email;
becomes...
HTML Code:
$forgot_link = $config['baseurl'] . '/admin/index.php?action=forgot&id=' . $forgot_rand . '&email=' . $user_email;
Finally, in your include folder, find "user_manager.inc.php"...

*** IMPORTANT *** Again, MAKE A COPY OF THE FILE!!!

On line 282, change "&" to "&", so...
HTML Code:
/admin/index.php?action=user_manager&edit=
becomes...
HTML Code:
/admin/index.php?action=user_manager&edit=
Just save and upload the corrected files. Now, the notification links should work! :-)

If memory serves, the only other issue that was related to the notification options, should have been corrected before OR 2.5.5 was released (I don't have a copy handy to double-check)... But, just in case, the following instructions will correct it (I keep all of my core-corrections on-file, to answer questions like this)...

In your "include" folder, find "listing_editor.inc.php"...

*** IMPORTANT *** Before doing anything, MAKE A COPY OF THE FILE!!!

Now, assuming that you have not modified this file from its original state in the O-R 2.5.2 release, the following needs to be corrected for the notification options to work... (Again, you may not have to do any of this... Just check for the following...)

Line 279 was accidentally commented-out. Remove the two slashes at the beginning of the line, so...

PHP Code:
//mail("$config[admin_email]", "$lang[admin_new_listing]", $message, $header); 
...becomes...

PHP Code:
mail("$config[admin_email]""$lang[admin_new_listing]"$message$header); 
(Yours may already look like that.)

Next, you will need to add three missing lines that were mistakenly deleted before the file was released. The following lines need to be inserted after line 281 (before line 282)...

PHP Code:
if ($config['email_users_notification_of_new_listings'] == "1") {
    
$display .= listing_editor::notify_new_listing($new_listing_id);

Now, lines 278-285 should look like this...

PHP Code:
        $header .= "Return-Path: $config[admin_email]\r\n";
        
mail("$config[admin_email]""$lang[admin_new_listing]"$message$header);
    } 
// end if
    // Notify users with Saved Searches that match the new listing.
    
if ($config['email_users_notification_of_new_listings'] == "1") {
        
$display .= listing_editor::notify_new_listing($new_listing_id);
    }
// end if 
(Yours may already look like that.)

After you save and upload the file, the "notification" options should work perfectly! :-)

Just let me know if you have any trouble. I'll be happy to help! ;-)

- Nick B.