Repository navigation
2 little request for user / guest handling #47543
joomod
announced in
3. Approved Features
Replies: 2 comments 2 replies
|
The Joomla Maintainer Team decided at the 22.04.2026 meeting to accept part 1 as new feature. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
may be I haven't found the right way (functions) but as far as I see
1. Joomla updates the 'lastvisitDate' column for a user just when a users logs in and the session starts,
so there is no possibility to see and react on the date when a user had visited last time
so I added myself a new column 'priorvisitDate' and added this line in the core of table/user.php
->set($db->quoteName('priorvisitDate') . '=' .$db->quoteName('lastvisitDate'))just right before
->set($db->quoteName('lastvisitDate') . ' = :lastvisitDate')so the lastvistDate is saved before it is overwrittenmay be it is possible (and other people find it useful) to add something like this to some next updates.
2. sometimes it is nice to find out how many guests visits your site, but the casual guests are a mix-up between
human guests and robots.
Jommla has the integrated function to find out robots (app->client->robot), so why not counting them?
All reactions