Drupal 电子邮件用户
我正在使用 Drupal 6.16:当用户在我的网站上创建帐户时,我让他们选择一个类别(即儿童、青少年、成人等)。这是通过使用 content_profile 模块的选择列表框来完成的。我有一个发布公告的内容类型。在此内容类型中有一个复选框,上面写着“电子邮件组”。现在它什么也不做,但我希望它做的是向与他们在注册帐户时选择的组关联的所有用户发送电子邮件。如果这需要额外的代码,请具体说明,因为我不是一个强大的 php 程序员。
感谢您的帮助! 姆辛德尔
I'm using Drupal 6.16: When a user creates an account on my site I have them select a category (ie children, youth, adult, etc). This is done with the select list box using the content_profile module. I have a content type that posts an announcement. In this content type is a check box that says 'email group'. Right now it does nothing, but what I would like for it to do is e-mail all the users that are associated with the group they chose when signing up for their account. If this will require extra code please be specific as I am not a strong php programmer.
Thanks for the help!!
msindle
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
可能有一些模块可以完全做到这一点,但我不这么认为。
我会使用几个构建块来完成此操作:
尝试完成它,如果遇到麻烦,欢迎您通过 [email ] 与我联系;受保护]
There might be some module that do it exactly, but I don't think so.
I would have done it using few building blocks:
Try to accomplish it, and if you get into troubles, you are welcome to contact me via [email protected]
我会尝试 http://drupal.org/project/subscriptions 模块 + http://drupal.org/project/messaging 模块。您可以设置自动订阅内容类型的首选项。也许规则模块可以在创建或更新 content_profile 后自动订阅用户。或者,规则可能可以在创建或更新 content_profile 后标记用户,并且订阅模块可以自动订阅标记的用户。
I would try http://drupal.org/project/subscriptions module + http://drupal.org/project/messaging module. You can set preferences for automatic subscribing to content type. Maybe Rules module can subscribe users automatically after creating or updating content_profile. Or maybe Rules can flag users after creating or updating content_profile and Subscription module could autosubscribe flagged users.