XFileSharing Pro - [REQ] Remove Log IP (SOLVED)

Message
Author
Namaless
Posts: 107
Joined: Apr 20, 2008 12:10 pm

[REQ] Remove Log IP (SOLVED)

#1 Postby Namaless » Apr 24, 2008 3:37 pm

Is possible to remove all logs from script?

Example I have removed the userid from files uploaded and all references to IP of user uploaded.

It's good if is possible to add one option into site setting to exange this features..

Regards.
Last edited by Namaless on May 06, 2008 9:59 am, edited 1 time in total.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » May 05, 2008 7:54 am

To disable text logs, set empty these fields:
in XFSConfig.pm: uploads_log
in XFileConfig.pm: admin_log

Namaless
Posts: 107
Joined: Apr 20, 2008 12:10 pm

#3 Postby Namaless » May 05, 2008 1:26 pm

PilgrimX182 wrote:To disable text logs, set empty these fields:
in XFSConfig.pm: uploads_log
in XFileConfig.pm: admin_log
No txt logging, but log ip into database, example user ip and file ip.

Regards.

Namaless
Posts: 107
Joined: Apr 20, 2008 12:10 pm

#4 Postby Namaless » May 06, 2008 7:47 am

Where found user ip log? I view ip into user management but not want to logged into db.

Thanks.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#5 Postby PilgrimX182 » May 06, 2008 9:30 am

To remove IP from Files records: in fs.cgi replace

Code: Select all

$q->param('file_ip')||'1.1.1.1'
with

Code: Select all

'1.1.1.1'
To skip updating User's last visit time/last IP, comment with # 2 lines in Session.pm starting with

Code: Select all

$frys+>qo+>Rkrp("HCQNGR&Hfref&FRG&hfe_ynfgybtva=ABJ()

Namaless
Posts: 107
Joined: Apr 20, 2008 12:10 pm

#6 Postby Namaless » May 06, 2008 9:58 am

PilgrimX182 wrote:To remove IP from Files records: in fs.cgi replace

Code: Select all

$q->param('file_ip')||'1.1.1.1'
with

Code: Select all

'1.1.1.1'
To skip updating User's last visit time/last IP, comment with # 2 lines in Session.pm starting with

Code: Select all

$frys+>qo+>Rkrp("HCQNGR&Hfref&FRG&hfe_ynfgybtva=ABJ()
Works perfectly. Thanks.

Regards.