View Full Version : notify registered users when properties are updated??
kidkilowatt
04-10-2006, 09:23 AM
Is it possible to configure the email user notification to work when an existing listing's price drops and newly matches a user's criteria or when an existing listings is newly available?
Thanks!
pbflash
04-10-2006, 09:32 AM
There's no need to post the same question again. You posted this a few days ago. If someone can answer you, they will. Why not enter a feature request for this so it may be included in a future release.
pbflash
04-10-2006, 10:31 PM
I thought about this some more. Adding a call to the notifynewlisting function in the editlistings function would not be that hard.
The problem is that users would get notified whenever someone changes their listing for any reason. So, if an agent adds a listing that meets a saved search, the user gets notified. If the agent then finds a spelling error in the listing and submits a change, the user is notified about the same listing again. If an agent goes into edit listings, makes no changes, and hits the submit button, the user gets notified again as the listing meets the criteria in their saved search.
Potentially, users would receive multiple notifications about the same listing which would not make most people happy.
kopythat
04-11-2006, 08:55 AM
wouldnt you be able to set it up kinda like the forums....you only get one email, but by the time you get to read the new post that you are subscribed to there may be 5 new post....or set it up that listing_ID=2 only gets emailed out once.....
pbflash
04-11-2006, 09:11 AM
That would take a lot of changes to the core and db. The script would have to record what listing id's were sent to what user id's and then the notify new listing process would have to check this list before sending any emails. It si possible but not a quick easy thing to implement.
kidkilowatt
04-12-2006, 11:14 PM
Could it be setup so anytime an existing listing's 'availability' and/or 'price' have changed a script runs and searches for all registered users with matching saved listings or searches and sends them an email?
pbflash
04-12-2006, 11:26 PM
It could but would still take a lot of work. The edit listing process only updates the listing data with the data submitted. The script does not check to see if the data is different, it just replaces the existing data with the new data.
Your method would require building in a check to see if the new data is different than the submitted data. It may sound easy but it's not.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.