Questions related to allowing users to sign up for accounts, modifying the user registration form, etc.

learn more… | top users | synonyms

0
votes
0answers
8 views

How to export email translations in user setting in features?

I am using http://drupal.org/project/i18n and variable translation is enabled. 1. I have placed email content for each translation in Account Settings for 'Welcome (No Approval Required)'. In ...
0
votes
0answers
36 views

How to customize registration ,login and forgot password pages in bootstrap theme?

I want to customize registration, login and forgot password pages, theming and changing the position of submit buttton and including social connect, i have used this code function ...
1
vote
0answers
32 views

How to make /user show registration form by default? [duplicate]

When anonymous users go to /user, i would like to show the registration form instead of the login form, or just redirect to /user/register. I couldn't find anywhere how to do that...
0
votes
0answers
26 views

Creating a user using Services results in user not being able authenticate using HTTP Basic Auth

I'm developing a backend for an Android application using Drupal, and I've run into somewhat of a weird problem. I'm using Services and Views for the input and output of various content types. In ...
0
votes
0answers
15 views

“Username field is required” error at registration, nothing in log

If a visitor try to register here https://wear-freaky.com/user, filling all forms correctly and clicking to submit, the error message "Username field is required" appears and no log error is created. ...
0
votes
1answer
24 views

Taxonomy vs Values module in my case

I'm using the Values module for creating a list of subscriptions the user can choose of when they register (it's a field in the registration form). Now I've seen I can also create a list with the ...
0
votes
1answer
17 views

Create invoice when registrating

I have a register form with some fields like name shop, btw number, subscription, ... . I want to create an invoice of the data filled in (do some operations with other variables). I know that there's ...
0
votes
0answers
22 views

Login form (or user registration) don't show $messages [duplicate]

This is a weird issue. I have a custom theme which prints the login form (or user registration): $form = drupal_get_form("user_login"); $user_menu = drupal_render($form); This works fine, and ...
0
votes
2answers
28 views

How to prevent people to ask for registration in Drupal 7? [duplicate]

There is no login block in my website but everyday I see lot's of strange emails are sent they ask for registration. How do I can modify Drupal to reject every registration request?
-2
votes
0answers
25 views

Render registration form not working

I have no problem rendering the login form or custom forms using: print drupal_render(drupal_get_form('user_login')); However when I try print ...
0
votes
1answer
23 views

How to transfer data between 2 fields

I have profile 2 installed. I added a new field called "maiden name" to my profile form using the "add existing field" option. I had previously created this field in the default user registration ...
0
votes
0answers
15 views

Auto approve an user after registration (Services)

Is there some way to auto approve an user after registration? I don't want to send any email confirming the email or changing the password. I'm trying to build a register/login for an app with REST ...
0
votes
0answers
17 views

How to externally register a new user without accessing /user/register?

I have a (Drupal 7) site which uses LDAP to authenticate logins according to an Active Directory groups only. In the Apache config file, the URLs '/user' and '/admin' are both blocked externally. ...
-2
votes
0answers
29 views

Make password field optional on user registration [duplicate]

i don't want password and mail field for user registration. For mail field, i am using optional-email module and the mail field is no longer required. i want the same for password field. how can i do ...
0
votes
2answers
24 views

Change the value in the user join date field

I am building a Drupal 7 site. User can register in my site using Hybridauth or regular registration form. I want to change the value in the joined date field. Meaning change the date a user joined ...
0
votes
2answers
46 views

How to show the user full name with views

I am building a Drupal 7 site, and using the Hybridauth module. On my site, user can register with Facebook and twitter (through Hybridauth module), or regularly through the registration form. When ...
0
votes
0answers
28 views

Edit the picture field of registration form

I am building a Drupal 7 site, and using the Hybridauth module and Media module When user login with Hybridauth - their picture is saved under the core picture field of the user registration. Thus, I ...
0
votes
0answers
16 views

Awaiting approval email not being sent [closed]

When a user registers I have it set that the Admin must approve an account before they can continue with user permissions. All other emails are being sent, for example the account activation but the ...
0
votes
0answers
47 views

Modal Multi-Page Form Validation/Callbacks

I have the following multistep form. I would like to validate the email address to confirm that it is not registered in my database. If it's not I would want to register the user (my server doesn't ...
0
votes
1answer
28 views

Registration in drupal 7

In drupal 7 I want to register function hook. when we click on register submit the values need to store in another database's table and with that inserted id need to store in user table. how we can ...
0
votes
0answers
14 views

How to adjust weight of profile 2 fields

I added some fields to the default user registration form. I then installed the Profile 2 module through which i added three (3) fields- "first name", "surname" and "place of work". Is there a way to ...
0
votes
1answer
49 views

Upload image programmatically in user account

I used the below code to upload default picture field. Other than this default picture field, I have another field to upload image (for Example, field name "field_house_image"). How to upload file ...
0
votes
1answer
165 views

User uid incrementing in non sequential manner

I have a drupal site that has been running for about 1 year. there are about 1000 members in the users table recently I have noticed something very strange the Users uid field is no longer ...
0
votes
0answers
17 views

Profile Completed after successful paypal payment

