drupal - Drupal 6 中允许不同用户类型注册吗?

标签 drupal usertype

我的网站上有两种类型的用户:

  1. 普通用户
  2. 供应商

我如何设置 Drupal,以便您可以在注册之前选择您想要成为的用户类型,然后(这是棘手的部分)为不同的用户类型提供不同的个人资料字段?

最佳答案

考虑Auto Assign Role模块。以下是关于它的引用(来自模块的项目页面):

... 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.

关于drupal - Drupal 6 中允许不同用户类型注册吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2927660/

相关文章:

php - 如何在 Drupal 7 中显示数组的所有值

Hibernate 不支持访问用于投影标准的用户类型字段?

drupal - 如何编辑在 drupal 的默认用户个人资料页面上找到的链接选项卡?

php - 使用 API 将节点添加到 Drupal

hibernate - 如何在 Hibernate 4.x 中使用 JodaTime Instant(时间戳)(通过 Jadira 用户类型)?

NHibernate:IUserType 不工作

java - 使用 Hibernate 将 json 值插入到 postgresql 表中

mysql - 如何集成 Joda-Time 和 Hibernate 4/MySQL 5?

jquery - 使用 jquery 从 drupal wysiwyg 编辑器读取内容

php - 使用 PHP 获取 Drupal 7 中的用户列表