emailing 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 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 ArticlePermission 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 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 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 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 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 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 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 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 do I reroute a logged-in user after page access denied at user/login?
My Drupal 6 site has the login form at /user/login. If I'm logged in already and I click it, I'm sent to the Access Denied page (though the login URL stays the same).I'd like to send such users...
View ArticleAdding fields, account registrations and editing profile
By default Drupal has a profile system in place that stores user name, password and email.Profile2 extends this to allow specific roles upon account creation as well as more options for adding...
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 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 ArticleRole cannot create or edit book content
I feel like I am missing something obvious that I just can't quite put my finger on.As an administrator, I see "Add Content > Book page" and "My Workbench > Create Content > Book page" in the...
View ArticleHow to get "user pictures in posts" to not be greyed out/ disabled?
Setup:Drupal 9 with Claro admin theme and Olivero default theme.Scenario:When I navigate to admin>appearance>settings>global settings, under the first section "page element display", the first...
View ArticleHow to automatically mark articles as read for the current user
On Drupal 11 I have a content type "article", I created a view that lists the articles and displays "You have 16 articles left to read".This view does nothing but list all the articles, read and...
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 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 ArticleWhy 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