Hi,
we are using og_mailinglist in combination with an issue tracker based on comment_driven.
Overall it is more comfortable to communicate over email, and only visit the site occasionally.
As such, og_mailinglist does a great job!
However, whenever we need to close an issue, or set a priority, set a category etc, we need to visit the site. As you can imagine, a lot of issues stay open for far too long :)
I had the idea that we could allow control sequences in incoming emails, e.g.
@field_status: closed
@field_difficulty: hard
@field_assigned_to: Geronimo
@categories: +"theme", +"layout", -"support"
This would be parsed, and change the field values.
Any thoughts?
I could imagine that I do some coding myself (though don't want to promise), but it would be nice to have some hints :)
I would also not mind to have this postponed to D7.
Comments
Comment #1
kyle_mathews commentedOGM already has the Hooks you'll need to do that. See http://drupalcode.org/project/og_mailinglist.git/blob/refs/heads/6.x-1.x... and hook_og_mailinglist_new_email_comment_alter($email)
Just implement that in a little custom module and look for your special symbols via regex and then call the appropriate functions within the comment_tracker module.
Comment #2
donquixote commentedThanks, great, I will try!
With this hook you mention, I suppose I still need to node_load() and node_save(), do I?
I see there is also hook_og_mailinglist_save_node_alter(&$node), but there is no $email argument in there..
Is there anything that has both the node and the email?
Comment #3
kyle_mathews commentedNot sure actually... it's been awhile since I've looked at this. Easiest thing for you to do is to just implement the various hooks and log out what comes in using the dd() function from the devel module.