Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [user-groups]

Joomla User Groups are used to control what users are allowed to do on a site.

Filter by
Sorted by
Tagged with
1 vote
1 answer
65 views

Multiple Access Levels to an Article

We have a case in which we have created more than 30 user groups and we need more than 50 access levels for different articles or menus. I have estructured my ACL like this. Groups like: Group1 ...
Juanjo's user avatar
  • 11
0 votes
0 answers
16 views

How to delete root user group?

I transferred all my users from J3! to J4! using JLex Transfer. In my J3! site I had incorrectly created usergroups as root groups. These groups are no longer necessary in my new site. All I have ...
Kārlis Zikmanis's user avatar
1 vote
1 answer
56 views

[J4]Trying to add a user to Group with addUserToGroup()

I'm trying to use the UserHelper::addUserToGroup() to add a usergroup to a user. This is in my component when I publish one of my records, I want the owning user of that record to be added to a ...
Glenn Arkell's user avatar
1 vote
1 answer
29 views

Hiding a custom Joomla Admin User Group

We have a commercial application used by different companies. We created custom user groups and access levels (not using Author, Editor, etc). We have a group called SiteAdmin. This customer group has ...
Paloc's user avatar
  • 31
2 votes
2 answers
519 views

Joomla 4: get all users in a usergroup

I need an array of all usernames from a certain usergroup. How can I update my Joomla 3 component code for use in Joomla 4? jimport( 'joomla.access.access' ); $customers = JAccess::getUsersByGroup(2); ...
jfischer's user avatar
1 vote
2 answers
59 views

Joomla 3 - How to find if logged in user is registered?

I have the following code: <?php if ($user->id >= 1): // logged in ?> This checks to see if the user is logged in, but not which group the user belongs to. I'm trying to show content only ...
suge1w's user avatar
  • 31
2 votes
1 answer
37 views

Joomla don't see subgroups in the Articles tab (Joomla 4)

I set up three users. To make things easier, let's take the following names: X, Y, Z. Additionally, there are subgroups in the Registered group, let's call them X_group, Y_group and Z_group. User X ...
Konrad Siwczyk's user avatar
0 votes
0 answers
30 views

Where can I set the default user group?

Whenever I create a new user group it sets it to a user group we created called "Basic". This is very annoying as it means it doesn't show up a lot of the time. Is there somewhere we can set ...
Eoin's user avatar
  • 1,954
0 votes
1 answer
81 views

Custom User plugin for the group

Looking for the info to have a custom User plugin but instead it shows up in the User, it needs to show up in the (User) group (backend Joomla Administrator). There is a very good example how to ...
PWRM's user avatar
  • 1
1 vote
1 answer
41 views

What if I assign every user group to a Super User?

This idea came to me when I was trying to formulate a question on this site found here. Ok, bear with me, before you scream at me not to make every single user a super user, let me explain. This is in ...
thymaro's user avatar
  • 137
3 votes
1 answer
859 views

User Registration Assign to Specific Group

Joomla 3.9.14 I have a URL example.com/training/register, this displays a default Joomla user registration form. Within Joomla I have various user groups; - Guest - Registered - - Training - - ...
jonboy's user avatar
  • 3,603
1 vote
1 answer
515 views

How to query for users from a specific user group?

I want to list only the users with a group_id value of 10. Why doesn't the following query work? $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select('a.id, a.name, a....
Serdar's user avatar
  • 13
0 votes
1 answer
65 views

User group and access level

I want to ask about user group and access level. Since I'm new in Joomla, I still a bit confuse to make the user access. I hope someone can help me. Below I have 6 different menu and each will have ...
wan k's user avatar
  • 15
4 votes
2 answers
76 views

How to change parent group?

How can I see and edit the Group Parent setting for an existing User Group? When a user group is created, you set the Group Title and Group Parent. Going to the Edit Group page lets me change the ...
Aidan's user avatar
  • 183
1 vote
1 answer
1k views

Assign user to a specific group based on custom field selected

I'd like to assign a user to a custom group instead a some standard Joomla group, based on a dropdown choice. I've created a user group named "students". Then I added a new custom custom field for ...
valentina.a87's user avatar
1 vote
1 answer
78 views

Limit articles frontend creation by user group

I´m a bit puzzled where to start. This should happen: admins should be able to edit a Usergroup and define the amount of articles members of this group can create. Before a group member creates/...
Anatol's user avatar
  • 113
2 votes
2 answers
81 views

Why doesn't this 'usergrouplist' field show a label?

