Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-11-09 13:19:57

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

[request] generate notification emails when new Pending articles are saved

I have a client request for the following:

The perfect scenario for me is if a number of staff have the capability and (protected) access to update the website, and that each time the website is updated an email is automatically generated to the relevant staff members, so they are aware of the update and can check it. Is this possible?

Not asking much huh?
;)

I checked through Txp Resources but there doesn’t appear to be a plugin that could handle something like this. The only other way I can think to do it would to be to somehow generate a secret RSS feed that only included articles with status=“Pending”. Does anyone have any suggestions as how I could do this? I have no idea where to start.

thanks
Stu

Offline

#2 2006-11-09 13:22:24

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: [request] generate notification emails when new Pending articles are saved

sounds like a plugin request to me.
and that one would be quite handy in all kinds of circumstances.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#3 2006-11-09 16:53:20

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: [request] generate notification emails when new Pending articles are saved

Pieman,

I’m currently working on a plugin that tracks all changes to the database. So if a new article is saved, if a link added or deleted, etc… I’m designing it to track these changes in a new table in the database. I don’t think it would be too difficult to have it also send an email. It’s still in the early stages, but I plan on working on it this weekend. The hard part for me is going to be writing the admin interface, so if you have any background in that I could use the help.

Offline

#4 2006-11-13 16:01:42

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: [request] generate notification emails when new Pending articles are saved

Not a perfect solution, but you could use Postmaster — set up a list of all “relevant staff members”, then ask your editors to select that list each time they update articles that are pending?

Currently, this would require a manual selection, so like I said it’s not an ideal solution — but it could also be tweaked a bit to default to that list.

– Ben

Offline

#5 2006-11-14 13:09:23

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [request] generate notification emails when new Pending articles are saved

variaas, that sounds like a really useful plugin. I’ve no time to contribute at the moment – and arguably not the skills do so!.

Ben, that looks like a serious bit of kit! Maybe it would work as you suggest, but I think it will be even more useful as a replacement for the phpList I was dreading setting up.

Thanks both:)

Offline

#6 2006-11-14 13:24:48

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: [request] generate notification emails when new Pending articles are saved

As a quick update you can get a glimpse of the plugin at http://www.amitvaria.com/compile/asv_tracker.php. I do not recommend putting this in a production environment since I am still fixing a ton of bugs and adding more functionality. Currently it tracks articles, images, and files and I’m adding more everyday. Unfortunately it only writes to the DB right now, but I’ll work on the email part soon enough.

Offline

Board footer

Powered by FluxBB