Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11832
Latest: balasahu
New This Month: 7
New This Week: 1
New Today: 1
Stats
Total Posts: 42228
Total Topics: 7368
Most Online Today: 51
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 39
Total: 39

Author Topic: Download Logs?  (Read 187 times)

0 Members and 1 Guest are viewing this topic.

Offline Hatshepsut

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Bulgarian Nationalist Forum
Download Logs?
« on: May 10, 2022, 04:39:15 am »
Hello,

I use both Dowload System free and paid versions.
The free version has no download logs and it works fine without such records.
In my forum with pro version, the download logs table in the database grows with 100 KB daily.
I don't need of these logs anyway, so is it possible to add some setting to disable completely logging to database?
« Last Edit: May 10, 2022, 04:42:33 am by Hatshepsut »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: Download Logs?
« Reply #1 on: May 10, 2022, 06:56:47 am »
I could add a setting but. It would break the following functions.
If you are using max downloads per day for a user
If you are using wait time per download function
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Hatshepsut

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Bulgarian Nationalist Forum
Re: Download Logs?
« Reply #2 on: May 10, 2022, 10:03:58 am »
I could add a setting but. It would break the following functions.
If you are using max downloads per day for a user
If you are using wait time per download function

I don't use such functions.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: Download Logs?
« Reply #3 on: May 10, 2022, 10:34:17 am »
Ok can add a setting with a warning message.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Hatshepsut

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Bulgarian Nationalist Forum
Re: Download Logs?
« Reply #4 on: May 10, 2022, 11:02:44 am »
Another variant is to add option these logs to be purged automatically once a week (if possible).
« Last Edit: May 10, 2022, 11:05:58 am by Hatshepsut »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: Download Logs?
« Reply #5 on: May 10, 2022, 07:44:16 pm »
Built it and released

6.0.3
+Added setting to disable download logging. Note: Breaks Wait time check, downloads per day, credits to users for first download.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

Offline Hatshepsut

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Bulgarian Nationalist Forum
Re: Download Logs?
« Reply #6 on: May 11, 2022, 06:16:41 am »
Just installed 6.0.3 version and disabled Download Logs, but this not affects logging, the records in the database are still active.
Also noticed that I have 34,088 credits given, but credit system was always disabled.
« Last Edit: May 11, 2022, 06:18:49 am by Hatshepsut »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: Download Logs?
« Reply #7 on: May 11, 2022, 06:25:45 am »
It doesn't clear the original logs. Just stops new records from being logged. There is an option to clear the logs in the system I think under maintenance.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Hatshepsut

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Bulgarian Nationalist Forum
Re: Download Logs?
« Reply #8 on: May 11, 2022, 06:41:23 am »
Yes, I have cleared old logs before change the settings, but new logs are recorded after disabling of logs.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: Download Logs?
« Reply #9 on: May 11, 2022, 06:47:08 am »
In SMF 2.0 or SMF 2.1? And this is the down_downloads_log table?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Hatshepsut

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Bulgarian Nationalist Forum
Re: Download Logs?
« Reply #10 on: May 11, 2022, 10:18:22 am »
Forum details:

Forum version: SMF 2.1.2 (more detailed)
Current SMF version: SMF 2.1.2
GD version: bundled (2.1.0 compatible)
ImageMagick version: 6.9.10-68 Q16 x86_64 2021-10-13 https://imagemagick.org (Imagick 3.7.0)
MySQL engine: MariaDB
MySQL version: 10.3.34-MariaDB-log
SMF file based caching: 2.1.2
SQLite3 database based caching: 3.7.17
PHP: 8.1.5 (more detailed)
Server version: Apache

The table is "smf_down_downloads_log"

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: Download Logs?
« Reply #11 on: May 11, 2022, 10:39:17 am »
And that table is still being filled up?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Hatshepsut

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Bulgarian Nationalist Forum
Re: Download Logs?
« Reply #12 on: May 11, 2022, 02:23:25 pm »
Yes, the log entries in the table are still recorded.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16003
    • View Profile
Re: Download Logs?
« Reply #13 on: May 11, 2022, 02:32:11 pm »
Try now latest release.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

Offline Hatshepsut

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Bulgarian Nationalist Forum
Re: Download Logs?
« Reply #14 on: May 11, 2022, 11:31:56 pm »
Try now latest release.

Thanks, now "smf_down_downloads_log" table is empty :)
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
3139 Views
Last post May 07, 2009, 07:39:57 am
by SMFHacks
2 Replies
2847 Views
Last post May 25, 2009, 06:19:50 pm
by Paddleducks Forum - Damien
1 Replies
3271 Views
Last post December 24, 2009, 07:56:55 am
by SMFHacks
4 Replies
3201 Views
Last post August 09, 2012, 01:00:37 pm
by davejo
1 Replies
1911 Views
Last post October 22, 2012, 09:00:38 pm
by SMFHacks

+- Recent Topics

Dark background text color help needed by Shades
May 22, 2022, 04:51:25 pm

Database Error During Store Purchase After SMF 2.1 and Store 5.0 Beta Upgrades by Michael Vail
May 20, 2022, 08:58:15 pm

Default License Agreement by SMFHacks
May 18, 2022, 08:18:15 pm

Email Note - Included in order purchase by Shades
May 18, 2022, 02:54:54 pm

[Feature Request] Keywords by Shades
May 18, 2022, 02:20:19 pm

Undefined index: down_path by Shades
May 18, 2022, 10:19:09 am

Delete custom rating and change default icons/change icons back to default? by SMFHacks
May 18, 2022, 10:06:01 am

Thumbnails on topic page not resizing correctly by SMFHacks
May 14, 2022, 10:45:34 pm

Server Issues by PapaFrizArcade
May 12, 2022, 11:50:04 am

Funky Pagination by SMFHacks
May 11, 2022, 11:38:24 pm

Powered by EzPortal