Questions tagged [user-groups]
Joomla User Groups are used to control what users are allowed to do on a site.
63
questions
0
votes
0
answers
12
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 ...
1
vote
1
answer
38
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 ...
1
vote
1
answer
26
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 ...
2
votes
2
answers
352
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);
...
1
vote
2
answers
50
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 ...
2
votes
1
answer
35
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 ...
0
votes
0
answers
29
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 ...
0
votes
1
answer
76
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 ...
1
vote
1
answer
39
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 ...
3
votes
1
answer
822
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
- - ...
1
vote
1
answer
480
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....
0
votes
1
answer
64
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 ...
4
votes
2
answers
72
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 ...
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 ...
1
vote
1
answer
77
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/...
2
votes
2
answers
79
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'...
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 ...
1
vote
1
answer
769
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 ...
0
votes
1
answer
741
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 ...
1
vote
1
answer
241
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 ...
0
votes
1
answer
127
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 ...
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 ...
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
...
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 ...
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 ...
3
votes
1
answer
481
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 ...
2
votes
1
answer
434
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.
...
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 ...
0
votes
1
answer
569
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.
...
0
votes
1
answer
194
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 ...
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 ...
1
vote
1
answer
144
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 ...
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 ...
2
votes
1
answer
529
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 ...
0
votes
1
answer
403
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 ...
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 ...
1
vote
1
answer
389
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.
5
votes
2
answers
174
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 ...
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 ...
2
votes
1
answer
484
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 ...
1
vote
1
answer
137
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 ...
1
vote
1
answer
190
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 ...
2
votes
2
answers
312
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
...
0
votes
1
answer
89
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 ...
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?
3
votes
1
answer
372
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 ...
1
vote
0
answers
131
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 ...
2
votes
1
answer
543
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'))
{
$...
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, ...
3
votes
2
answers
277
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 ...