47
@Cesag:
I added chmod check in old revisions. so you should see the below message in admin/index.php if the xoops_data chmod is under 755. e.g. 750:
Quote:
The folder 'home/blabla/public_html/xoops255/xoops_data' must be with a chmod '755' (it's now set on 750).'
but some minutes ago i add these if your xoops_data folder is under 755:
Quote:
Could not create any folder inside 'home/blabla/public_html/xoops255/xoops_data' because its chmod is under 755.
If you need to store logs in file, you should create folder 'home/blabla/public_html/xoops255/xoops_data/userlog' and set chmod = 755 manually using Cpanel.
Now IMO its completely clear for the user.
Quote:
Does this use a php runonce, or a javascript tag you have to install, or does it use the database?.
Does it create a tracking cookie?
IMO the help is completely clear. (install module and read in userlog > help)
but if you can clear it more, i will be glad to add it.
userlog will log users by getting the user_id group_ids and visitor ip from any visitor:
eg: for anone user: uid=0 gid=3 visitor ip = 66.249.66.1
for an admin it would be uid=123 gid=array(1,2,4,6,9) ip= IP
then it check the caches folder (you can find them in xoops_data/caches/xoops_cache) to find a match setting.
priorities are:
IF EXIST uid get it
ELSE IF EXIST gid get it
ELSE IF EXIST ip get it
ELSE IF Unique id = 0 log all users
if there is not any cache setting file then it check database with the above priority.
if there is not any setting for this visitor it will leave it otherwise the user will be logged.
in addition:
once it finds a setting in database it create a cache file for future access for better performance.