如何在og邀请新会员中提取网站会员的所有电子邮件?
我已经在我的 drupal 站点中安装了 og。在群组详细信息块中有一个邀请新成员的链接。单击此链接后,会出现一个表单,我必须在其中手动输入电子邮件地址。
基本上,我的想法是我想在 og_invite_form 中添加一个字段并使用用户名搜索用户成员。 然后该用户的电子邮件地址应显示在电子邮件地址字段中。 如果有人有什么想法请告诉我。
提前致谢...
I have og installed in my drupal site. In the group detail block there is a link of invite new members. On clicking this link a form appears Where I have to enter email addresses manually.
Basically the idea is that I want to add a field in the og_invite_form and search for the users members using their names.
And then that user's email address should display in the email address field.
If someone have some idea then please tell me.
Thanks in Advance...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我错了,实际上是 OG Username Helper 模块将自动完成字段添加到邀请页面。
而且,如果您安装 RealName 模块,它可以让您输入用户的名字或姓氏,然后它会放置他们的用户名位于下面的文本区域中。确保为所需角色授予适当的权限。
I was mistaken, it is actually the OG Username Helper module that adds the autocomplete field to the invite page.
And still if you install the RealName module it lets you type the firstname or lastname of the user and it will place their username in the textarea below. Make sure you give the appropriate permissions to the desired roles.