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

learn more… | top users | synonyms (2)

1
vote
1answer
15 views

Beginner - create user programmatically; how to capture form fields?

I briefly worked with Drupal several years ago, and now have come back to it for a single project. For all intents, I'm a total beginner. I need to create a new user from a custom form (html in a ...
1
vote
0answers
18 views

Drupal 7 multistep form submits user_register_submit handler to early

After two days of searching and debugging I decided to give up and ask help here... I'm building a multistep form in Drupal 7 with 4 steps. The user_register_form is in the second step. For building ...
1
vote
2answers
36 views

Form returned by drupal_get_form() won't submit

I am currently implementing an additional registration page on my drupal site, using drupal_get_form(), but I seem to be missing something cucial. While the registration form is printed at the path ...
1
vote
0answers
62 views

hook_entity_view_alter doesn't seem to be working

I'm trying to alter a Registration entity (created by the Entity Registration module) and am using hook_entity_view_alter. I can see that my code is being called when the page loads, but it doesn't ...
1
vote
0answers
33 views

Login by phone or email along with Username

There is a requirement to provide login option with all the following: username, email and phone. I understand LoginToboggan provides the capability to login with email or username. I am looking to ...
1
vote
1answer
39 views

Login programmatically using ajax

I have a button in my custom module function sign_up_form_user_register_form_alter(&$form, &$form_state, $form_id) { $form['captcha']['#suffix'] ='<input type="button" id="test" ...
0
votes
4answers
23 views

Editable message after registeration

is there a way to make this message controllable from back end which appear after user registration. $message = t("Thank you for registering at $site_name. Your application for an account is ...
0
votes
1answer
22 views

Drupal 7 Services module user register and login test

I am trying to register and login users via services module in a Drupal based site. Versions I am using: Services 7.0-3.11 Drupal 7.36 The endpoints for this service is shown in the below code. ...
0
votes
1answer
21 views

Print User Registration Block Through template.php file

I just want to print the user registration block through my template.php file without using the Form Block or Enabling php on my site to use this code: <?php if(user_is_anonymous()) { $form ...
0
votes
0answers
8 views

Organic Groups Registration Codes / Keys

I am trying to set up a registration code/key for my site. I know these modules (listed below) assign a code or i can assign a key to each organic group. The issue i am having that if i select Group ...
0
votes
1answer
16 views

add captch to registration modal box

I have a modal box for login and registration for my site. kavings.com I want to add the captcha with the registration process.I added the captcha module in my site. But the captcha only work with ...
0
votes
1answer
16 views

How to remove Upload picture lable from registration page?

how to remove Upload picture lable from avatar image field.
1
vote
1answer
40 views

Customize user registration form by adding/modifying fields in the form and handling submit function

I am new to drupal. I need to customize a registration form by adding fields like id,mobile etc. Can I accomplish this by creating a custom module? If yes could anyone please help me with a brief ...
1
vote
1answer
19 views

How to remember the selected foo before and after a registration process?

I have a view with 50 objects available for anonymous members. I the user clicks "Yes, i want to see more of this nice foo" he should register himself with only a email and/or password or even only ...
0
votes
2answers
22 views

How to create a new custom content type record when a user registers in Drupal 7

My client's Drupal 7 website has a custom content type which is currently being used as a user profile. Now we need to incorporate this custom content type with the Drupal registration process. That ...
0
votes
1answer
16 views

create two different registration form with same fields without using profile2

I have already setup account fields, and I have two roles (A) and (B) I need to create a page with two button links : register as (A) register as (B) when the user choose one of these two links, ...
0
votes
1answer
30 views

how to create hook for send email to profile2 type user

In my project there are two types of user.Using profile2 module i creates 2 profiles. 1) normal user 2) Lawyer So i have to send promotion email to lawyer after registration. i created following ...
0
votes
0answers
22 views

How to send promotion email after quick registration

In my project there are two types of user. 1) Normal User 2) Lawyer I create a registration form using profile 2 module. Now problem is i want to send promotion email to Lawyer after registration so ...
1
vote
2answers
19 views

can i register using same email id for a 3 different profile types

This project is related to add social service work details into my website. I used profile2 module to create a 3 profile types and its create successfully. we have 3 profile types, 1) Single User 2) ...
0
votes
1answer
28 views

How To Add Field In Registration Page [duplicate]

In user page, I want to add more field like username, contact number and address. What is the common way to do it?
2
votes
3answers
68 views

How to create and send an HTML formatted eMail using CSS?

I am going crazy in making a welcome eMail in Drupal. What I want is sending a nicely formatted eMail using HTML and CSS. I do not need to send an eMail to user except a welcome eMail after user ...
1
vote
0answers
34 views

Warning: htmlspecialchars(): Invalid multibyte sequence in argument in check_plain() showing up in user input

So I've been seeing the same php warning showing up in my logs over and over and over again. Warning: htmlspecialchars(): Invalid multibyte sequence in argument in check_plain() (line 1583 of ...
0
votes
1answer
30 views

How to set up registration for event with parallel sessions?

I would like to set up the registration for an event. During the event there are various parallel sessions. (I was thinking in using the entity registration module) Needs / problems encountered: The ...
0
votes
0answers
14 views

Drupal user registration with authorize,net recuring payment

i want to implement custom registration form in Drupal with authorize.net recurring payment is there a way to do so. Task 1: register free will directly save user and admin will approve it Task 2: ...
0
votes
1answer
18 views

How to allow user of certain role to create user only of selected roles?

I have few profiles. One profile per role. I've created few registration paths by Profile2 Registration Path module. I have an issue with permissions, for example I want allow user of role A, to ...
1
vote
1answer
26 views

