Automated 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 ArticleSubdomain 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 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 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 ArticleGroup Module: Join & Remove users from user account/profile 2?
I added an entityreference to the user's Account so users can select what group they want to join (checkboxes). They check it and via a rule, it automatically adds them to that group. I did this for...
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 Articledrush perm-grant gives "The drush command 'perm-grant' could not be found"
I am using drush -u 15 perm-grant --roles="site administrator" but the command returns:The drush command 'perm-grant' could not be found.any ideas about that? according this documentation the drush...
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 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 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 ArticleIs a content type or profile a better choice?
I am working on a new site where I want to show information for art galleries, artists, museums, public art installations and art education. I understand both the content type and profile differences...
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 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 to create a link in my view of users to perform an operation like Active...
I am using Views to create a view for user management, which looks like in the image below:How to create an "Active" or "Block" link in my view which performs an operation for the selected user like...
View ArticleIs there a drush command to set permissions to true on ALL modules for...
I'm getting tired of having to go in the backend and click on some new module's permissions so that I can use them...Is there a drush command to enable permissions to true on ALL modules in on...
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 ArticleProfile2 regpath move account email field, into profile2 form and handle submit
I have a profile2 regpath displaying my profile2 form, and the system default account registration form below it. I need to move the account email field up into the container with the profile2 fields.I...
View Articleonly allow to upload profile pictures of a certain size
I want to limit the user to only upload profile pictures of 160x160 size. What is the simplest way to validate that the resolution of uploaded avatar picture is actually 160x160, and provide an error...
View ArticleHow to completely disable 'further instructions sent to email' message after...
How to completely turn off/remove message 'Further instructions have been sent to your e-mail address.' that appears after registration? I'm using logintobogan module and I can see some customization...
View ArticleDisplay message instead of redirecting to Access Denied page
I'm using Commerce Auction module for an auction site. I want to display a message when the auction time out occurs for a certain product and at the same moment the user clicks on place bid...
View Article