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
2 answers
22 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 ...
user avatar
  • 31
2 votes
1 answer
32 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 ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
  • 1,829
0 votes
1 answer
64 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 ...
user avatar
  • 1
1 vote
1 answer
37 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 ...
user avatar
  • 137
3 votes
1 answer
603 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 - - ...
user avatar
  • 3,501
1 vote
1 answer
283 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....
user avatar
  • 13
0 votes
1 answer
50 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 ...
user avatar
  • 15
4 votes
2 answers
63 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 ...
user avatar
  • 183
1 vote
1 answer
947 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 ...
user avatar
1 vote
1 answer
68 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/...
user avatar
  • 113
2 votes
2 answers
76 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'...
user avatar
  • 287
0 votes
1 answer
32 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 ...
user avatar
1 vote
1 answer
745 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 ...
user avatar
0 votes
1 answer
681 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 ...
user avatar
1 vote
1 answer
232 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 ...
user avatar
  • 610
0 votes
1 answer
119 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 ...
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 ...
user avatar
  • 2,269
0 votes
1 answer
967 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 ...
user avatar
2 votes
1 answer
71 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 ...
user avatar
4 votes
1 answer
1k 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 ...
user avatar
3 votes
1 answer
444 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 ...
user avatar
  • 2,269
2 votes
1 answer
403 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. ...
user avatar
1 vote
0 answers
80 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 ...
user avatar
0 votes
1 answer
542 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. ...
user avatar
0 votes
1 answer
192 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 ...
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 ...
user avatar
1 vote
1 answer
129 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 ...
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 ...
user avatar
  • 153
2 votes
1 answer
503 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 ...
user avatar
  • 123
0 votes
1 answer
373 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 ...
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 ...
user avatar
  • 167
1 vote
1 answer
373 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.
user avatar
  • 11
5 votes
2 answers
169 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 ...
user avatar
  • 273
0 votes
1 answer
126 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 ...
user avatar
  • 610
2 votes
1 answer
473 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 ...
user avatar
1 vote
1 answer
127 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 ...
user avatar
  • 2,330
1 vote
1 answer
174 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 ...
user avatar
  • 2,330
1 vote
2 answers
297 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 ...
user avatar
0 votes
1 answer
77 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 ...
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?
user avatar
3 votes
1 answer
369 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 ...
user avatar
1 vote
0 answers
130 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 ...
user avatar
  • 43
2 votes
1 answer
496 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')) { $...
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, ...
user avatar
  • 185
3 votes
2 answers
275 views

User groups is null after edit user joomla 3

I have upgraded my Joomla 2.5 to Joomla 3. After edit user, user groups will be empty. $user = JFactory::getUser(); $groups = $user->groups(); Is there anyone who faced same problem? I checked ...
user avatar
  • 387
2 votes
1 answer
2k views

Content Per User

How would one go about creating a user account and adding content for that specific user only. I want to upload videos that are user specific. I would like to make this as easy as possible, maybe ...
user avatar
1 vote
2 answers
969 views

How to Create a Foreach Loop that Returns Users In a Specific Usergroup

My goal is to create an html select box via a foreach loop that returns all users within a specific custom usergroup (ex. usergroup = Agents). Once, the query pulls in all records (users) for that ...
user avatar
  • 65
0 votes
2 answers
7k views

How Can I Add Custom User Fields To the User Manager? [duplicate]

I would like to add custom user fields such as: address, phone, etc to the User Manager section of my Joomla! installation for each of my current, as well as, new users that I setup on my website – so ...
user avatar
  • 65
1 vote
2 answers
47 views

Are Mutually Exclusive User Groups possible?

Is it possible to prevent a user being in a particular User Group if they are already in another? e.g. A user cannot be a in "Authors" if they're already in "Administrator"? (not necessarily a ...
user avatar
  • 7,665