Quantcast
Channel: Active questions tagged users - Drupal Answers
Browsing all 566 articles
Browse latest View live

How can I protect development sites with Basic Auth module enabled?

During development phase a dev site should be protected from being browsable by unauthorized visitors. Usually I use Basic Auth configured in the web server. This way the only information an...

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


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

Is there a way to add node grants to anonymous users?

I want anonymous users to be able to access nodes that are promoted to the front page. (They can't access to nodes that are not promoted.) It seems hook_node_access() isn't seem called for anonymous...

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


How to handle multiple stores and multiple store admin users

Is it possible to create a restaurant(multi-store) online delivery system using Drupal commerce and OG? It has multiple stores(restaurants) in different locations which can be manageable by individual...

View Article

How to prevent user delete for certain condition?

We have a custom subscription system which is linked to user. Sometimes there are lot of spam user get registered which often we delete those. But we get confused if the user is a subscriber or a spam...

View Article

How to add template suggestion for user--VIEW-MODE--ROLE.html.twig

I used hook_theme_suggestions_HOOK_alter:function MYTHEME_theme_suggestions_user_alter(&$suggestions, $vars, $hook) { // Define the view mode. $mode = $vars['elements']['#view_mode']; // Create a...

View Article


Need to find and disable an email that may be coming from a module

There is an email that goes to users that seems to be produced by a module (on a role change) that is confusing to a specific client's users. They would like me to disable that specific email, but I...

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

How to add profile fields on Ubercart 3 checkout page?

I used to use the uc_profile module to add user profile fields to the D6/Ubercart 2 checkout page, but I cannot find a suitable solution for that same functionality in D7/UC3. Can anyone guide me...

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 get new password by mail instead of password reset url (Forgot password)

When we click on "Forgot your password" and enter email id, Drupal will send password reset URL by mail. But is it possible Drupal send any random password by email instead of URL?I have checked...

View Article


How to prevent other roles from publishing content

I am new to Drupal. I am working on a website where I have 2 user roles: Site admin and editor.The site admin has all permissions. I want the editor to only have the permission to edit content but not...

View Article

How do I add administrator approval on webform submitted data?

I have the functionality that when any anonymous user submits a webform, then I display the submitted webform data in my new page, but I need admin approval before that submitted data displays on...

View Article


Limit Per User Tokens in Drupal Simple OAuth

I'm looking for a way to limit the maximum number of tokens granted to each user in Drupal 10, similar to how we can limit the number of sessions per user using the Drupal Session Limit module. Is...

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


Wich template to override for user account form

I am building a theme for my Drupal 8 site and I want to create a custom profile page with user information like this: http://bootsnipp.com/snippets/featured/profile-card but I can't find the correct...

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

How to add html tags to account setting emails?

I am working on a project where I need to add some custom headers to the email which we send to the user on registration. Is there a module which support this functionality?

View Article
Browsing all 566 articles
Browse latest View live


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