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

#91
Bugs! / Components > jDownloads > Layo...
Last post by Tom68 - 07.06.2025 15:59:48
Joomla 5.3.1
jDownloads 4.0.47

Colin & Arno,

It seems the jDownloads editor that is called up in the backend under "Components > jDownloads > Layouts > CSS Files" removes backslashes from the css code. The following css code is part of my "jdownloads_custom.css":

/* replace bullet */

.com-content-article__body ul{
    list-style-type: none;
}

.com-content-article__body li:before {   
    font-family: "Font Awesome 6 Free";
    content: '\f15c';
    margin:0 0.65em 0 -1.4em;
}

By means of this code I replace the default bullet by the files-lines character of font awesome 6 free. However, when the editor is left by clicking "Save & Close" the backslash before "f15c" gets removed. As a result "F15C" is displayed on the corresponding webpage rather than the files-lines character.

Regards
Tom
#92
Bugs! / admin/src/Table/DownloadTable....
Last post by Tom68 - 07.06.2025 15:35:41
Joomla 5.3.1
jDownloads 4.0.47

Colin & Arno,

I found another permission issue in the file "admin/src/Table/DownloadTable.php: 1134-1143".

                                    if (extension_loaded('gd') && function_exists('gd_info')) {
                                        // move okay - create now thumbnail
                                        $x = JDownloadsHelper::create_new_thumb($upload_dir.$filename, $filename);       
                                        // set correct chmod
                                        @chmod($upload_dir.$filename, 0655);
                                        // move ok - set new file name as selected
                                        $images[] = $filename;
                                    } else {
                                        Factory::getApplication()->enqueueMessage( Text::_('COM_JDOWNLOADS_ERROR_CAN_NOT_CREATE_THUMB_IMAGE'), 'warning');
                                    }

Why should a thumbnail image file require 0655 (-rw-r-xr-x), i.e. execute permissions for both group and others? I think 0644 (-rw-r--r--) should be perfectly sufficient.

Regards
Tom
#93
Bugs! / admin/src/View/Cssedit/HtmlVie...
Last post by Tom68 - 06.06.2025 17:30:48
Joomla 5.3.1
jDownloads 4.0.47

Colin & Arno,

There are 4 wrong permission statements included with the file "admin/src/View/Cssedit/HtmlView.php: 52-62" of jDownloads 4.0.47

        $css_file = JPATH_SITE.'/components/com_jdownloads/assets/css/jdownloads_fe.css';
        @chmod ($css_file, 0755);

        $css_file2 = JPATH_SITE.'/components/com_jdownloads/assets/css/jdownloads_buttons.css';
        @chmod ($css_file2, 0755);
       
        $css_file3 = JPATH_SITE.'/components/com_jdownloads/assets/css/jdownloads_custom.css';
        @chmod ($css_file3, 0755);
       
        $css_file4 = JPATH_SITE.'/components/com_jdownloads/assets/css/jdownloads_fe_rtl.css';
        @chmod ($css_file4, 0755);

When in the Joomla backend "Components > jDownloads > Layouts > CSS Files" is selected (regardless, if any CSS file is saved or editing is cancelled), the respective files get execute permission:

Quote-rwxr-xr-x 1  4726  6. Jun 16:55 jdownloads_buttons.css*
-rwxr-xr-x 1  1032  1. Jun 12:52 jdownloads_custom.css*
-rwxr-xr-x 1 38440  6. Jun 16:55 jdownloads_fe.css*
-rwxr-xr-x 1  6334  6. Jun 16:55 jdownloads_fe_rtl.css*

Please replace the permissions "0755" by "0644". This is safer and still allows the files to be edited.

Thanks & Regards
Tom
#94
In jD 4.0.47 the results of a smart search are not pre-processed with the function "onContentPrepare" of the Content Plugin. In fact, I did not find any trigger in the code of jD 4.0.47 to accomplish this. As a result, the search results contain unresolved {jd_file} code.

I would highly appreciate, if this missing feature could be added.

Thanks & Regards
Tom
#95
Hi
Am also making some more icons as per your suggestion. So far have done bz2 and hqkx.  Will send to Arno ti=o u=include in next upade .  Whwn done I will send yo a PM the the new imagesColin
#96
Will do!
#97
Suggestions - Feature Request / DMG png
Last post by ColinM - 04.06.2025 10:24:55
Hi
The dmg.png image is in the jD distribution kit. So it will be there for all releases
Colin
PS The safest best way to get the icon added to older Downloads is to just add it where missing rather than the database way
#98
General / Re: Im adding the ".hpkg" file...
Last post by fstltna - 04.06.2025 04:45:12
I found some more files that don't have any official links:
.sit (.sitx is there but not .sit)
.tgz
.bz
.bz2
.hqx
....
#99
Quote from: ColinM on 04.06.2025 01:04:57Hi
One way is to goto the database and edit that - but take a backup first.
However whilst a bit boring the manual way you are doing it is the safest way.
Also when I do such a task I set myself a target of say 20/day not exciting but effective

Colin
Ok I guess I will do it the manual way as I am not skilled at coding sql. How can I make sure future additions use this icon and not the unknown.png version?
#100
General / Re: Im adding the ".hpkg" file...
Last post by fstltna - 04.06.2025 01:29:32
Quote from: ColinM on 04.06.2025 00:56:37Marisa
Will send you details of new image in the morning - just getting a few pixels sorted
Colin
No worries! I had a friend send me the official Haiku icons and I am now using the official icon for hpkg files 😁 You can see them at https://beos.retro-os.live in the download link