Author Topic: Module: User Stats  (Read 34737 times)

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Module: User Stats
« Reply #25 on: May 03, 2010, 09:38:37 PM »
Cool.

Like that it's sortable now.
Thanks.

Stefek
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline evaki

  • Posts: 2631
Re: Module: User Stats
« Reply #26 on: September 15, 2012, 08:10:14 PM »
User Statistics 0.32.zip
 *   v0.32 stable (evaki: Sep 15, 2012)
 *   + fixed E_STRICT-Notice in tool.php [function.mktime] (since php 5.1) changed to time()
Greetings, Evaki
« Last Edit: September 15, 2012, 08:12:11 PM by evaki »
Einmal Pizza Quattro Stagioni bitte, aber ohne Herbst.

Offline evaki

  • Posts: 2631
Re: Module: User Stats
« Reply #27 on: October 29, 2015, 07:21:15 PM »
Erneuter Upload des Tools, da "alte" Datei anscheinend defekt
userstat(0.32).zip
userstat(0.32).7z
Letzte Änderung war schlicht
 + fixed E_STRICT-Notice in tool.php [function.mktime] (since php 5.1) changed to time()
MfG. Evaki
Einmal Pizza Quattro Stagioni bitte, aber ohne Herbst.

Offline sky writer

  • Posts: 926
Re: Module: User Stats
« Reply #28 on: March 25, 2016, 03:30:25 PM »
Is this module safe to use on WB 2.8.3 SP6?
Also, there is a mention of a "sortable" version a couple of posts up, but the attachment has been removed.  Is this version still available?  Not a necessity, just would be a nice addition.

Offline evaki

  • Posts: 2631
Re: Module: User Stats
« Reply #29 on: March 25, 2016, 08:57:31 PM »
WB Version 2.8.3 SP6-rc3.19
PHP Version 7.0.3
SQL Server Version 5.6.10
userstats works fine
MfG. Evaki
Einmal Pizza Quattro Stagioni bitte, aber ohne Herbst.

Offline sky writer

  • Posts: 926
Re: Module: User Stats
« Reply #30 on: March 25, 2016, 10:04:51 PM »
I have it installed on a Stable SP6 site and all seems to work fine, but since there is very little documentation or discussion on the module, I just wanted to get some confirmation that it was not going to cause any issues, especially to do with the security fix.
Thank you.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #31 on: March 26, 2016, 12:09:52 AM »
problems in this module:
- the redirects in the folder protection files in module root and in the subfolders
- the history in info.php

a No-Go is the IP-Logging and the visible mailadress for every backend user with permissions to admin tools
IP-Adress and Mail are personal datas
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #32 on: March 26, 2016, 02:01:22 AM »
here a new version 1.0.0 with the new module structure
- shows display_name instead of username (username are personal datas)
- remove ip-display and ip-check
- set view permission to this admin tool in your group administration
- set date format in your used language file (EN.php etc)
- if you want a different style, add possible folders css, images/img, js in the themes-folder (template-folder are for the frontend view in modules) - see the example in the form-module
 in the themes folder you add style your own css-style, individual icon's etc - in this case, change the content of the backend.css with a simple import-link like
Code: [Select]
@import url("themes/default/css/backend_default.css");
other translations are welcome

Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #33 on: March 26, 2016, 02:11:19 AM »
sortable??

by User- / Display-Name and mayby for inactive time down && up??
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline sky writer

  • Posts: 926
Re: Module: User Stats
« Reply #34 on: March 26, 2016, 05:55:15 AM »
Thanks for the new version.  I like it much better.

The sorting was mentioned in an earlier version - http://forum.WebsiteBaker.org/index.php/topic,4773.msg120341.html#msg120341
I have one site where the sort function would be potentially helpful, but it is not something important at this moment.

Quote
set view permission to this admin tool in your group administration
I just checked out the permissions for a couple of the groups (managers and members) for a website and I noticed something I didn't realize, and which is not ideal... for me anyway.  This module and others default to all groups having permission to view.  Is this the default for all admin modules when they are installed?  I would much prefer they default to only the super admin having permission to view.  Then if I want to give permission to another group, I would do so manually.  Or am I misunderstanding the permission settings?

Offline evaki

  • Posts: 2631
Re: Module: User Stats
« Reply #35 on: March 26, 2016, 10:38:28 AM »
@jacobi22
"IP-Adress and Mail are personal datas"
Schön für old Germany und die EU.
Außerhalb interessiert das möglicherweise niemanden.
WebsiteBaker, the german weisheit odä so, solls hoffentlich nicht werden  :-D
Aber prima, daß Du's für die heimische Flora und Fauna angepaßt hast  (Y)
Frohe Ostertage, Happy Easter...
Evaki
« Last Edit: March 26, 2016, 10:43:49 AM by evaki »
Einmal Pizza Quattro Stagioni bitte, aber ohne Herbst.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #36 on: March 26, 2016, 11:10:41 AM »
Quote
Außerhalb interessiert das möglicherweise niemanden.
dann soll jemand außerhalb der EU den alten Code wieder einbauen, das sind nur ein paar Zeilen ;-)
Du wirst doch nicht von jemandem erwarten, ein Modul auszuliefern, das gegen aktuelles Recht verstößt


