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 ArticleHow 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 ArticleHow to override template for a Profile2 page
I'm working on a project which request, for a particular type of user, the need to choose a different template for the main profile page (public page).I need to override the main profile page but I...
View ArticleWich 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 ArticleRedirecting a registration link in logintoboggan
I've got a register link and a log in link that is augmented by logintoboggan. All I want to do is redirect the register link from the user account form page to a new page I've just made. It seems very...
View ArticleIs 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 ArticleUser Import with inactive status
I have a site where we need to bulk import users into the system, however the client wants to be able to import the users into the system but have them inactive until a later date,The idea is that we...
View ArticleUsing Profile 2 with Entity Reference--How to display the user name and not...
I've reviewed the threads similar to this, and can't seem to find a definitive answer. I have a Content Type in Drupal 7 where I want to be able to associate multiple users to a content item. For...
View Articleview access permission
I have a problem with view permission, when I make a view in drupal 7 there is an option "access" when I specify the option eg:"view published content" all users that has the role of published content...
View Articlegetting the message 'Username should have a maximum of characters' after upgrade
we just upgraded from drupal 10.2 to drupal 10.4.4 and now when i try to edit or add a new user it says "Username should have a maximum of characters." even if the name has 8 characters. I tried to...
View ArticlePre-select Group Audience for Organic Groups
Here is my situation.I am using the latest version of Organic Groups on Drupal 7. Every user on my site is part of one group and one group only. Is there a way to make it so that when users are...
View ArticleHow can I view the IP addresses of visitors who view the home page of my site?
I need to gather the IP addresses of visitors who view the home page of the site. There are bots that bounce off of the home page thousands of times a day. The Statistics module makes the site too...
View ArticleUser registration without email address OR registration with pseudo-email...
I am programmatically creating users for the roles Parent (Adult) & Child (minor). During registration, minors (Children) typically will not have email addresses but Drupal user registration...
View Articlehow can I get a list of all of the permissions a user has?
if I have the current user object, how can i get a list of all of the permissions he has in drupal 8 custom module ? I dont want to check for one particular permission which would be...
View ArticleMultipage registration form with Ctools
I'm trying to follow the tutorial on multipage user registrations at http://www.grasmash.com/article/building-multistep-registration-form-drupal-7-using-ctools, but I'm doing something wrong. As it's...
View ArticleInteger user form field with min 11 digits and max 11 digits
I need an integer form field with has a validation of min 11 digits and max 11 digits. In other words; the user has to fill in an 11 digit code.How do i make this field and validation?Update:I managed...
View ArticleSet the default value for a password field on a custom form
I have created a custom user register form. I want to set the default value for the password, and confirm the password fields.My point is that, whenever form error occurs, the password fields get...
View ArticleCan't login: user/login redirects to index page
My Drupal 7 user, user login and admin pages all redirect to the index page. I am unable to login at all. This problem came up recently after the site had been unchanged for months. I can't think of a...
View ArticleCustom user profile displays
I have added some extra fields in User entity like address, twitter account e.t.c. The requirement is that each user should be able to choose whether his profile will be completely public to other...
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 Article