To elaborate: The component's configuration is supposed to show a field where i choose which usergroup gets access to a certain view. The fieldtype used is 'usergrouplist'. I've also tried 'usergroups'...
Glitch's user avatar
  • 297
0 votes
1 answer
33 views

Allow users to see only a selected set of data [duplicate]

I have a specific requirement and looking for a matching set of extensions. I have a Joomla website where I allow users to login and see a selected article for each of them. That means, when the user ...
Praneeth Peiris's user avatar
1 vote
1 answer
776 views

Custom User-Group: Giving access to users component administration

I created a user group with access to the users component. In Global Config, all access options are marked to "Allow": However, in admin, this menu item does not show up: This is the advanceed ...
Delete my account's user avatar
0 votes
1 answer
757 views

Admin interface menu not showing

I created a new usergroup (Administrator) to allow access to the backend, only to specific components in Joomla 3.7.2. These are the settings in Global Config for this group: However, when a user ...
Delete my account's user avatar
1 vote
1 answer
243 views

Adding fields to user group admin form

I am trying to write a Joomla plugin to add fields to the user group admin form. I have previously written plugins that have added a new tab to the user form. This is possible by having a plugin with ...
Simba's user avatar
  • 610
0 votes
1 answer
128 views

K2 show items to selected users

Using K2, I want to select the users of whom the K2 items would be shown to. How do I do this? So far I have created user groups and put them under registered users. Are there any components that ...
velvetInk's user avatar
  • 111
5 votes
1 answer
7k views

How to know which usergroup/specific access level user belongs to

