3.2 & 3.3 Extensions Database 3.2 / 3.3 ⇒ Downloadlog
-
- Users
- Posts: 918
- Joined: 02 Feb 2018, 12:04
Re: Downloadlog
This ext somehow make conflixt with
this one how can i fix ?
this one how can i fix ?
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Feed like a disease
And bring them to their knees
They'll pay for their deceit
And bring them to their knees
They'll pay for their deceit
-
- New user
- Posts: 4
- Joined: 13 Dec 2023, 03:48
Re: Downloadlog
I have the same problem. Have conflict with the Download Button of File Download.
-
- Users
- Posts: 117
- Joined: 04 Feb 2021, 23:54
Re: Downloadlog
Is it possible to integrate this ext with the inline attachment ext? Because when both are enabled, the attachment shows up twice.....
https://www.phpbb.com/community/viewtop ... #p15992458
https://www.phpbb.com/community/viewtop ... #p15992458
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: Downloadlog
The css you have in that horizontal attachments will be off once you use downlodlog because it adds a dl.filedoawnload to the mix.
I know this because I setup a css file for horizontal attachments here
I worked that up on my local site where I don't have a lot of extensions. Then I pushed it to my live site and it didn't work.
I had to add dl.filedoawnload to that css to get it to work here because I have this downloadlog extension installed.
So dl.filedoawnload may have to be added in your horizontal attachments extension the same way.
I know this because I setup a css file for horizontal attachments here
I worked that up on my local site where I don't have a lot of extensions. Then I pushed it to my live site and it didn't work.
I had to add dl.filedoawnload to that css to get it to work here because I have this downloadlog extension installed.
Code: Select all
/* Horizontal Attachments
---------------------------------------- */
div.inline-attachment {
margin: 0 4px 4px 0;
max-width: 30% !important;
font-size: 1em;
font-weight: bold;
text-align: center;
float: left;
}
dl.filedoawnload img.postimage {
background-color: #A4C0D7;
padding: 2px;
}
dl.filedoawnload dt {
padding: 4px;
background-color: #6290B7;
margin: 4px 4px -4px;
}
dl.filedoawnload dd {
padding: 4px;
background-color: #cadceb;
margin: 4px 4px -5px;
border: 1px solid #A4C0D7;
border-top: none;
}
-
- Users
- Posts: 117
- Joined: 04 Feb 2021, 23:54
Re: Downloadlog
Thank you Sniper, gonna try that tonight
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: Downloadlog
I've noticed an if statement out of place in the attachment_file_prepend.html event template if you ever update again. Line 14
As shown here:
Downloadlog There is added space where View logs link do not show for us but the <dd> does show, with that space.
That <dd> line does not need to show either if someone does not have permission to view logs. Like the file comment line. Hide it all...
- - - - - -
Now this part is just my preference of cleaning up the space. In attached images I moved the image name and file size to <img title" "
As shown here:

Code: Select all
<dd>{% if (U_MCP or U_ACP) %} ... {% endif %}</dd>
Code: Select all
{% if (U_MCP or U_ACP) %}<dd> ... </dd>{% endif %}
Now this part is just my preference of cleaning up the space. In attached images I moved the image name and file size to <img title" "
Code: Select all
<dt class="attach-image"><img src="{{ _file.U_INLINE_LINK }}" class="postimage" alt="{{ _file.DOWNLOAD_NAME }}" onclick="viewableArea(this);" title="{{ _file.DOWNLOAD_NAME }} ({{ _file.FILESIZE }} {{ _file.SIZE_LANG }})" /></dt>
{% if _file.COMMENT %}<dd><em>{{ _file.COMMENT }}</em></dd>{% endif %}
<dd>{{ _file.L_DOWNLOAD_COUNT }}</dd>
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: Downloadlog
I just duplicated the error you had. Dm's downloadlog.css has div.inline-attachment dl.file { display: none; }Onnozel Manneke wrote: 11 Jan 2024, 19:34 Is it possible to integrate this ext with the inline attachment ext? Because when both are enabled, the attachment shows up twice.....
Your inline attachment ext css has div.inline-attachment dl.file { display: block; } which loads after and over writes Dm's css.
Just add !important to Dm's two classes in downloadlog.css and only one set of attachments will show.
Code: Select all
div.inline-attachment dl.file {
display: none !important;
}
dl.file {
display: none !important;
}
-
- Donator
- Posts: 74
- Joined: 14 Oct 2015, 19:10
Re: Downloadlog
Thx for Update... 

Be yourself, except if you're stupid, then it is better that you be another one.
I ♥ Amiga - www.WinUAEspanol.com
I know, my english is very bad, sorry...
I ♥ Amiga - www.WinUAEspanol.com
I know, my english is very bad, sorry...