Questions tagged [user]

This tag is for questions about users, user management, access levels and other user related topics.

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

Joomla User Registration Form Plugin not working - simple registration (PlgUserSimpleRegistration)

I try to have the plugin working to have a email/password only on the registration form. Joomla Registration: Remove unneeded fields I install the plugin correctly with XML below: <extension ...
1
vote
1answer
28 views

How do I view the search history?

Joomla has an internal search on my site, so I want to see what visitors (not logged in) are searching for without resorting to outside software. How do I see past searches that were searched in my ...
1
vote
1answer
135 views

How to write the logged in user id in Plotalot queries?

I am trying to use plotalot to graph user results. The program only uses mysql queries to pull data. How can I pull session specific user data with a mysql query? Normal Joomla session variables ...
1
vote
1answer
870 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
2answers
210 views

Joomla 3.6.5 & 3.7.0 Strange User Session Behavior

Just today, an issue arised with a Joomla 3.6.5 installation I have. A user was seeing other connected users' details. Something went wrong with the session table (I suppose, because I checked and ...
1
vote
1answer
54 views

Logout within plugin interfering with other plugins

I have a user plugin which performs some tasks and then logs the user out using $app->logout($userID, []);. This is intentional and part of the plugin's functionality, and works well if no other ...
1
vote
2answers
1k views

Allow registered users post content or articles - Joomla 3

Im looking to allow users to post information on a page. I understand I can give them author rights but I only want them to be able to edit and post content on the 'Submit' page and not the other ...
1
vote
2answers
937 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 ...
1
vote
1answer
78 views

How can I add tracking of user logout time to User Actions?

