Drupal - 有机团体邀请 - 自动化流程

发布于 2024-10-01 10:54:41 字数 239 浏览 1 评论 0原文

目前,当邀请任何用户加入 Drupal 站点上的有机组时,发送的电子邮件仅包含指向该有机组的链接。但由于用户是匿名的,除非他先注册,否则他将无法访问该组。

因此,目前发生的情况是,用户收到一封电子邮件以加入群组,单击该链接,但随后收到访问被拒绝的页面。

有没有一种方法可以自动化该过程,以便用户被定向到注册页面,并在注册后被重定向到他也被邀请的组。然后自动成为会员,因为他已经被邀请,或者然后手动加入。

谢谢 查尔斯

Currently when one invites anynomous users to join an Organic Group on a Drupal site, the email that gets send out, only contains a link to the Organic Group. But then because the user is anonymous he will not be able to access the group unless he first registers.

So what happens presently is the user gets an emaila to join a group, clicks on the link, but then gets the access denied page.

Is there a way to automate the process, so that the user gets directed to the registration page, and after registering gets redirrected to the group that he was invited too. Either to then automtically become a member, as he was already invited or to then manually join.

thanks
Charles

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

七堇年 2024-10-08 10:54:41

你可以做这样的事情,但很难做出不脆弱的东西。

您可以查看将 403 重定向到用户登录模块。它将匿名用户重定向到登录页面。您可以使用它作为构建您自己的模块的基础,我想只需要进行一些调整即可使其按照您想要的方式工作。

您也许可以使用自己的模块来更改模块,使其按您想要的方式运行,但我不知道它是如何构建的以及是否可以选择。

You can do something like that, but it will be hard to make something that wont be fragile.

You can take a look at the Redirect 403 to User Login module. It redirects anonymous users to the login page. You can either use that as a basis to build your own module, I would imagine only a few tweaks would be needed to make it work how you want.

You might be able to alter the module with your own module, to make it function like you want, but I don't know exactly how it's built and if that's an option.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文