to the permissions... the old module version has no permission check, that means: every backend user with permissions to AdminTools, can also see the Uster statistic . Since WB 2.8.3 SP5 its possible to set a permission for every admintool separat. so its possible, that only the superadmin see this tool page, if you set no permission for other groups

Here a simple sorter for this two rows, at first, i'll add the feautures from the linked post in the evening
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline sky writer

  • Posts: 926
Re: Module: User Stats
« Reply #37 on: March 26, 2016, 02:48:31 PM »
Personally, I do not need the IP check, and therefore I found it cluttered up the display.  That's why I commented "I like it much better".  Others might want/need this functionality.

Your sorting of those two columns would be fantastic!  Thank you!

Offline hgs

  • Betatester
  • **
  • Posts: 1102
    • EFG MG
Re: Module: User Stats
« Reply #38 on: March 27, 2016, 08:32:14 AM »
@jacobi22
(Y) Danke für´s überarbeiten (Y)
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #39 on: March 27, 2016, 01:08:30 PM »
ist noch nicht fertig, nur ein erster Entwurf, eine Sortierung+Anzeige nach active/inactive wird mit Sicherheit noch kommen

module is not finish yet, only a first preview. i add also a sortable row with the active/inactive status
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #40 on: March 28, 2016, 10:13:30 AM »
here the actual version from the last evening - colored lines for active / inactive Users (Superadmin = green, inactive=red), sortable in 3 row's Activity, Users by Name, Inactive Time since..
planed is a display from the last login  on the actual day in minutes or Hours
some users ask about a display for the actual online backend users. its possible, but then, you need a database to save the logins and the activity

Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline hillschmidt

  • Posts: 354
Re: Module: User Stats
« Reply #41 on: March 29, 2016, 01:29:41 PM »
Kann man nicht beide Namen (user_name, display_name) anzeigen, etwa so
Code: [Select]
Hugo Peinlich (hugop)

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #42 on: March 29, 2016, 01:40:56 PM »
Quote
Kann man nicht beide Namen (user_name, display_name) anzeigen

für den Superadmin wird das sicher so okay sein, allgemein wird aber davon abgeraten, den Usernamen (also seinen Login-Namen) irgendwo anzuzeigen, weil dann ein möglicher Angreifer schon mal 50% der Zugangsdaten hätte
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline hillschmidt

  • Posts: 354
Re: Module: User Stats
« Reply #43 on: March 29, 2016, 01:50:56 PM »
mmm ... wer das Modul angezeigt bekommt, ist doch schon im Backend drinne, oder?

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #44 on: March 29, 2016, 01:58:09 PM »
Quote
mmm ... wer das Modul angezeigt bekommt, ist doch schon im Backend drinne, oder?

jepp, er sieht aber dann die Usernamen aller anderen User

P.S.: alles, was es hier an Sicherheitswarnunge n gab, von dieser letzten bis hin zu einer im letzten Sommer, die hier mit viel Tra-Ra verkündet wurde, betrifft immer nur Leute, die bereits einen Zugang zum Backend hatten.
Wer eine Frontend-Registrierung hat, hat dann eben auch automatisch Backend-User, auch, wenn der sich nur angemeldet hat, um genau so etwas herauszufinden.
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #45 on: April 04, 2016, 10:52:55 PM »
So, after some test's here the stable version. this admin tool use new functions from SP6, it doesnt work in older wb-versions
Thanks to Sky Writer and CodeALot for the translations!  (Y)

Row 1 - show's the account activity status
Row 2 - show's the display-name and Username
Row 3 - date of the last login
Row 4 - time since the last login in minutes, hours or days
Row 5 - Email to this User

Tip: its possible in WB 2.8.3 SP6 to set group permission also to separated admin-tools. if needed, use this settings, to show this user statistic for the admins only

Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline dbs

  • Betatester
  • **
  • Posts: 7909
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Module: User Stats
« Reply #46 on: April 06, 2016, 08:42:44 AM »
Maybe also show the groups?

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Module: User Stats
« Reply #47 on: April 06, 2016, 11:14:31 AM »
Maybe also show the groups?

Version 1.0.2

+ display usergroups

Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline dbs

  • Betatester
  • **
  • Posts: 7909
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Module: User Stats
« Reply #48 on: April 06, 2016, 11:26:10 AM »
Nice, Speedy  :-D  (Y)

Offline hgs

  • Betatester
  • **
  • Posts: 1102
    • EFG MG
Re: Module: User Stats
« Reply #49 on: April 06, 2016, 12:55:29 PM »
 (Y)dito!! (Y)
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)