Permission for private file to anonymous
I have an ad content type, with a file field that is in a private directory when saving the node.Ads and their files are only accesible for authenticated users.I wish I could allow anonymous users to...
View ArticleHow to embed edit user profile page in a panel
I am trying to embed the edit user profile page (ie what appears at the url domain.com/user/27/edit) into a panel. I have searched high and low on how to do this but I can't find any info on it. Is it...
View Articleemailing users in user reference field with rules
I am working on a site for an academic conference. Right now, we have two content types (1) proposal and (2) peer review. In the proposal content type, an author can add multiple presenters to a user...
View ArticleGet 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 ArticleCan't login using OpenId (core) and Google profile
I'm using the OpenId module (included in core v7) but can't link an OpenId to an existing account. Every time I try to add it an error occurs:Sorry, that is not a valid OpenID. Ensure you have spelled...
View ArticleHow do I use the Password Policy module?
I just installed and configured the Password Policy module, but the constraints like password length should be minimum 8 characters is not reflecting when an administrator user adds a new user and...
View ArticleHow to add a new user badge after earning a certain number of user points?
I'm using the User Badges and User Points modules. I want that when a user earns a certain number of user points, the user's old badge is replaced by a new one. For this, I have already created a rule...
View ArticleChange default format for date field on user register form
I'm new to Drupal 8. In the user registration form, i've added a Date field via manage fields in user account settings. However, I need to customize this field and change its format. I tried 'manage...
View ArticleCan't hide fields in user registration form at new menu path
I have a menu path which rendered User Registration Form. The problem is I did hide fields like "Email", "password" and "status" by setting #access to FALSE. It is not working.When I have done the same...
View ArticleUser authentication handled by a web service
I seek your help and advice. By default, Drupal manages user authentification using the user module that resides in the "core/modules" and through the main Drupal Database. In my case, the user is...
View ArticleFile upload ajax and Radio Buttons not cooperating in registration form
I have enabled Profile 2 and profile Profile2 Registration Path modules on my site and have a really long registration form with lots of fields. I have some radio boxes and file upload fields also. The...
View ArticleHow 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 ArticleHow to right-to-left emails are right-aligned?
In my Drupal 8 site, I am using Arabic email for sign up, log in, forgot password. I get Arabic email content, however, the email content is left aligned. I am using PHP Mailer on my site for sending...
View ArticleChange entity reference field widget based on condition?
I am using Drupal 8. In user registration form, I use an entity reference field to a profile. I wanted to display inline entity reference form widget or entity select widget based on role.For this, I...
View ArticleHow can I redirect users on login based on their chosen language?
I'm looking to redirect users after they login.The site is multilingual, using English and French.I've tried using the Login Destination module and using Rules, but it has no options for accessing the...
View ArticleAllow user to fill out node form, then force registration
I'm making a classified website.Have a button that say "Make a ad"I would like the Anonymous user to be able tofill in the text for the ad.But the Anonymous users after filling in advert.has to sign up...
View ArticleCustom user_register_form for Auto Assign Role registration pages
I'm using a function[a] to get custom templates to work for all pages, including role registration pages set by Auto Assign Role. By setting the role registration path to user/register/<rolename>...
View ArticleFilter Taxonomy reference field on Workbench Access permission
i need some help with Workbench access based on taxonomy.This is my use case:I have this taxonomy structure for my site: - Term A - Term B - Term CAnd i have 2 roles: - editor - editor CEditor c users...
View ArticleHow to grant permission to specifc role to perform CRUD operations on a...
I've set up different roles and in my site and I want a specifc role to grant permission to perform CRUD(create, Read, Update, Delete) operations on a particular content type only. But I can't find any...
View ArticleAutomated login with LDAP always returns error
I have successfully setup LDAP module to authenticate users (and create new users). This is done through manual login form. Now I'm trying to enable automated single sign-on, but with no luck. I have...
View Article