I have a question, I want to build a drupal 7 website which has user membership area, while users are registering they have to make payment through paypal and after purchasing or paying( maybe using ...
0
votes
0answers
18 views

Different registration forms for different roles: using autoassignrole?

I'm having some trouble implementing the autoassignroles module. We need a way to sign up 'vendors' on a site. We may also have other types of users in the future, so I don't want to assume all ...
0
votes
1answer
16 views

Alter Registration Form Text

I am trying to alter the email description text on my user registration page. I have added the following to the bottom of my template.php file but nothing is happening. It seems like the function ...
0
votes
1answer
33 views

I want to subscribe an user to a Mailchimp list as soon as their account is activated

I want to subscribe an user to a Mailchimp list as soon as their account is activated. I've created a module to use hook_user_presave() and am trying to call mailchimp_subscribe_user() after that. ...
0
votes
1answer
19 views

Administer Users permission too vague. How can I restrict functionality for this permission?

Is there a way to allow some admin users (with administer role) to create other users but limit their access to 'people' related admin area? It seems there's only one option under permissions - ...
0
votes
1answer
18 views

Referring created users to 'admins' that created them

I know user can be given a permission to create other users. However, it doesn't seem that user table has any created_by field to store the ID of the creator. Does it? Is there a way not only to ...
2
votes
3answers
110 views

User register and login functions are called from hook_form_alter, but user isn't logged in

Background I'm attaching the user register form, to the node create form with hook_form_alter. that way I create a node and user at once. In order to validate and register the user, in ...
2
votes
1answer
36 views

How to set form element order with field_attach_form (and why does it do it?)

Problem I'm attaching the user register form to the add node form using hook_form_alter (for a custom content type). (Forcing an anonymous user to register when they create a node.) My solution to ...
0
votes
0answers
21 views

Drupal Commerce: Allow anonymous users to choose password

I'd like to allow anonymous users to make purchases on my store, however I don't want them to have to login and then change their password as their first port of call. Is there anyway I can collect a ...
1
vote
1answer
52 views

One-time link without valid email address Spam Registrations

I have a D6 site that gets a lot of SPAM account registration and they all follow a pattern, however from different IP addresses (often during the following process): 1) User account is created 2) ...
0
votes
1answer
45 views

When user is registered to drupal site ,disable admin approval notification

I want to disable admin approval notification when user is getting registered to a drupal site. I don't want to send notification mail to the admin.
1
vote
1answer
153 views

How to create user with role through REST service (Drupal 7)

I could able to create a new user by the following JSON format.(Using POSTER add-on to post this data to REST service.) {"name":"user34","pass":"3323","mail":"sample@example.com","status":"1"} My ...
0
votes
2answers
57 views

Change the description for username field in user registration

I would like to disable the spaces in the usernames. For that I installed a rules module and i applied a rule. Everything is fine but now the label is still saying : "Spaces are allowed; punctuation ...
0
votes
1answer
37 views

User registration silently fails - how to debug?

On our Drupal 7 site, user registration silently fails. Drupal doesn't even reach the form's validation functions. What we checked: disabling javascript didn't help. Removing installed modules ...
1
vote
2answers
64 views

Should I call my function in Drupal custom modules?

I've been trying to implement a redirect to user register page if an anonymous user tries to access a specific page. I used the following code in my custom module. function myregistration_init(){ ...
0
votes
1answer
104 views

How to redirect user to new page after submitting user register form?

I've being trying to write custom module that redirects user from user register page after submit. I read several issues on Drupal Offsite and here on Stackexchange, but could not still resolve the ...
0
votes
1answer
34 views

How can I see a log of emails that Drupal has sent?

How can I see a log of emails that Drupal 7 has sent? It would be handy for things like troubleshooting registration issues... to see that registration emails are actually being sent.
0
votes
0answers
30 views

Inserting user registration fields for app development

I need to insert the value as below.. but not working.. $fields['field_clinic_hospital_location_d']['und'][0]['field_telephone_number']['und'][0]['value'] = $telnum; I am inserting the user ...
0
votes
0answers
18 views

creating and theming register form in drupal 7

There are many links in websites that talk about this question, but I'm really bewildered how to do it, I've tested many solutions but I failed. this is my code to add register form into a page ...
0
votes
2answers
76 views

Override default register form

<?php /* ** Implements hook_menu(). */ function custom_register_menu() { $items = array(); $items['custom-register'] = array( 'title' => 'Custom register', 'page callback' => ...
0
votes
2answers
66 views

Prepopulate a custom user field on registration?

I have created a custom field on the user entity. I would like to prepopulate this field with the value 0. So, when the user goes to their account page after registration the field is already filled ...
1
vote
1answer
217 views

Register User with Services (JSON) with Custom Fields

I am trying to register a new user on Drupal7 via services with JSON. Actually I am posting info from JAVA (android) with JSON format to the server with services module enabled. A sample successful ...
0
votes
0answers
20 views

Elevate existing user to have an additional profile

I am using Profile2 and Profile2 registration path on D7 with many users. Users who register using the foo/register fill in extra fields, get assigned the fooman role, and get access to a hidden part ...
0
votes
1answer
27 views

Limit OG available on registration form

I want to let my user to request membership to an OG through the user registration form (they should select the company you belong too). I found how to I have two content type set as OG (company and ...
1
vote
1answer
57 views

How to show Content Titles only in Entity Reference drop down list, but restrict general access to the Content Type?

Drupal 7.25 I have a list of "Locations" (content type) and need people to select an item from this list when they register on the site. However, I do not want anonymous or authenticated users to ...
2
votes
3answers
91 views

Validate new user email name matching a pattern on registration

Upon new user registration, how could I validate that the email address has a ".edu" extension? Basically, I need to ensure that users are using only their ".edu" email addresses to register for ...
0
votes
0answers
24 views

Styling fields of registration page

I want to style my registration form so I made user-registration.tpl.php and it works. There I'm printing fields like: print render ($form['field_ort']); That works too. But, I also want to style ...