31
irmtfan
Re: Userlog: a new module to log user activities
  • 2013/3/17 2:45

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


your first error shows The folder 'xoops255/xoops_data' is not writable. (chmod=755)

It seems i have to move userlog folder to 'xoops255/xoops_data/caches' folder.

What folder do you think is better to save log files?

Quote:

and after that I can not edit the settings.


I dont know why you cannot edit the setting. any error when you are in /modules/userlog/admin/setting.php?set_id=1? or when you change something and click on submit?


32
Cesagonchu
Re: Userlog: a new module to log user activities

Quote:

irmtfan wrote:
It seems i have to move userlog folder to 'xoops255/xoops_data/caches' folder.

What folder do you think is better to save log files?

I think it's better to save the logs in /uploads (uploads/userlog/) because if you backup it in the file cache, it will be deleted as soon as you empty the cache.


Quote:

irmtfan wrote:
I don't know why you cannot edit the setting. any error when you are in /modules/userlog/admin/setting.php?set_id=1? or when you change something and click on submit?

I don't remember, I will retry

33
Cesagonchu
Re: Userlog: a new module to log user activities

Quote:

irmtfan wrote:
I don't know why you cannot edit the setting. any error when you are in /modules/userlog/admin/setting.php?set_id=1? or when you change something and click on submit?


I no longer have this problem, since your new version (11225),
but I already have this error:
Warningmkdir() [function.mkdir]: Permission denied in file /class/file/folder.php line 529

34
irmtfan
Re: Userlog: a new module to log user activities
  • 2013/3/19 2:53

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


good.
userlog can read/write logs in uploads/userlog folder but i need to know what is the best place outside the root.
there is a config in preferences you can change the location of stored log files.
You know Uploads folder can be accessed by public and is not safe for such an important logs. eg: You may log all user cookies and posts.

I think the current location is good. i just add chmod check to index page.
all changes before ALPHA 2:
Quote:

- change version to ALPHA 2(2013/03/19)
- enhance admin/logs.php template to show admin(y/n), group names, user link, user ip link to whois, ...(2013/03/19)
- add HomePage to module scope. It will be for all root scripts like ROOT/admin.php(2013/03/19)
- add module name to table logs in database for better performance(2013/03/19)
- add user views, group views, item views form to statistics page(2013/03/19)

revision: 11249

Edit:
if we move outside folder to xoops255/xoops_data/caches/userlog it will not be deleted when you empty xoops caches in system->maintenance.
But I think this location seems confusing and strange to end users.

you can try yourself.
just need to change xoops_version.php

this:
$modversion['config'][$i]['options'] = array("XOOPS_VAR_PATH" => XOOPS_VAR_PATH"XOOPS_UPLOAD_PATH" => XOOPS_UPLOAD_PATH);


with this:
$modversion['config'][$i]['options'] = array("XOOPS_VAR_PATH" "/caches" => XOOPS_VAR_PATH "/caches""XOOPS_UPLOAD_PATH" => XOOPS_UPLOAD_PATH);


35
irmtfan
Re: Userlog: a new module to log user activities
  • 2013/3/21 6:09

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7



Today i commit last changes to svn which is the alpha 2 (final alpha).
In the following days I will focuse on debug.
Please report any bug especially functional bugs (actually i couldnt find any warning/notice)
Now userlog is:
- best tool to track user activities
- only module can provide a today hot (most viewed) contents (eg: news/pictures/files) which is wanted by many xoopsers
- advance and sophesticated backup/restore tool
- only module completly faithful to core API

I appreciate your opinions.

36
irmtfan
Re: Userlog: a new module to log user activities
  • 2013/3/30 3:22

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I install userlog in my high traffic website and set it to log more than 30 admin accounts. (webmasters, forum moderators, ...)
It works great and still didnt find any issue.

I will trim this module more before releasing beta/rc versions.

please test and report bugs.

37
irmtfan
Re: Userlog: a new module to log user activities
  • 2013/4/1 4:35

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


change the status to beta 1.
still cannot find any issue.
main changes:
Quote:

- change version to BETA 1(2013/04/01)
- fix some parts in templates, definitions, help.html(2013/04/01)
- bug fix: item_id is int not text. add greater than and lower than for item_id in logs form(2013/04/01)
- add persian language(2013/04/01)


by releasing beta version, userlog will support upgrade for future versions.
It means any changes in database or files would be more documented and concerned.

38
Cesagonchu
Re: Userlog: a new module to log user activities

Userlog 1.01 RC1 available here.

39
irmtfan
Re: Userlog: a new module to log user activities
  • 2013/4/8 8:58

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Thank you Cesag
I did some last changes minutes ago.
please update from svn or from here:
http://www.xoops.ir/modules/newbb/viewtopic.php?post_id=19676

This version would be stable candidate. i sent a news for it.

40
Cesagonchu
Re: Userlog: a new module to log user activities

Ok, I will test

For now, I already have this error:
Errors Warningmkdir() [function.mkdir]: Permission denied in file /class/file/folder.php line 529


because when installing xoops, we don't have to chmod 777 xoops_data, but only the folders inside.

Login

Who's Online

157 user(s) are online (30 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits