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

max-ima
Users
Users
Posts: 139
Joined: 25 Mar 2022, 07:11
    Windows 10 Firefox

Re: Downloadlog

Post by max-ima »

Thank you

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 10 Firefox

Re: Downloadlog

Post by ivailo95 »

This ext somehow make conflixt with
this one
attachmentfluffbuster_3_2_0.zip
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

User avatar

Hareon
New user
New user
Posts: 4
Joined: 13 Dec 2023, 03:48
    Windows 10 Chrome

Re: Downloadlog

Post by Hareon »

I have the same problem. Have conflict with the Download Button of File Download.

User avatar

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

Re: Downloadlog

Post by SpIdErPiGgY »

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
Image

User avatar

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

Re: Downloadlog

Post by Sniper_E »

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.

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;
}
So dl.filedoawnload may have to be added in your horizontal attachments extension the same way.
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
    Android Firefox

Re: Downloadlog

Post by SpIdErPiGgY »

Thank you Sniper, gonna try that tonight

User avatar

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

Re: Downloadlog

Post by Sniper_E »

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.

Code: Select all

		<dd>{% if (U_MCP or U_ACP) %} ... {% endif %}</dd>
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...

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>

User avatar

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

Re: Downloadlog

Post by Sniper_E »

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.....
I just duplicated the error you had. Dm's downloadlog.css has div.inline-attachment dl.file { display: none; }
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;
}

User avatar

Pingui
Donator
Donator
Posts: 74
Joined: 14 Oct 2015, 19:10
    Windows 10 Chrome

Re: Downloadlog

Post by Pingui »

Thx for Update... :thumbup:
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...

Post Reply Previous topicNext topic