Is there a way I can have comments posted directly to email instead of on the page.
WHY? I did a mailinglist to forum integration [using mailhandler and listmanager] but my client now says his mailing list has "moderation and translation" so he wants the forum posts/comments to first go through the mailing list before being posted to the site.
Currently its the other way around, mailhandler posts the post/comment to the drupal site and then to the mailing list, but I dont want drupal to post to the site at all. All messages should pass through the mailing list. Drupal then at intervals retrieves these messages and posts them after moderation and translation.
--- R.A.Smith Manager/Technical Lead Exterbox - "Thinking outside of the box" http://www.exterbox.com rohan@exterbox.com 1-876-449-7506
Rohan Smith ha scritto:
Is there a way I can have comments posted directly to email instead of on the page.
WHY? I did a mailinglist to forum integration [using mailhandler and listmanager] but my client now says his mailing list has "moderation and translation" so he wants the forum posts/comments to first go through the mailing list before being posted to the site.
Currently its the other way around, mailhandler posts the post/comment to the drupal site and then to the mailing list, but I dont want drupal to post to the site at all. All messages should pass through the mailing list. Drupal then at intervals retrieves these messages and posts them after moderation and translation.
I think that you need a custom module for this. You can use comment hook to send an email to the mailing list (but you need to create it in a costum module), but the problem is how to retrieve the messages from the mailinglist. Your mailinglist manager need to store every message in a single message. You need to create a "language tags" for these messages, because your custom module need to recognize, for example, the nid of the comment, where the comment message body start and where it ends.And some other things.
If you don't know how to write a costum module for what do you want to realize, ask to a freelancer (like me).
M.
Quoting Rohan Smith rohanasmith@gmail.com:
Is there a way I can have comments posted directly to email instead of on the page.
WHY? I did a mailinglist to forum integration [using mailhandler and listmanager] but my client now says his mailing list has "moderation and translation" so he wants the forum posts/comments to first go through the mailing list before being posted to the site.
Currently its the other way around, mailhandler posts the post/comment to the drupal site and then to the mailing list, but I dont want drupal to post to the site at all. All messages should pass through the mailing list. Drupal then at intervals retrieves these messages and posts them after moderation and translation.
Sounds like custom work. I'm not sure what the intent is for the mailing list first deal. Sounds like bad karma that you need to run from but I know the customer is paying the bill. You could make content unpublished and then create a workflow to publish the content once it has been seen on the mail list. Make sure the list produces a feed of some kind so you can easily access the list archive.
-- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/
Hmmm.... the modules already know how to retrieve email from the mailing list and post them to the site. It is done the way when it is posted directly TO the mailing list. My issue is, how can I make drupal totally ignore posting to the site when a forum post is made [not unpublished], the current settings ignore unpublished nodes or comments and do not post them to the mailing list. Is there a way for me to make a node post or comment that does not have a node id or comment id. It basically operates like a post in the contact form, no asscociation with the drupal content system, it just sends an email with the proper title and from and to addresses BUT it also appears in the section where comments are to be made. That way drupal only gives it an id when it retrieves it from the mailing list.
R.A.Smith Manager/Technical Lead Exterbox - "Thinking outside of the box" http://www.exterbox.com rohan@exterbox.com 1-876-449-7506
On Fri, Apr 17, 2009 at 6:50 AM, Earnie Boyd earnie@users.sourceforge.netwrote:
Quoting Rohan Smith rohanasmith@gmail.com:
Is there a way I can have comments posted directly to email instead of on
the page.
WHY? I did a mailinglist to forum integration [using mailhandler and listmanager] but my client now says his mailing list has "moderation and translation" so he wants the forum posts/comments to first go through the mailing list before being posted to the site.
Currently its the other way around, mailhandler posts the post/comment to the drupal site and then to the mailing list, but I dont want drupal to post to the site at all. All messages should pass through the mailing list. Drupal then at intervals retrieves these messages and posts them after moderation and translation.
Sounds like custom work. I'm not sure what the intent is for the mailing list first deal. Sounds like bad karma that you need to run from but I know the customer is paying the bill. You could make content unpublished and then create a workflow to publish the content once it has been seen on the mail list. Make sure the list produces a feed of some kind so you can easily access the list archive.
-- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/
-- [ Drupal support list | http://lists.drupal.org/ ]
Quoting Rohan Smith rohanasmith@gmail.com:
Hmmm.... the modules already know how to retrieve email from the mailing list and post them to the site. It is done the way when it is posted directly TO the mailing list. My issue is, how can I make drupal totally ignore posting to the site when a forum post is made [not unpublished], the current settings ignore unpublished nodes or comments and do not post them to the mailing list. Is there a way for me to make a node post or comment that does not have a node id or comment id. It basically operates like a post in the contact form, no asscociation with the drupal content system, it just sends an email with the proper title and from and to addresses BUT it also appears in the section where comments are to be made. That way drupal only gives it an id when it retrieves it from the mailing list.
Use hook_form_alter to modify the submit handler to one of your own doing.
-- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/