Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4591974
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:28:18+00:00 2026-05-21T22:28:18+00:00

I run a drupal 6.0. It has a number of different user roles and

  • 0

I run a drupal 6.0. It has a number of different user roles and I want to 2 URL links to allow users to register with a specific role. To clarify what I mean:

  • I have the user roles “Buyer” and “Seller”
  • I have used the Drupal profile module to add 2 profile fields: “Location” and “Company”
  • I have installed and configured the Profile Roles module so the field Company is only shown to Buyer and the field Location is only shown to Seller

That all works fine but I would like to add 2 buttons to my home page

  • “Buyers register here”
  • “Sellers register here”

What I would like that if a Buyer clicks on their link – I can determine from the URL:

  • This is a Buyer who registers
  • When this users account is created – it’s automatically assigned the Buyers Role so the correct profile fields are shown

Any suggestions on how to accomplish this would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T22:28:19+00:00Added an answer on May 21, 2026 at 10:28 pm

    I suggest the Auto Assign Role module which is used to let users pick their own role when registering, either with a form or via a URL argument. So if you have a role called buyer, then make your Buyer button link to /user/register/buyer and the buyer role will be assigned to users registering via that URL. What I can’t confirm is how this works with Profile Role.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run drupal 6 and want to code this functionality: after the user filled
I'm using Drupal 6 and its core comment module. I want to run a
Ive setup the following rule in Drupal: NOT condition - Logged in user has
Drupal 6.15 search has stopped working. how can I fix it? I've run the
On my server I run different versions of various CMS (: Joomla, Wordpress, Drupal)
I built a PHP application using Drupal and I want it to run under
Does Drupal parse (and/or run) hooks that are unrelated to the content being loaded
We all run into errors using Drupal-- most of which are easy to fix.
I need to run a PHP code snippet in a Drupal template and prevent
I run the following command to link the different files in my project. /opt/gcc-4.7-cilkplus/bin/gcc

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.