Basic Password Reset steps not working
I have reviewed other similar posts, but none matches my problem.I built a Drupal site based on an old ASP.NET site. I imported the users from the old DB (which had passwords in plain text!). Most...
View ArticleHow to make a page visible only to users with permission to use the...
I have created a basic page which I only want to be viewable by people who have access to the administration theme. I have given the page a path of admin/shipping-help but to my surprise the page is...
View ArticleDefine permissions for Actions?
function custom_mod_action_info() { return array('custom_mod_delete_user_cats' => array('label' => t('Delete a users cats'),'type' => 'user','configurable' => FALSE,'triggers' =>...
View Articlenodeaccess hidden main menu navigation
I have enabled the nodeaccess module for my Drupal 10 site and trying to figure out how to display the site menu navigation for certain user roles. In Drupal 7, there was a module called Always...
View ArticleHow do I add fields and hide them from client?
I added fields to a Client profile using Profile2, such as first name and last name. But I added another fields, let's call it "Assigned Consultant". But the "Assigned Consultant" field...I don't want...
View ArticleHow to show view for submitted result of a webform by a user
How i can show all submitted value of a webform by a user in a view in a tab of a user profile section.Iam using drupal 6.For example when user click on a tab say form on his profile the webform value...
View ArticleDisplay user list with number of comments and forum posts
I want to create blocks to display a list of all users with their number of comments and number of post on forum.In SQL, something like that :SELECT u.name as user, COUNT( n1.nid ) as 'number of post',...
View ArticleHow to use the user ID in the "more" link of a views block?
I created a media field for users. Users can therefore add media to their profile.I want to display their media on their user page.I created a media view block with a relationship "Connects each User...
View ArticleHow to import multi-value fields into profile2 using the Migrate module
I have users each with a profile using the profile2 module. I am using a cookbook based on the Migrate framework to create the users and import profile data.Sample CSV data would...
View ArticleWhy is the login redirecting to the access denied page?
This question has been asked before but I see only D7 versions of the question, and none of their answers have helped me in D8.I log in perfectly fine with Chrome or Firefox, but IE 11 redirects to the...
View ArticleHow to handle multiple stores and multiple store admin users
Is it possible to create a restaurant(multi-store) online delivery system using Drupal commerce and OG? It has multiple stores(restaurants) in different locations which can be manageable by individual...
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 ArticleHow can i change RealName / User account link destination?
I'm using RealName module in D7 to show real names on nodes and in comments and would like to link the real name [user:first-name] [user:last-name] to a custom content type (a 'profile' page), instead...
View ArticleCan i add my custom user field to a user mail template? [duplicate]
I added a custom user field (/admin/config/people/accounts/fields) with machine name field_about_user to my D9.5 site (yes i know, it needs updating...).Now i tried to add that field to the Mail...
View ArticleSend an email when the roles are changed
I'm trying to send an email to users after their role has changed. So far, the rule is triggered every time the profile is saved (even without role change); I suspect that the data comparison is not...
View ArticleSync user roles across websites
I am using Drupal 7. I want to sync my Drupal website roles on 2 websites on the same top level domain, as in, one is example.com, the other is other.example.com, how can i achieve this? Bakery module...
View ArticleHow do I add administrator approval on webform submitted data?
I have the functionality that when any anonymous user submits a webform, then I display the submitted webform data in my new page, but I need admin approval before that submitted data displays on...
View ArticlePrevent multiple registrations from the same email using + character
Gmail and other email services allow users to extend their address using the + (plus) character.For example, mail tospamme@gmail.comspamme+sideways@gmail.comspamme+tomorrow@gmail.comwill all be...
View ArticleHow do I make an activation link on registration expire in 15 minutes?
I have user registration and forgot password mails sent to the user.I want 5 minute expiration for forgot password and user registration. Now the forgot password will expire after 5 minutes but new...
View ArticleFilter by field user role permission
I have created View permission field in the events content type. Its field type is Role, so I can select which roles can see the node.This works fine, but when I add events content type in the view...
View Article