I frequently want to check if a particular set of users are currently logged into the back end (administrator side) of my site (e.g. so I don't do anything disruptive while they are logged in) and, ...
1
vote
1answer
406 views

How can I add custom user field values to an article?

I have created a custom user field named "Gender". How can I show this field in an article? I can only manage to show: username, name, email and User Id Here is my current Sourcerer code to access ...
1
vote
1answer
27 views

I need to record some datas in user params when submit login

I have a login page and I need to perform some styles for users choice. Then, when user select some preset style, the website changes the style. I need to do it recording as some user params or in ...
1
vote
1answer
331 views

Delete row from custom made SQL when deleting article in Joomla

I´m still new to Joomla and to coding SQL. I was thinking about how I should manage a big system I made with information that is saved in a sql table, that contains some user input and the "id" of an ...
1
vote
1answer
744 views

How do I override an .xml file in a Joomla component? [duplicate]

I’d like to override some files (.php and .xml) in /components/com_users/models. Can this even be done? Or should I try and make a modified/renamed copy of com_users? What I am trying to do is: ...
1
vote
1answer
239 views

How to create a SuperAdmin via JUser?

I am trying to create a new SuperAdmin via JUser: $user = new \JUser(0); $user->set('password',\JUserHelper::hashPassword($password)); $user->set('username','administrator'); $...
1
vote
1answer
82 views

How to update field defination of id from int to varchar in #_users table structure

I am creating a standalone application and a central server, both use common database schema. Central server is attached and managed with joomla3.x UX. Since any user can register through offline ...
1
vote
1answer
165 views

Popup box asking users to register [closed]

I'm looking for a Joomla 3 extension that requests new visitors to create an account in my site with a Popup. I'd like to offer an e-book in exchange, so the popup should have an area to show how the ...
1
vote
1answer
370 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.
1
vote
2answers
169 views

Display Extra Fields only to Certain Users or Access Levels

I have a series of extra fields (prices) for my K2 items that I only want to show to logged in users. To add more, I need to show one field to one User Group (price A) and a different field to a ...
1
vote
2answers
131 views

How to add simple visitor interaction in joomla 3x?

I have a download page on my website. I would like to know who downloaded the content so I need to put this behind user login. Free registration is required, and by providing details like email they ...
1
vote
1answer
643 views

Adding select user field in com_content to assign article to specific user

I am working on a student management system. How can I add extra select field (e.g. select user, select class.) to com_content, so that I can assign the article to the specific student (e.g. mark-...
1
vote
1answer
75 views

Show Subsribed Kunena Threads based on logged in User ID

I am trying to show all subscribed Kunena threads based on the current logged in user. Kunena stores the subscribed threads in the '#__kunena_user_topics' table, I've written the following but it's ...
1
vote
2answers
2k views

Check on frontend if user is logged into backend

I want content managers to see an edit button on the frontend of my websites. When I use this on the frontend: JFactory::getUser(); I get a guest user, also if I'm logged in into the backend. Is ...
1
vote
1answer
3k views

How to Access User-Profile Component Data via PHP [duplicate]

I am using Joomla! v3.3.3 and I have just enabled the "User-Profile" component. How can I access and/or echo the "User-Profile" component data via PHP, such as: address1, city, website, etc? I ...
1
vote
1answer
79 views

How to use 1 administrator account for multiple sites?

I need to find a solution for joomla backend administrator login to make easier for multiple site. Let`s say i have a dozen of Joomla sites and their administrator account is XYZ and the password is ...
1
vote
1answer
16 views

Event for user creation in administration

Is there an event like onUserCreation() for the backend in J3? So if an administrator creates a new user, specified code (e. g. from plugin) is executed. In the API guides I didn't find any obviously ...
1
vote
1answer
45 views

How to prevent spam registration?

Every month there are hundreds of malicious users (most of the registering emails are from some Russian domain) registering my site. This is mixed with scores of authentic users. I have already turned ...
1
vote
1answer
77 views

Can't display Extra field (Date of birth) when logged in as Registered user

I'm pretty new to Joomla, so sorry if this sounds silly. I am using Extra Field "Date of Birth" from UserProfile in this code: jimport( 'joomla.user.helper' ); $user = JFactory::getUser(); ...
1
vote
1answer
95 views

Redirect Working on Module Not Menu Item

Joomla 3.9.19 I have a login module and in the Login Redirection Page I have selected a menu item > single article. This redirect works fine. I also have a menu item type > login form. In the ...
1
vote
1answer
208 views

Session Management Across Multiple Devices

Today users wish to be logged in across multiple devices. The fact that Joomla signs out a user from all devices when one device was signout is driving users crazy. Can someone please help me, and ...
1
vote
1answer
163 views

How to use "onUserAfterLogin" Event?

I want my users to get an email when they login for the first time. I am thinking to create an array to store userids that have logged in before. When users login, compare their userid with the array, ...
1
vote
1answer
153 views

Expiring a User account after creation?

We have some files we need to give people access to for a short period of time (maybe 1 month) and we want their account to automatically be set to expire 1 month from when they register. I was ...
1
vote
2answers
27 views

User Showing in User Manager but not Data base

Problem, users are showing in User MGR and they can login, but the users are not showing in the data base. I've created new database and reinstalled same issue, Tried creating a test user with the ...
1
vote
1answer
50 views

Load joomla to a computer

Can I download joomla.org and templates to my computer to build my web site on the computer prior to loading it to my server? Thanks
1
vote
1answer
43 views

Users not being redirected on registration

When users are registering on this page: http://www.greatbritishvoices.co.uk/create-an-account/ The account is being created in the backend of the site but the page just refreshes itself as if the ...
1
vote
1answer
118 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 ...
1
vote
1answer
319 views

Joomla - Moodle Integration - User relationships in Joomdle

I'm building a hybrid Joomla / Moodle system using Joomdle to integrate the two platforms. The system will be used by staff in a large organisation. In Joomla, users will be divided into groups ...
1
vote
1answer
2k views

Is it possible to disable the Author profile in K2?

as title goes, I'm trying to disable the Author page functionality from K2. Simply put I don't want any available author links in articles nor the possibility to access author pages. On this last ...
1
vote
1answer
4k views

How to set login session in Joomla 3 as persistent cookie?

I´m specifically looking for a way to make the login session persistent so that a user is kept logged in even after closing his/her browser. Per default the login session is always terminated ...
1
vote
2answers
1k views

How to add extra fields to the activation email?

I'm trying to edit the Registration email admins get when users sign up. I'm using a plugin called www.easy-profile.com which allowed me to add additional fields to the registration that I've called "...
1
vote
2answers
92 views

403 Error Page Alternative for Already Registered Users

Joomla 3.9.24 There's a similar question here but it deals with changing the language string, whereas I'd like to change the page content and / or redirect. I have allowed user registration on my site ...
1
vote
0answers
16 views

How to search on user_id in cb user lists?

We want to use the id of users for our invoicing. I've been able to display the user id field in lists and on the logout screen without any problems. However, we also need to be able to search users ...
1
vote
0answers
33 views

writing my own code to import users

I need to batch create lots of users and I have their emails and some profile details like phone number and address. This data is in a google sheet. I just need to generate usernames and set initial ...
1
vote
3answers
293 views

How to add the current user's user id in query of a custom field for a plugin?

If I hardwire a created_by clause in a joomla sql custom field, the query works as it should (for this specific userid the clause is, and created_by = 305): SELECT id AS value, title AS text FROM #...
1
vote
2answers
98 views

Individual user fine grained ACL is it possible in Joomla! 3.x

I was wondering if it was possible in Joomla! 3.x to have permissions down to individual user level. Eg: user A can see item X but not user B even if user B is in the same group or have the same ...
1
vote
0answers
376 views

Account activation link not working

I recently performed an upgrade of a bunch of extensions on our Joomla site (the site is running Joomla 3.8.6 and was upgraded from 3.8.5 at the same time). I tested the updates on a stand-alone test ...
1
vote
0answers
12 views

Change possition on Registration form of extra fiels added to users

I have added an extra field for membership number to Users but I cannot see how to specify where the field is displayed on the registration form. It comes as a separate section at the end after the ...
1
vote
0answers
34 views

Joomla3 specific article permissions on front end

What I would like to do is create a basic wiki using Joomla articles and categories. On the front-end when someone creates an article I would like for them to be able to give other registered members ...
1
vote
0answers
35 views

Found something weird in my _users table. Wondering if hacked or if part of the joomla code might the culprit. And most important how to resolve.

I noticed that I couldn't log into the back end or front end of a joomla 3.5.1 installation. After hours of trying to figure it out, I finally went to phpmyadmin and viewed the _users table to reset ...
0
votes
2answers
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 ...
0
votes
1answer
963 views

Get user info and send email from button

I need to create a module with just one button (like Join Us). When a user click on this button, an email will be sent to the user and to administrator. In this email must be written the username who ...