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

How to make relationships between users

I have the quiz module installed on my website. I have setup two user roles on my site, Student and Parents.I want to make a view that shows the results of a parents children.Now I have made two fields...

View Article


Subdomain with shared database for users: subdomain not accessing primary...

I've successfully set up a multisite Drupal installation. I now have:www.example.com --> main sitesub.example.com --> a secondary siteHowever, I want the users to be shared. I know about shared...

View Article


Why does "Cancel People Account" not work?

I have Drupal 7 with Devel installed running over PHP internal server and MySQL.All user operations work correctly except Admin>People>Cancel Account operation.This leads to the overlay Add User...

View Article

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...

View Article

Image may be NSFW.
Clik here to view.

trouble with a checkbox on the user registration pages

I created an extra checkbox field for the user registration formThis is the field setting page. (Standaardwaarde means "Default value.")In the setting page, the field is unchecked, but it's checked in...

View Article


User with proper permissions cannot see unpublished nodes in the content...

I have a user with a role that is given "view own unpublished content." She can access the unpublished node directly but it does not display in the content listing (no unpublished items display). I...

View Article

Create duplicate registration form with extra fields

I have a site built using Drupal 7. The site has a registration form now. There is a new requirement to add a couple of new fields in the registration form and put it in a new...

View Article

Image may be NSFW.
Clik here to view.

Remove links from the menu tabs

How can I remove the some links from the Tab, when we are login as a particular user. Please see the below picture. I want to remove the tab Items maked in red rectangle (deny access to this link). I...

View Article


Basic Password Reset steps not working

I have reviewed other similar posts, but none matches my problem.I built a Drupal site based on an old ASP.NET site. I imported the users from the old DB (which had passwords in plain text!). Most...

View Article


Unable to edit node translation other than current language

On my multilingual site I seem to have problem at admin/content when editing a particular translation.I have a Contact Us page, translated:Contact Us [EN], node/286Contact Us [ES], node/300I don't have...

View Article

create a custom form based on user fields

I created new menu item witch I want to insert a custom form to edit some user fields :$items['user/%user/edit-custom'] = array('title' => 'Knowladge','page callback' => 'drupal_get_form','page...

View Article

Users cannot log in to new site in multisite

I am working with the Drupal multisite functionality. I have been asked to implement the following architecture:mysite is a Drupal site with several angular pages.mysite/backend is a separate site with...

View Article

How do I add tabledrag with 'weight' to admin form

I have built a fairly basic module but i'm struggling with the UX of the admin form. Essentially I need a list of items that have several values; a textfield, checkbox, select list and a button to...

View Article


Changing user register/login pages into secure sub domain

I need to change my user registration and login pages into a secure sub domain of my site, how is it possible ?In detail,When user logon to http://www.mysite.com/admin that must be redirected to...

View Article

Assigning a badge to a user using Flag, Badges and Rules

I am interested in assigning to user a Badge after he favorites 3 nodes. I want to do this with Flag, User badges and Rules.How can I do that?

View Article


Ubercart Node/Product Field access to Role and purchaser

I have an Ubercart ecommerce Drupal 7 site I'm building. The user can either subscribe (monthly/annually) or purchase node by node (pay as you go).I need to GRANT the subscriber or purchaser access to...

View Article

Why is the login redirecting to the access denied page?

This question has been asked before but I see only D7 versions of the question, and none of their answers have helped me in D8.I log in perfectly fine with Chrome or Firefox, but IE 11 redirects to the...

View Article


Flood control IP bypass whitelist

I am utilising Services to open up some login resources on my site and as a result if multiple users incorrectly try to sign in the entire external website will be blocked because of flood control.Is...

View Article

How to show view for submitted result of a webform by a user

How i can show all submitted value of a webform by a user in a view in a tab of a user profile section.Iam using drupal 6.For example when user click on a tab say form on his profile the webform value...

View Article

Image may be NSFW.
Clik here to view.

How to set Permission based on roles for Views Data Export

Using views data export module, I set the permission for different roles in the Data Export in Views like:But I can still see the Export button for all users in front page. However if the role doesn't...

View Article

How to make a page visible only to users with permission to use the...

I have created a basic page which I only want to be viewable by people who have access to the administration theme. I have given the page a path of admin/shipping-help but to my surprise the page is...

View Article


Query for email address already existing

I want to customise registration form action in my drupal8 site.I want to check email address is already existing.I have tried with different queries.But not worked.Can anyone to help me to solve this...

View Article


How to import multi-value fields into profile2 using the Migrate module

I have users each with a profile using the profile2 module. I am using a cookbook based on the Migrate framework to create the users and import profile data.Sample CSV data would...

View Article

Permission for translating menu items via the menu config screen

I have a multi language Drupal site, Using i18n and the entity translation approach. Translating menu items from an node works well, but not all the menu items are driven by the nodes.Now as user/1, I...

View Article

Fatal error: Maximum execution time of 240 seconds exceeded in...

I am using multidomain site .After adding a new domain record,I was asked as follows: Content access permission needs to be rebuilt on this page.When I clicked on Rebuild Permissions button,the...

View Article


Sync user roles across websites

I am using Drupal 7. I want to sync my Drupal website roles on 2 websites on the same top level domain, as in, one is example.com, the other is other.example.com, how can i achieve this? Bakery module...

View Article

Define permissions for Actions?

function custom_mod_action_info() { return array('custom_mod_delete_user_cats' => array('label' => t('Delete a users cats'),'type' => 'user','configurable' => FALSE,'triggers' =>...

View Article

Form Validation. Ensure Placeholder is not submitted value

I have a Drupal registration form with a placeholder set on a first name field. I am trying to get the form to check so that if the placeholder value is the same as the submitted value it will give an...

View Article

Send an email when the roles are changed

I'm trying to send an email to users after their role has changed. So far, the rule is triggered every time the profile is saved (even without role change); I suspect that the data comparison is not...

View Article



Get user role by user field

how can I access to my user role thanks to my user custom field ?I have an user field called "custField" and it's value (example : 123456). I need to check all users that have "123456" as value. Then,...

View Article
Browsing latest articles
Browse All 716 View Live


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