Hi marcool,
So, first let me ask a few questions here to make sure I understand this issue:
– Who posted the ad? A user? The admin?
– Who received the email, specifically? The user? The admin? Someone else not listed?
– What version of BD are you running?
– Was registration turned on or off here (for BD)?
– Who posted the ad? A user? The admin?
A user.
– Who received the email, specifically? The user? The admin? Someone else not listed?
The person who’s email address is listed on the listing. Not the owner of the listing.
– What version of BD are you running?
latest
– Was registration turned on or off here (for BD)?
Turned off. So you can register as a guest with no wordpress account. But you can also register and submit a listing.
OK, so that’s actually intentional behavior. If the listing is posted without a registered owner, we need to be able to send the email to someone. The listing is generally a reasonable place to start with that–in fact, someone recently complained because the last version didn’t do that at all. 🙁
So who SHOULD have received the email? The listing owner being a guest has no way of getting the email at that point. If you wanted that kind of behavior, the best way to get it is requiring registration so the owner of the listing can get it. We’re going to add a feature where you can select one or the other for your site in the next release (owner of listings vs. email on listing) to allow for some choice in the matter, but the contact has to go somewhere…I’m not sure who in your case should have gotten it.
As far as I understand:
– If registration is off => email goes to the listing email
– If registration is on => email goes to the wp user
In my case registration is off but it doesn’t mean you CAN’T register. It just means it’s not mandatory. So if you register a new WP user and you submit a new listing AND registration is off, the WP user should receive the message. It’s just common sense. Otherwise, why would you go through the trouble of creating yourself a wp user?
Having the choice would be nice.
I see what you’re saying. We’ll see if we can conditionally include the logic to see if someone is logged in, even if the registration is off. That may be a challenge, I’ll just state up front.
There’s a fair amount of logic inside the plugin to handle things one way or another depending on the registration state (on/off), so this may complicate things in a way that is too rough to get right, but we’ll look into it.