I'll take a look at making a plugin for this...
The one feature - that I agree would be nice - but I need some suggestions on how - is individual users being able to opt in/out...
Pretty simple in a standalone gallery - but an issue in bridged gallery (no control over the user table format... or ability to add columns) - and doesn't work well in a user's cookies - because that isn't the current user when sending the email.
(and lurkalot - I know you use the SMF bridge for at least some of your galleries...)
Anyone know how this has been approached for other features, or have any suggestions?
Otherwise was looking a few config variables:
- send email to picture owner (if comment isn't by owner)
- send email to others that commented on the same picture
- send thumbnail (embedded link) with the email
- custom email text to override default
And two plugin actions called by Plugin API:
in db_input.php - 'comment_add'
in reviewcom.php - 'comment_approve'
So email will be sent when comment is added (if no approval needed) - or when comment is approved.
Any other thoughts/comments?
gmc, I think you've got the feature list about covered. Yes all my installs are bridged, but I don't personally need any control to turn it on / off if it's built as a plugin, as I could just uninstall it if need to turn the emails off. Also I'm not too bothered about giving individual members this switch either. Although if it could be done it would be great.
I think if this was built in as core though, it would need a on / off switch, as some might not want to use it.