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 ArticleAllow groups of users to edit a single Webform
I need to enable groups of users to edit one Webform so that they can collaboratively complete a questionnaire. I am not concerned with two people editing at the same really.I've seen mentioned the...
View ArticleViews and contextual filter as user id from url
I want to create some views that shows the content created by the user, content flagged by the user and so on. I also need that when user a views user b then user a can see the content created by user...
View ArticleChange max length of signature field to more than 255 characters
How can I change the max length of the drupal 7 signature field to more than 255 characters? I've already changed the sql data type from 255 to varchar(900), yet drupal still shows the error, as soon...
View ArticleAccess denied for all users, sessions table empty, access log shows NULL uid
My Drupal 7 site has been up and running for a couple years without issue. I went to log in as admin today to check for security updates and had the following experience:When I first browse to the page...
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 ArticleChanging 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 ArticleRemoving orphaned paragraph references from the user
SetupDrupal 9 site has Users and each user has a Paragraph that contains "Phone" data.User => Phone Paragraph connection is made via field $user->field_phone_para.IssueSomehow database has gotten...
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 ArticleFlood 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 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 Articletrouble 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 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 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 ArticleAlter existing routes doesn't work
I'm working on a D8 project trying to add custom access rules to some pages.I want to restrict access to specific users based on their id.I checked this and seems easy but I can't make it work!I want...
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 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 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 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 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 Article