For determining whether user is a super user, we do something like this : $user = JFactory::getUser(); $isAdmin = $user->get('isRoot'); if ($isAdmin) { echo 'You are an Administrator'; What would ...
saibbyweb's user avatar
  • 2,289
0 votes
1 answer
1k views

How to define access control for menu items?

I'm trying to use Joomla's Access Control List to limit the menu items in my website. There are mainly 5 menu items: Level 1 Start Level 2 Developing Level 3 Aspiring Level 4 Advanced Level 5 Elite ...
Dilum Jayawardhana's user avatar
2 votes
1 answer
75 views

Joomla membership with group administrators

I'm looking to implement a membership system where there are several different levels of membership. For example Institution Properties Name Address Telephone Owner (Joomla User) Richard Members ...
Sean Dooley's user avatar
4 votes
1 answer
2k views

How to create user group programmatically?

I want to new a user group by php, I think there should be an API ready but I just can't find an example code by google. I have the parent group name and ID, and the new group title is ready, what ...
Scott Tseng's user avatar
3 votes
1 answer
488 views

How to create two different types of registered users?

I have two sub user groups of Registered user group on my Joomla site. 1. Present Students and 2. Ex-Students I want some modules to be shown to the present students only but I can only set access ...
saibbyweb's user avatar
  • 2,289
2 votes
1 answer
438 views

How can I add my variables in user object

I am trying to create vendor panel. In that I need to identify the user is vendor or normal user. For that I need to add session variable or variable in user object. But how can I achieve that. ...
Jatin Raikwar's user avatar
1 vote
0 answers
81 views

Show logged in Joomla users as custom dimension in Google Analytics

Currently I'm tracking pageviews on my joomla website with Google Tag Manager. But I want to analyze in Google Analytics how my registered users use my website and how guest use it. This can be done ...
Wim de Ruijter's user avatar
0 votes
1 answer
575 views

Component not showing in admin top Menu only for `Editor` security group

I have created component using Joomla`s official guide. It works well except one thing: user with security group "Editor" can access and modify the component but cannot see it in admin top main menu. ...
Alex Ros's user avatar
0 votes
1 answer
195 views

Change Menu after Logging In

I have a test website currently using the Helix3 Quickstart - http://helix3.financialadvisersaustralia.com.au/ I have created a new User Group and a New Menu assigned to the new User Group. When I ...
Sam Potts's user avatar
  • 293
1 vote
1 answer
39 views

Joomla3 Loading two diffrent plugin for two diffrent user group in their profile page

I have two profile plugin (core profile and newly created profile5), How can I load these two plugin with two diffrent user group. (For Register type user load core profile and for Editor load ...
Harish Ojha's user avatar
1 vote
1 answer
146 views

Single Login to Multiple Areas

I am about to migrate a website from Adobe Business Catalyst to Joomla but one of the main items I want to check before doing this is the ability to have different "Restricted Areas" accessible from a ...
Sam Potts's user avatar
  • 293
3 votes
2 answers
2k views

Creating articles in front end. Status field is disabled and articles remain unpublished

I have a site were certain users can create, edit and publish articles on the front end. These users are using the default "Author", "Editor", "Publisher" user groups and permissions. They can do all ...
Typhado's user avatar
  • 153
2 votes
1 answer
547 views

Getting a blank page after logging into administration on non-SU account

I want to give certain users permission to access the administration panel, but no permission to modify things aside from that which I've specifically allowed. I created a group called "John" in ...
q3d's user avatar
  • 123
0 votes
1 answer
413 views

Pre select user group based on menu item being viewed

I am looking for a solution to pre-select the group a user will be added to depending on the menu item he is accessing the registration form. Something like 2 menu items with registration form. One ...
user3750757's user avatar
2 votes
2 answers
1k views

Bulk user delete on joomla 2.5

I have a joomla 2.5 portal, recently i was attacked probably by a SQL injection or something, the fact is that all my DB was filled up with messy articles and a lot of users, i already cleaned up my ...
Israelm's user avatar
  • 167
1 vote
1 answer
392 views

Hide module from custom user group

How I can hide module from custom Joomla group? I want module to be visible for registered users but hide it from paid 'premium' registered users.
Janne's user avatar
  • 11
5 votes
2 answers
177 views

It is safe to allow access to Joomla default Administrator user-group?

I need to allow access to an untrusted person to a site. I understand that the "Administrator" user-group is not allowed to upload or edit php files, install extensions, or any other stuff that ...
xavip's user avatar
  • 273
0 votes
1 answer
143 views

Find the link from access level back to user's usergroup

In my Joomla system there is an access level that grants permission to an area of the system. This access level is granted to several different user groups. In plugin code, I am at a position where ...
Simba's user avatar
  • 610
2 votes
1 answer
485 views

How to disable login screen

A web developer designed my site so that to get to a certain area in my site a user will need to login with a username and password. I can't see how the developer configured the area so that users ...
cpatte7372's user avatar
1 vote
1 answer
141 views

Why doesn't onUserAfterSaveGroup get triggered when editing groups as Administrator?

I'm having problems getting onUserAfterSaveGroup to fire on Joomla3.4.x I've published a system plugin and tested that it works using function onUserLogin(), but when I try to use function ...
TryHarder's user avatar
  • 2,340
1 vote
1 answer
197 views

What Joomla events are triggered when a usergroup is changed?

I've been looking at Joomla 3.x plugin events to determine if a particular event gets triggered when a user's usergroup is changed. Update-specifically I've been trying to detect an event that is ...
TryHarder's user avatar
  • 2,340
2 votes
2 answers
318 views

J3.3 Assigning An Article Multiple Access Levels

I need to set articles to multiple access levels, but currently all I've been finding is the drop-down selector for article access levels. I have four user groups: Solutions Authorized Retail ...
holycownow's user avatar
0 votes
1 answer
93 views

Hide a value or data on table

I'm using this Mshah frontend user manager extension. I have below table and I want to hide the "Registered" value from that column, is that possible? As you can see, the third column is a user group ...
Annie's user avatar
  • 43
0 votes
2 answers
1k views

How to list all users from certain user group in k2

I want to list all users from one of my k2 user groups for example I've user group named as "social team" and wonder to list all members belong to social team user group in k2? is that possible? How?
bungran's user avatar
3 votes
1 answer
373 views

Joomla group based access rights with multiple user roles

I am finding this difficult situation and unable to give any proper solution. A portal made on joomla has 3 types of users , 1 super admin , 2nd GroupLeader and 3rd GroupMember. A Groupleader can ...
wolvorinePk's user avatar
1 vote
0 answers
132 views

Is there a way to auto create an article after creating user group and access level?

I'm still new to Joomla so bear with me... I have many user groups and each of their access levels. For example, I will have two user groups for each department, Admin Manager and Admin. In the ...
Annie's user avatar
  • 43
2 votes
1 answer
544 views

Changing user group in onUserBeforeSave of user profile plugin doesn't work

I added following code in onUserBeforeSave of user profile plugin(plugins/user/profile/profile.php): if ($isnew) { if (!strcasecmp($data['role'], 'group0')) { $...
Rob Lao's user avatar
  • 185
6 votes
4 answers
4k views

How to get user group id by group name?

I am using JM3.4. I added some customized user groups. And I added a field let user select user group when registration. I am going to hack following code: // Get the default new user group, ...
Rob Lao's user avatar
  • 185