I’m looking into that … part of the problem is that there’s nothing specifically stating in the post array (that I can find) that says “This is a draft” or “This is an edit”. More than likely, I’ll add a field - I just have to figure out how to do it.
I’m new to extension writing and kind of wrote the whole thing without really having an in-depth understanding of pmachine. Which I still won’t claim to have.
So, would you also like the ability to add some custom text to the email at the bottom? I figure I can probably accomplish that as well.
Problem with url generated in the extension
This is what appears in the email
http://www.somesite.com/index.php/articletitle/
When in fact the entry lives at
http://www.somesite.com/index.php/articles/comments/articletitle/
Does it support multiple weblogs and single entry comment pages?
Hello!
New version of UpdateMail has been posted to http://www.drivingmenuts.net/updatemail.php.
This one fulfills most of the requests I have received:
You will need to deactivate your old extension and activate this one after you upload. It has a new hook that won’t be registered otherwise and then the whole flaming thing just won’t work.
This is version 1.1, btw.
Any bugs or problems, let me know.
You will need to deactivate your old extension and activate this one after you upload. It has a new hook that won’t be registered otherwise and then the whole flaming thing just won’t work.
You can use the update function, which will allow you to add new or modify existing hooks based on what version the person is migrating from and to. After replacing the extension file, the first time the extension is called, the update will automatically run.
You will need to deactivate your old extension and activate this one after you upload. It has a new hook that won’t be registered otherwise and then the whole flaming thing just won’t work.You can use the update function, which will allow you to add new or modify existing hooks based on what version the person is migrating from and to. After replacing the extension file, the first time the extension is called, the update will automatically run.
Didn’t even think about that while I was working on it. Next version, definitely - if it needs to go to a next version.
Suggestions, people, suggestions!
Just FYI -
After I edited a post today and sent out 6 emails.. :roll: I made another edit and unchecked the “Send notification to mailing list(s)?” box.
I got the following error (I removed the full paths):
Notice: Undefined index: update_mail_send in (path removed)…/extensions/ext.updatemail.php on line 173 Warning: Cannot modify header information - headers already sent by (output started at (path removed)…/extensions/ext.updatemail.php:173) in (path removed)…/core/core.functions.php on line 293
I have a question about multi-weblog support. What I’d like to have is a separate notification mailing list for each weblog. Is this what multi-weblog support means, and if so, how do I set that up? It isn’t clear to me from the documentation.
Thanks in advance for any help anyone can offer - I really appreciate it.
Frank
Thanks Mike. I saw the part about updates causing the alerts, but I glossed over the error.
Can you think of any other way to have email alerts sent to people who subscribe to a mailing list? The site I’m working on has about 230 separate weblogs, so I would need a separate mailing list for each. It will also have authors using the SAEF so I don’t have immediate control over what appears on the site (and would presumably trigger an email alert) - unless perhaps I set the default status to closed, but I’m not enthusiastic about doing that.
Frank
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.