Quantcast
Channel: Active questions tagged users - Drupal Answers
Browsing latest articles
Browse All 441 View Live
↧

Pre-select Group Audience for Organic Groups

Here is my situation.I am using the latest version of Organic Groups on Drupal 7. Every user on my site is part of one group and one group only. Is there a way to make it so that when users are...

View Article


How can I view the IP addresses of visitors who view the home page of my site?

I need to gather the IP addresses of visitors who view the home page of the site. There are bots that bounce off of the home page thousands of times a day. The Statistics module makes the site too...

View Article


User registration without email address OR registration with pseudo-email...

I am programmatically creating users for the roles Parent (Adult) & Child (minor). During registration, minors (Children) typically will not have email addresses but Drupal user registration...

View Article

how can I get a list of all of the permissions a user has?

if I have the current user object, how can i get a list of all of the permissions he has in drupal 8 custom module ? I dont want to check for one particular permission which would be...

View Article

Multipage registration form with Ctools

I'm trying to follow the tutorial on multipage user registrations at http://www.grasmash.com/article/building-multistep-registration-form-drupal-7-using-ctools, but I'm doing something wrong. As it's...

View Article


Integer user form field with min 11 digits and max 11 digits

I need an integer form field with has a validation of min 11 digits and max 11 digits. In other words; the user has to fill in an 11 digit code.How do i make this field and validation?Update:I managed...

View Article

Set the default value for a password field on a custom form

I have created a custom user register form. I want to set the default value for the password, and confirm the password fields.My point is that, whenever form error occurs, the password fields get...

View Article

Can't login: user/login redirects to index page

My Drupal 7 user, user login and admin pages all redirect to the index page. I am unable to login at all. This problem came up recently after the site had been unchanged for months. I can't think of a...

View Article


Custom user profile displays

I have added some extra fields in User entity like address, twitter account e.t.c. The requirement is that each user should be able to choose whether his profile will be completely public to other...

View Article


How to completely disable 'further instructions sent to email' message after...

How to completely turn off/remove message 'Further instructions have been sent to your e-mail address.' that appears after registration? I'm using logintobogan module and I can see some customization...

View Article

autocomplete on a multi value - custom field

I have a field organizations on the user profile(the field can accept multiple values). I would like to add a autocomplete to this field. My code for this is <?php/** * Implementation of hook_menu()...

View Article

Custom form validation is missing

I have a registration form :<div class="register-error" id="register-error">{{ form.status_messages_user_register_form }}</div><div class="row"><div class="col-sm-6">{{...

View Article

Domain Access Login Redirect for main domain and subdomain

I have created three sites namely one.example.com, two.example.com, three.example.com using domain access. Here one.example.com is the main site which can create n number of subdomains. I want to...

View Article


Is there any way to make Commerce Customer Profile save/store data in a...

Heres the thing. We have a customer profile of type 'Delivery' which contains a delivery address for an order. It also has other non-addressfield data like driver route, delivery day (M-F, day of...

View Article

Limit the number of uploads per image field depending of role

I need a hook (or something similar) where I can set the number of image uploads depending of the role of the user.In the settings of the field there is no way to set the maximum number of values users...

View Article


Add custom user image field on private messages list instead of default user...

ok, this is what I have done so far but it is still not working. First I wanted to add senders profile picture to the private message list on each user profile page. To accomplish that, I used the...

View Article

Define a resource of Service module, But 'access callback' cannot work

This following is my resource:For clearly read, I delete some line./** * Implementation of hook_services_resources(). */function baidu_push_services_services_resources() { $resources = array();...

View Article


Login page when using a Zen's sub theme

I've created a website based on a Drupal 7 Zen subtheme and now I would like to create a login page for the administrator. When I navigate to http://mysite.com/?q=user, I return to the main page as...

View Article

Can users with a custom role approve the user registration?

I have created a site that requires approval of new user registrations. I added the Manager role for the site owner. I'd like users with that role to approve the account registrations.Is there any...

View Article

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 isn't...

View Article

How to get a list of Users as values for a select list field?

How do I get a list of users of a specified role to populate a select list in node/add/* ?For example when creating a piece of content I want a field "Select Your Moderator of Choice" and the options...

View Article


Image may be NSFW.
Clik here to view.

Display Custom User Profile Fields in a Block on All of Their Published Pages

I have created a role, and have added additional fields to their profile using Profile 2. The fields are part of the location module, and are just basic contact info (address and phone number). They...

View Article


How can I update webform_submission uid in the table, after which the...

I'm a graphic design, and I just started using Drupal 7.I have a form created with webform, which collects data entered by the user, after sending, the user is directed to the purchase page. The stages...

View Article

Multipage Registration form, Confirmation Page Security Issues?

I have a multipage registration form working on a site, but the confirmation page is supposed to show some of the information (account name and other data) after the account has been submitted/created....

View Article

Image may be NSFW.
Clik here to view.

Profile2 regpath move account email field, into profile2 form and handle submit

I have a profile2 regpath displaying my profile2 form, and the system default account registration form below it. I need to move the account email field up into the container with the profile2 fields.I...

View Article


How can I populate a node field based on a user field?

I have an "address" field among the user fields. Here users can specify several entries for their addresses.They can create orders (these are custom content type nodes). The order node has a "shipping...

View Article

drush perm-grant gives "The drush command 'perm-grant' could not be found"

I am using drush -u 15 perm-grant --roles="site administrator" but the command returns:The drush command 'perm-grant' could not be found.any ideas about that? according this documentation the drush...

View Article

Form API Field Permission

I am creating a custom form and storing data in custom table. I was wondering if there is any method to apply field level permission like $form['value']['#permission'] = array('access this field');I...

View Article

Display message instead of redirecting to Access Denied page

I'm using Commerce Auction module for an auction site. I want to display a message when the auction time out occurs for a certain product and at the same moment the user clicks on place bid...

View Article



Changing group visibility needs group content to be resaved when group...

Drupal Commons 7.x-3.2Organic Groups 7.x-2.1Content type: MygroupField: Group visibility - value: PublicContent type: MypostField: Group - default value: MygroupField: Group content visibility -...

View Article
Browsing latest articles
Browse All 441 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>