User Info
http://codex.gallery2.org/Gallery3:Modules:user_info - Download & Screenshots
About
Logs User ID, User Name, IP Address, Date and Time, and Action when users Login, Logout, Failed Login Attempt, Admin Re-Authenicate, or when a user registers.
Features
- Logs User Id, Username, IP Address, Date & Time, and the Action
- Can click on the Username(if valid) and open the User Profile Page
- Can click on the IP Address to do a reverse lookup.
- Choose Default Records per Page
- Choose Default Sort Column
- Choose Default Sort Order
- Choose to use the Gallery Date & Time or your own custom Date & Time
- Choose what you want to log.
- Choose the color of the Action
INSTALLATION
A link to the latest version can be found at the top of this post. Once downloaded upload the user_info folder to your Gallery3 installation. Once uploaded log in with your administrator account and proceed to the Modules section. Check the box next to User Info and click Update at the bottom of the page. Once installed under Settings will be a new User Info page.
KNOWN ISSUES
CHANGE LOG
- Version 1
- Version 2
- v2.0 - 01/16/2011
- Fixed the Installer file to uninstall correctly.
Posts: 27300
Cool! Thanks for the contribution and the codex page as well.
I have made some updates:
http://galleryproject.org/node/111914#comment-405564
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 84
After update gallery3 from git today, admin dashboard can't display correctly.
If I disable the module, it display well.
The module may be reviewed to work with current gallery 3 core.
Posts: 56
It doesn't work with gallery 3.0.2 !!
Posts: 25
I just saw the update to Gallery and will look into why it doesn't work.
Thanks for letting me know.
Posts: 9
Any luck getting this to work with G3.02? Was looking forward to its capabilities. Thanks.
Posts: 9
Also, the information this module provides will be located on the Dashboard? I see you can add to the center or the sidebar, just wondering if that is the only place. Any chance this module can trigger an email on new user registration? (i know it's a long shot but worth asking)
Posts: 4
I second the request, I relied on the information that this module provided.
Posts: 32
Added to G3.0.2. I could modify some settings in the admin panel.. but I don't see where the user info is displayed.
Posts: 1
I realize this is an older thread, but has any progress been made on fixing User Info for G3.0.2? Mikedbom: I modified the user registration module to email me when someone registered. If you want it I can post a link to download it. A warning, it is a VERY poor modification. Everything is hard coded into the files.
Posts: 84
@Charles08, do you have any update? It is a really helpful module for admin to log user actions. But gallery admin dashboard can't display well if enable this module and add it to center or sidebar area. Thank you.
Posts: 27300
I was able to get this to work by resetting the advanced options:
http://gallery.menalto.com/node/102327#comment-375181
then removing one block and then the new block shows up with the one I deleted.
not sure of the root cause but it did work for me.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
oh and line 48 of helpers/user_info_installer.php
module::set_version("user_info", 2);
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 84
@floridave, unfortunately these two modifications can't solve my problem.
Finally, I find the problem is on the code in modules/user_info/views/admin_block_user_info.html.php, line 24
<td align="center" colspan="6"><?= $pager ?></td>
If I remove "<?= $pager ?>", i.e.
<td align="center" colspan="6">1</td>
The dashboard is displayed okay, user_info lists the log but the pagination doesn't work any more. There is still a problem but I don't know how to solve it.
Posts: 27300
nor do I as I never use this module and don't see this error you talk about.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 158
Still wont work after floridave's tips. (In 3.0.2 and greydragon)
THis is my dashboard after I did what floridave is talking about:
[img]http://bildr.no/thumb/996890.jpeg[/img]
My other sandbox
Posts: 18
I made these changes to get it to work:
line 48 of helpers/user_info_installer.php
------------------------------------------
module::set_version("user_info", 1);
change to
module::set_version("user_info", 2);
------------------------------------------
as per floridave's post above and
line 21 of views/admin_block_user_info.html.php
------------------------------------------
<? if ($number_of_records) { ?>
change to
<? if ($number_of_records > 0 ) { ?>
------------------------------------------
Dave Harris
This space accidentally left blank
Posts: 1
I have tried these modifications (which seem to be included in the latest version) but still get the error as described above. Anyone any sugestions?
Posts: 8
Are there any progress in removing this issuse?
Posts: 1
hi..
are there any solutions a this module ??
thanks...
Posts: 27300
Remove
<?= $pager ?>
from user_info/views/admin_block_info.html.php and increase the 'Number of records to display per page' admin setting.
Dave
Posts: 27300
If you are running an experimental version of G3:
http://galleryproject.org/node/111914#comment-405564
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Thanks Dave, that fixed it for me!
However the file path / name I have is
user_info/views/admin_block_user_info.html.php