Welcome, Guest. Please login or register.
March 21, 2010, 03:04:22 PM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es hier .
110596 Posts in 15971 Topics by 9314 Members
Latest Member: Linuxkommunist
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Module: User Stats
Pages: [1] Go Down Print
Author Topic: Module: User Stats  (Read 8458 times)
doc

Offline Offline

Posts: 3581


« on: December 01, 2006, 07:02:52 PM »

This module was created as response on a post in the community forum raised by benjamin-do.

Quote
User Stats functionality
The community member asked for a module which provides a table of all registered users and the date of their last login. I´ve added the amount of days the users were inactive and the possibility to send the users an email (via mailto: link).

The tool is realised as admin tool. After installation, you can access it via the "Settings" panel in the backend of WB. After pressing the button: "Show advanced options >>", the new admin tool called: "User Statistics" is available.

You can download the module in the section "Admin Tools" on http://addons.websitebaker.org/pages/modules.php

Have fun
Christian (doc)
Logged
onliner45

Offline Offline

Posts: 18



WWW
« Reply #1 on: December 01, 2006, 07:52:21 PM »

Hi doc Christian,

the module works great - I think especially for sites with more than 5 users.
I´ll test it for a school site. Good job - thanks

onliner45
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 5561


WWW
« Reply #2 on: December 01, 2006, 08:56:36 PM »

Hi Doc, nice tool ... thanks

cheers

Klaus
Logged

http://www.weitzel.biz
PM has been disabled
burki

Offline Offline

Posts: 136


bake...bake...


« Reply #3 on: December 01, 2006, 11:41:12 PM »

it works.... but how i get back to the site... hmmm  afro i miss the back button, there is one at my browsers head.... thats not the way... biut i like it.
Logged

CHEERS
doc

Offline Offline

Posts: 3581


« Reply #4 on: December 02, 2006, 07:49:51 AM »

@burki
Each Admin tool has some kind of back link at the top (just above the tool headline).

Quote
Have a look for the following lines, they will provide the back links:
"Optionen -> Verwaltungsprogramm e -> User Statistics" (GERMAN)
"Settings -> Admininstration Tools -> User Statistics" (ENGLISH)

The first two provide back link to the Admin panel or directly to the Administration tools itself.

@others: thanks back  smiley

Regards Christian
« Last Edit: December 02, 2006, 07:52:07 AM by doc » Logged
tonicwater

Offline Offline

Posts: 9



« Reply #5 on: December 21, 2006, 07:42:55 PM »

Hi Christian,

your module works great! It's a BIG plus smiley

I have a small wish: It would be very useful too, if the login-time were also be listed!

Maybe an idea for the next update release?

thanx
TW
« Last Edit: December 28, 2006, 05:20:07 AM by tonicwater » Logged

No worries, mate!
JC

Offline Offline

Posts: 46


« Reply #6 on: December 21, 2006, 08:58:09 PM »

Hi!

This is very usefull tool. I love it!!
Great work Doc!

//JC
Logged
doc

Offline Offline

Posts: 3581


« Reply #7 on: December 22, 2006, 07:40:03 AM »

@tonicwater: will include this feature after the Christams break, shouldn´t be a big thing at all

Regards Christian

Logged
tonicwater

Offline Offline

Posts: 9



« Reply #8 on: December 28, 2006, 05:15:11 AM »

@Christian -> lovely  wink
« Last Edit: December 28, 2006, 05:18:19 AM by tonicwater » Logged

No worries, mate!
doc

Offline Offline

Posts: 3581


« Reply #9 on: January 02, 2007, 09:37:31 AM »

@tonicwater:
You can customize output and format of the login date via the language files DE.PHP and EN.PHP.

If you want to display also the login time in the second column of the user statistic module, just change the following line in DE.PHP and EN.PHP

Code:
$MUSERSTAT_TEXT['DATE_FORMAT'] = 'd.m.y';
$MUSERSTAT_TEXT['DATE_FORMAT'] = 'd.m.y | h:m';

Best thing would be to store such settings in the WB database and make them configurable via an additional config panel in the module itself. Maybe I integrate that option in one of the next versions.

Regards Christian
« Last Edit: January 02, 2007, 09:47:56 AM by doc » Logged
tonicwater

Offline Offline

Posts: 9



« Reply #10 on: January 02, 2007, 05:59:07 PM »

@Christian:

thanks for your help. it would be a pleasure to have a solution... cool

@all:

>>> WISH YOU A HAPPY AND SUCCESSFUL YEAR 2007 !!! <<<
Logged

No worries, mate!
gavjof

Offline Offline

Posts: 89


Grammaton Cleric 1st Class


WWW
« Reply #11 on: January 03, 2007, 04:37:44 PM »

Great module so far!

What would be useful in a future release would be if it also showed the date the users registered.

Thanks for this mod ;0)
Logged

doc

