Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [user]

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

3
votes
1answer
41 views

A solution to enter Username instead of E-mail for “Reset Password”

I currently work on a project where all the users have unique usernames but not unique email addresses. This is a problem when using the Reset Password feature because out of the box you need to ...
2
votes
1answer
25 views

Unable to approve user registrations via email link

Since the latest update of Joomla I can no longer approve a user via the link in the registration approval email. As of 3.8.13, Joomla is securing the process on approving an user after an email ...
1
vote
1answer
32 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 ...
0
votes
2answers
27 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
1answer
20 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
25 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 ...
0
votes
1answer
34 views

How to assign access level and send automated email on each new user registration?

When registering a new user I have to choose between the options you see in the image. So when a new user chooses one of the three options, I must select the corresponding access level and send an ...
0
votes
0answers
13 views

Limiting Products To Country/Postcode

I have developed an eCommerce website for a client of mine and have ran into an issue regarding particular products. My client sells products that are only allowed to be sold to the postcode in which ...
1
vote
1answer
36 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 ...
0
votes
1answer
26 views

Checking user lifetime

I want to add some data, when user just login and remove this data, when he logout by himself or by the end of lifetime. Where is the script of checking lifetime situating? Joomla 3.8
1
vote
1answer
25 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
17 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
66 views

Find user by email

How can I look up a user by email? I thought that JTable::load would do it, but it returns a weird data shape: $user = JTable::getInstance('User', 'JTable', array()); $user->load(array("email" =&...
0
votes
0answers
28 views

Override template result of joomla.searchtools.default

I have this function working on a listing view of users in Joomla backend: JLayoutHelper::render('joomla.searchtools.default', array('view' => $this)); I want to change the placement of some ...
2
votes
2answers
104 views

Get contact details from article override

I need to display the contact information of a contact on an article override (addresse, phone number...). I can get the user with : $user = JFactory::getUser(); but how can I get a user contact ...
0
votes
1answer
153 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 ...
0
votes
1answer
62 views

where is frontend user parameter in Joomla 3.8

I want to hide some fields from Joomla front-end Profile editor (Editor, Timezone, Front-end Language). There was a post on this exchange in 2014 that describes the procedure: Users >> User Manager >...
1
vote
0answers
131 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 ...
2
votes
2answers
44 views

Restrict unregistered users from accessing the whole joomla site

How to Restrict unregistered users from accessing any of the Joomla website?
0
votes
0answers
20 views

show the name and email of the author in the article

i need show the name and email of the author in the article I found this post but I dont know how to use it. maybe someone can explain to me https://stackoverflow.com/questions/16962070/get-the-...
0
votes
1answer
189 views

Restore deleted user

I have a Joomla system (v3.8) which is running well. Unfortunately, however, one of our administrator user record has accidentally been deleted. I need to restore it because we're now getting errors ...
3
votes
1answer
145 views

Fake users created without using site registration form but still using overrides?

I am working with a Joomla 3.7.5 site. The registration scheme has always been admin activation from the start. Right now there is a constant deluge of fake Russian user accounts. They aren't getting ...
0
votes
1answer
165 views

How to remove optional fields from registration form

In Joomla registration form, how do I remove the optional fields? The User-Plugin is disabled. *
5
votes
2answers
139 views

Bypass password reset 'confirm' page

The standard Joomla password reset process takes three steps: Enter email address and request reset token Complete the 'confirm' page with username and reset token (either by copying the token from ...
0
votes
1answer
485 views

creating users programmatically causing conflict with logged in username display

Okay, so we are currently using joomla's user class to create new staff, In our staff page. It works well and successfully creates the new user account. But we have an issue, because the user account ...
1
vote
0answers
9 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
1answer
26 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
0
votes
1answer
255 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: ...
0
votes
0answers
62 views

Plugin “Hello World!” for User onUserAuthorisation

I am trying to create a plugin to make some database queries from the event onUserAuthorisation. Right now I am just trying to set up a "Hello World" style plugin, because I am not sure yet that my ...
2
votes
2answers
238 views

Menu item - Articles List - Filter by user

I'm very new to Joomla (version3). I have two registered users. When any registered user is logged in they can see a new menu which contains an item to show the Articles list. This works as expected....
1
vote
1answer
97 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'); $...
4
votes
1answer
251 views

How to customize user registration in Joomla 3.7?

Now that Joomla 3.7 supports custom fields, can anyone point me to documentation or a YouTube video that outlines how to customize user registration? I assume that additional work is also required to ...
1
vote
1answer
246 views

Override the Edit profile form allowing edit of contact fields

Each user in my Joomla website has an associated contact, with photo, link, and bio (in the miscellaneous information field), etc... I would like to override the edit profile page (com_users/profile/...
0
votes
0answers
267 views

How to modify the display of custom fields of user's profile

I've added some custom fields to Users. There's a menu entry for User Profile in the Front End. I'd like to change its display i.e. see the custom fields before the Basic Settings. I didn't find a way ...
0
votes
1answer
257 views

How to use joomla password verification method in a external script

I am developing a script that is using Joomla!'s users table for the user authentication ... but I am facing an issue with the verification of the password. As you know Joomla! uses Bcrypt for ...
0
votes
1answer
162 views

change default settings for “Require Password Reset” in User Manager

I want to make the default setting for Require Password Reset in the user manager > new user creation to yes instead of no. is this possible? where would i go about it? is there an admin view I could ...
1
vote
2answers
161 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
43 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
1answer
39 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 ...
4
votes
1answer
51 views

Custom action on User block operation in user management

I am developing an application in which I want to perform some action on user block operation from Joomla User management screen. In custom MVC component we are doing with the use of file which is in ...
1
vote
0answers
33 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
1answer
59 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 ...
6
votes
2answers
482 views

How to avoid fake users to register my Joomla site [duplicate]

I have a Joomla site that allows users registration. Form registration uses captcha plugin that comes with Joomla. The problem is that I am constantly receiving fake registrations. Most of them, ...
1
vote
1answer
402 views

User Plugin onUserAfterLogin

I am writing a custom user plugin to write the session id and user id on a txtfile(This will be in turn used for some of my perl systems) after the user logins on Joomla. So far i have managed to ...
2
votes
2answers
50 views

Is it possible to know the time spent by a student on a particular topic?

I want to know how much time did a student spent on reading or viewing a topic. Is it possible to know? Please tell me
3
votes
1answer
661 views

User Enabled but not Activated

I could see few users in Joomla User Manager as below Enabled = true Activated = false Last Visit Date = 2015-10-31 12:06:20 It looks weird, how a user is enabled without activation? Note: Right ...
5
votes
3answers
1k views

Add field to Users table of joomla

Can we add extra field directly to users table? We have one concept like user can get notification or not. Here if we add data to profiles field we can not compare that field directly in SQL query as ...
5
votes
2answers
193 views

Assign template to user

Thanks in advance for your response. I would like to assign (as we can do for admin back-office template), assign to user or a group of users a specific template ? It's possible ?
5
votes
1answer
3k 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 ...
4
votes
1answer
419 views

Adding text to registration form

I am running Joomla 3.6 and I just want to add some informational text at the top of the registration form. I have seen suggestions about language overrides but that doesn't mean anything to me. With ...