I think the normal user type (ie default user type) should also have the check box whether it should be shown on register page

junedkazi - October 11, 2008 - 14:09
Project:User types
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:by design
Description

@swentel

I noticed that the default user type is also seen on the user register page when that page is hijacked .
But it does not have the option to to remove it form the user/register page .
So it does appear by default .
There are 2 ways of doing it
1) Is CSS by hiding it
2) By having the checkbox whether to show on the register page .

I don't know whether you have any specific reason for it . If so pls let me know .

Thanks

Juned Kazi

#1

swentel - October 11, 2008 - 14:58
Status:active» by design

I always found the default user type quite normal as soon as I took over this project as it seems obvious that there should be always one account / user type available, otherwhise you simply can't register on the site. So in a way, you always need to think how and what (extra profile fields required or not) will be available for the default user type in Drupal. It's easy to alter the description and text of this default user type to anything you want.

Marking as by design for now. I think I need more arguments before I start working on that because it involves some rework in the menu logic which so far isn't needed imho.

#2

junedkazi - October 12, 2008 - 12:10

@swentel

It is just that I dont want it to be seen on the register page .
For me if it is a normal user it will be created by admin .
On the register page i want only those types which can be created by user .
I just want it to have a checkbox so that it can be removed form the register page .
If it can't be done i can understand . I will remove it or hide it using css .

Thanks

juned Kazi

#3

swentel - October 12, 2008 - 18:32

Well, can't you simple create a 'normal user' with the user types module, hide it on the registration page, and rename the default normal user and associate profile fields with it ? I understand the use case, but I think it's easy to work around it without even using css.

#4

fresh-off - August 14, 2009 - 23:55

[edit]
errr...i feel kinda silly now as this was an easy fix. i changed the title 'Name for untyped users: *' from 'Normal User' to 'Volunteer'... maybe its time for my weekend to start.. ;)
[/edit]
---------------------------------------

The default "Normal User" does not make sense for the Volunteer site that I'm working on. Having the 'Normal User' choice visible is confusing to people trying to register. My site only needs three categories of users:

Volunteers
Volunteer organizations
Site Admins

Actually, the site only really needs two registration categories for users since Site Admins will always be Volunteers as well.

Well, can't you simple create a 'normal user' with the user types module, hide it on the registration page, and rename the default normal user and associate profile fields with it ?

So, in my case are you suggesting I make Volunteers the 'normal user', and rename 'normal user' to 'Volunteer'? That idea would make sense for my site, but how is that done? Using CSS to hide it seems doable, but I'd rather not take that route.

Thanks for any suggestions, and thanks for creating the module!

brendan,
fresh-off.com
seattle.usa

#5

mittalpatel - August 26, 2009 - 07:13

This module is simply superb. I liked it very much.
What really annoyed me was untyped user account option on registration page. I didn't want to show it on role selection page. I could rename it to some different name but still I was getting http://www.sitename.com/user/register/untyped which I didn't like. So I didn't choose that option.

To hide the untyped user type I went to user_types.module page and commented the line which was printing the untyped option. It's on line number 352 [ $items[] = l(variable_get('user_types_untyped_name', t('Normal user')), 'user/register/untyped') .'
'. variable_get('user_types_untyped_description', ''); ]

It's working very well for me. :)

- Mittal Patel
http://www.MittalPatel.co.in

#6

lukebrenner - August 25, 2009 - 15:35

Hi, I commented it as well but it is still displaying it on the registration page.
I even deleted the line completely but "Normal user" still displays.
I flushed the cache, did a cron, disabled re-enabled the module, it is still there ...

 
 

Drupal is a registered trademark of Dries Buytaert.