Offline Offline

Posts: 3581


« Reply #12 on: January 14, 2007, 09:31:17 AM »

Hi,

had a quick look into the database entries Website Baker creates. Seems that no timestamp is stored when a new user registers. Therefore it is not possible to integrate that function in any future release of the user statistics module. To make this happen, some core functions of Website Baker would need to be updated.

Regards Christian
« Last Edit: January 14, 2007, 09:32:58 AM by doc » Logged
davon
Guest
« Reply #13 on: December 06, 2007, 10:42:19 PM »

I've added and changed some things for the userstats module for my own purposes and it works quite nice so far. i wants to give my little work back to the community, because perhaps someone could find it usefull too.

My changes are:

+ Added an IP Check
~ Changed the rows so everything fits in
~ Changed displaying the full email adress into "Mailto" with mouseover Mailto (Title) tag
+ Updated the language files EN / DE

btw, Info.php is updated too and i named the module archive into v1.3 - i hope everything is ok so far. please click on the small screenshot to get an impression

Note: Attached zip file was removed. The module is released on the Add-ons repository - thanks for this nice contribution; regards (doc)
« Last Edit: December 07, 2007, 04:00:21 PM by doc » Logged
pcwacht
Guest
« Reply #14 on: December 07, 2007, 09:47:18 AM »

Looks good
Logged
doc

Offline Offline

Posts: 3581


« Reply #15 on: December 07, 2007, 10:36:33 AM »

Have merged the new thread with the original thread (was in the archive). Think we should not archive module threads per default.

Regards Christian

P.S.: Nice addition, will have a look on it and if ok release it on the addons-site
Logged
doc

Offline Offline

Posts: 3581


« Reply #16 on: December 07, 2007, 03:58:21 PM »

Hello davon,

have fixed one bug (login information was displayed wrong for user never logged into the WB backend) in the tool.php (already present since my very first release) and uploaded version v0.14 to the addons repository.

The additions from davon were taken over without any changes. Thanks for your contribution.
Have deleted the zip file of your post to avoid a mixing up of files.

Regards Christian
« Last Edit: December 07, 2007, 05:12:00 PM by doc » Logged
fahad4x4

Offline Offline

Posts: 16


بسم الله


WWW
« Reply #17 on: April 02, 2009, 04:47:34 AM »

Hello

Thank you to this addendum

But there is a problem in coding

Logged
doc

Offline Offline

Posts: 3581


« Reply #18 on: April 02, 2009, 05:50:47 PM »

Hi,

seems to be an issues with the character encoding of template and database. What is the backend language you are using? Can you check it with English as backend language? Maybe a problem with string conversion functions and UTF-8 values in the database.

If English does not solve the problem, try to change the following line in modules/userstat/tool.php from:
Code:
'USERNAME' => htmlentities(ucwords($row['username'])),
into:
Code:
'USERNAME' => htmlentities($row['username']),
or:
Code:
'USERNAME' => $row['username'],

Let me know if this solves your problem. If you do not know how to change those lines, try the admin tool Addon File Editor from the Website Baker addons repository.

Regards Christian
Logged
fahad4x4

Offline Offline

Posts: 16


بسم الله


WWW
« Reply #19 on: April 06, 2009, 03:59:17 AM »

Hello

Was the solution to the problem in this code


Code:
'USERNAME' => $row['username'],

I use the Arabic language

Thank you to help
Logged
doc

Offline Offline

Posts: 3581


« Reply #20 on: April 06, 2009, 08:41:48 PM »

Hi,

please note that I have suspended the support for "User Statistics" in favor of the admin tool "user search" developed by the forum member "BerndJM".

Details about the admin tool "user search" can be found in the English or German forum thread.

If someone wants to develop or maintain the "User Statistics" module any further, please feel free to do so, but keep in mind  that the module is licensed under GNU GPL. The last stable version of "User Statistics" can be found on the Website Baker Addons Repository.

Regards Christian
« Last Edit: June 01, 2009, 09:30:34 PM by doc » Logged
ahikmahin

Offline Offline

Posts: 2


« Reply #21 on: April 10, 2009, 12:39:59 PM »

hai...

when i had 300-400 members is was working awsome.... but.. i got more than 1000+ members ...now.. it doesnt work  huh

any suggessions???please/// i love this mod...
Logged
gks

Offline Offline

Posts: 3


« Reply #22 on: February 26, 2010, 03:00:29 PM »

I don't know, where else I could inform you about a wrong link on the website

http://www.websitebaker2.org/de/add-ons/module/admin-tools.php

where the link to the admin-addon user stats is wrong (by clicking the link one gets a swift-gallery-file).

Greetings,
gks

Edit: Wow, only a few hours later the wrong link is fixed. Many thanks!  shocked
« Last Edit: February 26, 2010, 05:32:37 PM by gks » Logged

WB 2.8.1
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!