News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Recent posts

#11
Colin,

in order to check, if "onContentPrepare" of the Content Plugin is really executed, I had added some code to "jdownloads.php" (into the function "onContentPrepare") of jDownloads Content Plugin that would log any execution of this function in a log file. I ran some tests opening articles, running searches and after each test inspected the log file.

While "onContentPrepare" is called, when an article including {jd_file} statements is displayed, it is not called when the results (not the articles) of a smart search are displayed that also include {jd_file} statements.

I am afraid, we have do dig deeper. Unfortunately, I am not familiar with setting triggers on smart searches. So, I cannot give a hint how to solve this problem, I can just report it.

Regards
Tom
#12
Bugs! / Re: Components > jDownloads > ...
Last post by Tom68 - 14.06.2025 16:10:08
Thanks Arno,

the updated code fixes the problem. The backslash is now preserved and the Font Awesome icon is correctly displayed after saving the css files.  :)

Regards
Tom
#13
Hi
OK I now understand
Colin
#14
Quote from: ColinM on 14.06.2025 11:47:47Hi
Have used your tool but I found no icon images - so am a bit confused
ColinM
If you run it and after creating the config and nothing shows up it means you don't have any downloads with unknown types or mismatched types. It doesn't supply any icons itself, it uses your standard flat1 icon sets and just sets the files icon to be the matching filename extension. That is, for filename "foo.dmg" it will set the icon to "dmg.png".
#15
Suggestions - Feature Request / update images
Last post by ColinM - 14.06.2025 11:47:47
Hi
Have used your tool but I found no icon images - so am a bit confused
ColinM
#16
I made a tool to do this. Link here: https://www.jdownloads.com/forum/index.php?topic=14737.0
#17
Hello! I have come up with a tool to update the jdownloads file type icon to the current icon for the filesystem extension. Very useful if you have multiple files using the "unknown" file type or for files that have changed their file type. Be sure and do a backup before running this tool!

Download it here: https://sourceforge.net/projects/jddownload-file-types/

Let me know if you need help with it...
#18
Suggestions - Feature Request / Search by file type...
Last post by fstltna - 13.06.2025 20:52:56
It would be awesome (and make updating file info easier) if you could search for file type in the admin area. So I could search for all files of type ".zip" etc...
#19
General / Re: Im adding the ".hpkg" file...
Last post by fstltna - 13.06.2025 19:37:07
After I extract the files into flat_1 I see the .png files there but I don't see it as a option when editing the existing files that had a unknown.png icon...
Edit: Found that server was using flat_2 rather than flat_1. I switched to using flat_1 and it's now showing up :)
#20
General / Re: Im adding the ".hpkg" file...
Last post by fstltna - 13.06.2025 19:29:03
Thanks! Much appreciated!