开发者

Drupal: automatically assigning a role to subscribed users

I've created several user roles in Drupal. How can I automatically roles a specific role to an开发者_运维知识库 user when he subscribes ?

thanks


Consider the Auto Assign Role module. Here is a quote about it (from the module's project page):

... serves three primary purposes. The first is to provide an automatic assignment of roles when a new account is created. The second is to allow the end user the option of choosing their own role or roles when they create their account. The third is to provide paths that will trigger a specific role when an account is created.

The administrator has full control over these functions and can have them working together or independently of each other. Auto Assign Role is integrated with the Content Profile module so that you can have content types serving as registration pages. You can even replace the default user/register page with a customized version of your own design.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