3.1.x Extensions Database 3.1 / 3.2Total Attachments Downloaded

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
Post Reply Previous topicNext topic
User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Total Attachments Downloaded

Post by dmzx »

Extension Name: Total Attachments Downloaded
Author: dmzx

Special Thanks to: martin

Extension Description:
This extension shows total attachments downloaded on index.

dmzx/Total-attachments-downloaded

Screenshot:
Image

Extension Download:
downloadsystemcat?id=39

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `totalattdownloaded`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `totalattdownloaded` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/totalattdownloaded/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Total Attachments Downloaded` under the Disabled Extensions list, and click its `Enable` link.

User avatar

Superl
Users
Users
Posts: 43
Joined: 04 Dec 2015, 00:19
    Windows 10 Chrome

Re: Total Attachments Downloaded

Post by Superl »

First thank you,

It doesn't update the download made I use your other ext "file download" and that one works like a charm for reporting exactly the value of the database. The first day I install it, it was working now I can download any attachment I want but it wont increase the total, and it's off over 20,000 download.

Now I will completely remove it, remove thew data and the file system and reinstall it to see if it was a bad installation

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Total Attachments Downloaded

Post by dmzx »

Superl wrote:First thank you,

It doesn't update the download made I use your other ext "file download" and that one works like a charm for reporting exactly the value of the database. The first day I install it, it was working now I can download any attachment I want but it wont increase the total, and it's off over 20,000 download.

Now I will completely remove it, remove thew data and the file system and reinstall it to see if it was a bad installation
Just for info it only counts zip and rar files downloaded.

User avatar

Superl
Users
Users
Posts: 43
Joined: 04 Dec 2015, 00:19
    Windows 10 Chrome

Re: Total Attachments Downloaded

Post by Superl »

OK do DLL and exe wont count is it easy to modify so it will

Update:
I did put in my other file extension in listener.php and works now
Last edited by Superl on 21 Dec 2015, 21:30, edited 1 time in total.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Total Attachments Downloaded

Post by dmzx »

Superl wrote:OK do DLL and exe wont count is it easy to modify so it will

Yes you add them.
ext\dmzx\totalattdownloaded\event\listener.php
Find This may be a partial find and not the whole line

Code: Select all

WHERE extension = "zip"
			OR extension = "rar"';
Replace with Replace the preceding lines with the following

Code: Select all

WHERE extension = "zip"
			OR extension = "rar"
			OR extension = "exe"
			OR extension = "DLL"';

User avatar

Superl
Users
Users
Posts: 43
Joined: 04 Dec 2015, 00:19
    Windows 10 Chrome

Re: Total Attachments Downloaded

Post by Superl »

We post at the same time that I updated my previous post :rolling:

Thanks for the help

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Total Attachments Downloaded

Post by dmzx »

Superl wrote:We post at the same time that I updated my previous post :rolling:

Thanks for the help

:thumbup:

User avatar

dani50
Users
Users
Posts: 37
Joined: 20 Feb 2019, 15:50
    Windows 7 Chrome

Re: Total Attachments Downloaded

Post by dani50 »

Hello, you can update the extension to 3.2.x
Thank you

User avatar

dani50
Users
Users
Posts: 37
Joined: 20 Feb 2019, 15:50
    Windows 7 Chrome

Re: Total Attachments Downloaded

Post by dani50 »

Can you help me with this extension please? on php 3.2.2 does not work

Post Reply Previous topicNext topic