3.2 & 3.3 Extensions Database 3.2 / 3.3Downloadlog

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Solidjeuh
Donator
Donator
Posts: 348
Joined: 13 Dec 2014, 02:40
    Windows 10 Firefox

Re: Downloadlog

Post by Solidjeuh »

Super! Thank you!
Forum voor NL Extensie vertalingen ---> https://www.supportforum.be
----------------------------------------------------------------------------

User avatar

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

Re: Downloadlog

Post by dani50 »

I need help, I installed a bootlike theme and this extension doesn't work for me, you can help me. Thanks.
www.electronicforum.ro

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Downloadlog

Post by dmzx »

First post updated.

User avatar

awr
Translators
Translators
Posts: 55
Joined: 13 Mar 2015, 08:50
    Windows 10 Chrome

Re: Downloadlog

Post by awr »

Downloadlog Turkish Translate pack updated
tr.rar
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

qwerty541
New user
New user
Posts: 2
Joined: 26 Oct 2020, 07:37
    Windows 10 Chrome

Re: Downloadlog

Post by qwerty541 »

PhpBB 3.3.1
Downloadlog 1.0.4
SQL ERROR [ mysqli ]

Unknown column 'd.downloadslog_counter_user' in 'field list' [1054]

SQL

SELECT d.user_id, d.down_date, d.downloadslog_counter_user, u.user_id, u.username, u.user_colour FROM phpbb_userdownloadslog d, phpbb_users u WHERE u.user_id = d.user_id AND file_id = 158 ORDER BY d.down_date DESC LIMIT 100
Downloadlog 1.0.2 — working

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Downloadlog

Post by Sniper_E »

On phpBB 3.3.2
Updated downloadlog from v1.0.3 to 1.0.4 and all is working Great!
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

SpIdErPiGgY
Users
Users
Posts: 117
Joined: 04 Feb 2021, 23:54
    Windows 10 Firefox

Re: Downloadlog

Post by SpIdErPiGgY »

Image

Blue color with a grey shadow, new arrow image & NL language files

downloadlogbluenl.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image

User avatar

xest
Users
Users
Posts: 4
Joined: 21 Jun 2021, 18:41
    Windows 10 Chrome

Re: Downloadlog

Post by xest »

Hi, using 1.0.4, working great so far.

Is it possible to access the downloadlog database directly so i can make a report with all the doenloads?

I've searched the phpbb dtabase but found no downloadlog there.

can you point me in the right direction?

thhnk you

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Downloadlog

Post by martin »

Image
Image

User avatar

xest
Users
Users
Posts: 4
Joined: 21 Jun 2021, 18:41
    Windows 10 Chrome

Re: Downloadlog

Post by xest »

Yes, it was phpmyadmin not showing the table on the navigation tree.

I see it now.

thank you and sorry :wall: :wall: :wall:

User avatar

xest
Users
Users
Posts: 4
Joined: 21 Jun 2021, 18:41
    Windows 10 Chrome

Re: Downloadlog

Post by xest »

Hi. i'm having trouble with non admin users viewing the log.

The View Log link appears only to admins and moderators, but when a moderator clicks on it to view the Log, the pop up says "You don't have access to this section"

Image

Which permission should users have, besides moderator (or Global Moderator, as i tried this already) to be able to see the log?

And also i don't want to give admin permissions to moderators, as you can imagine...

Thank you!

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Downloadlog

Post by martin »

From memory only admins can see who downloaded.

Moderators can see the link but not allowed to see the log.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: Downloadlog

Post by Sniper_E »

Well if moderators can't see the logs then they should not be able to see the link to the logs. Is there a if statement missing somewhere?

User avatar

xest
Users
Users
Posts: 4
Joined: 21 Jun 2021, 18:41
    Windows 10 Chrome

Re: Downloadlog

Post by xest »

Hi, just in case anyone needs moderators to be able to access download log (not just view the link)

version 1.0.4 installed

Open ext\dmzx\downloadlog\controller\downloadlog.php and change this line:
Find This may be a partial find and not the whole line

Code: Select all

if (!$this->auth->acl_get('a_')) 
Replace with Replace the preceding lines with the following

Code: Select all

if (!$this->auth->acl_get('a_') && !$this->auth->acl_get('m_'))
don't touch anything else. && is AND

now moderators can see the link anf when clicking on it, they can view the download log.

(modx the code above by martin)

User avatar

nou nou
Donator
Donator
Posts: 30
Joined: 19 Oct 2017, 05:10
    Windows 10 Edge

Re: Downloadlog

Post by nou nou »

Hello!

I found a bit of an obscure issue with Downloadlog. There's a BBCode set up on my forum which allows you to link to attachments in other posts:

BBCode usage:

Code: Select all

[download={NUMBER}]{SIMPLETEXT2}[/download]
HTML replacement:

Code: Select all

<br>
<dl class="attachbox">
<dd>
<dl class="file">
<dt><span class="imageset icon_topic_attach"></span> <a class="postlink" href="./download/file.php?id={NUMBER}">{SIMPLETEXT2}</a></dt>
</dl>
</dd>
</dl>
<br>
When Downloadbox is enabled, links made that way are dead. It's obscure, so no worries if there is no quick solution for this, but in case there is I thought I'd report it :)

Thanks!

Post Reply Previous topicNext topic