changing the process of registration

I need to make a different process for user registration in drupal. 1] set username, email and password. 2] send a verification email to user's email address. 3] by clicking on the link in the email ...
1
vote
1answer
15 views

Cache + random + hook_form_user_register_form_alter

for a captcha purpose, I'm trying to set a random number in the hook_form_user_register_form_alter For example : function my_module_form_user_register_form_alter(&$form, &$form_state) { ...
1
vote
3answers
39 views

User Registration Disable Email Verification

I have unset the value of email address on the user registration form. However, after selecting save, the error shows that its still requesting the email. here's the code: function ...
0
votes
1answer
98 views

Trying to theme my user login/registration/password reset pages in Drupal 7, going bonkers

What seems like it should be a very, very simple task -- theming the user login, registration, and password pages in Drupal 7 -- is turning out to be a Kafka-esque nightmare. I can't figure out what ...
0
votes
0answers
23 views

How to make Views respect Profile2 account approval status?

I am using Profile2 and Profile2 Registration Path to allow me to maintain different user roles, with visitors registering according to the account type they require. This aspect works fine and ...
1
vote
0answers
68 views

Set user profile fields that are not visible on registration form

Very new to Drupal, first of all. I'm working on a custom module for user registration (we're still in Drupal 6) that I'd like to do a few things: Geocode the user-supplied zipcode to get a ...
0
votes
1answer
21 views

Registration field not to be saved

After a lot of searching, I've been unable to find the answer by myself, so here's my problem (with Drupal 7) : I've been able to add new fields to my user registration form ...
0
votes
0answers
20 views

Random Registration Path

I am developing a site where we'll have standard users and somekind of "VIP" users. VIP user can only register by invitation and should record who have invited by who. Besides, I want to have 2 ...
0
votes
0answers
57 views

Whenever a user try to recover password or try to register I got mail delivery system error

Receiving Mail Delivery System error for almost every email generated by Drupal 7 What can be the reason? here below the message from remote host SMTP error from remote mail server after end of ...
0
votes
1answer
24 views

Problem embedding user_register_form in custom template

I need to embed the user_register_form inside a template. In my module i do: .... $form=drupal_get_form("user_register_form"); unset($form["field_nickname"]); unset($form["locale"]); ...
0
votes
0answers
35 views

How to (double) opt-in the user registration process before admins are notified for approval?

I was wondering if you could provide, with drupal core or any module, a double opt-in for the registration process. Ideally, users that fill out the register form should be received an email with an ...
0
votes
1answer
21 views

One user with several profiles (pages)

What modules are available (profile2 would come in handy i guess) to create something like pages on facebook. Like on facebook each containing description, galleries and some other content i make ...
0
votes
1answer
164 views

The website encountered an unexpected error. Please try again later

When creating a new user account, as a visitor or unregistered user, I get the following message: The website encountered an unexpected error. Please try again later. and the account is not fully ...
0
votes
1answer
36 views

Drupal 7 Adding additional fields on user registration page, specifically first name and last name

In Drupal 7, what methods are there to add additional textfields to the user registration page at /user/register? I mainly want to also get their first + last name during registration. There doesnt ...
0
votes
0answers
23 views

Recipe for a membership site with two different roles

I did quite a lot research on this and found some approaches that might work. However, I want to put this question up for discussion here. Maybe you can point me to a tutorial or just the right ...
0
votes
1answer
23 views

Seperate /user/register fields and admin/people/create

i extended the add user field by adding a role field as part of the fields that will be displayed when you click create user in mydomain.com/user/register. With the addition of some rules, this helps ...
0
votes
0answers
29 views

Custom register form and default register form

I have a custom module that alters the default form. It's a multistep form, lot more other details, web service xml posting and getting details etc. The thing is here, now I'm using the Services+REST ...
1
vote
1answer
37 views

Can you duplicate a Drupal 7 site and database when a new user registers?

I'm building a site that will be used as a template site for new users. Once someone signs up, they should receive a copy of the original master template site, including their own SQL database. ...
0
votes
0answers
11 views

Email field on registration page not working

When I try to register a new account using the standard settings for my site no matter what I put in the email field it gets highlighted in red and I can't register a new user. Has anyone experienced ...
0
votes
1answer
64 views

Add fields to Drupal 8 form registration, and get plain password for use with external website

I would like know how I can custom the default registration form and how get the user plain password please. I use HOOK_form_user_register_form_alter for add my custom fields, by example: ...
0
votes
0answers
15 views

Create a registration form

I've already customized the default user_register form with hook_form_register_form_alter(). That form is using complex multistep form and connects with a web service for validating etc. Right now I ...
0
votes
1answer
29 views

How can i create a new page template for user registration page

I am a beginner in Drupal. I need to create a new page template for registration Page . Because in my website almost all pages have different layout. Currently all pages are rendering through ...
1
vote
1answer
16 views

Editting/Modifying markup of registration form [duplicate]

I would like to over ride the default registration form of Drupal. I want to edit its mark-up. Add few classes and wrap them with few div tags. I don't know how to get this done ? Is it possible to ...
0
votes
0answers
14 views

Legal module password reset workflow is broken

I'm having trouble with the legal module, version 7.x-1.5. When a user is sent a one-time login link, using the default user module in Drupal 7.34 the workflow doesn't work properly. User follows ...
0
votes
1answer
19 views

Can failure to increase new user's UID consistently by one be related to this line inside user.module file?

I have noticed at my Drupal 7 that there are gaps between the uid's of new users. The UID of a new user should increase by one from the highest assigned UID in database. However, I have noticed gaps ...