News:

Dear jDownloads users, There is currently no Joomla 6 compatible version available. However, we are working on it and hope to release it shortly.

Main Menu
Support-Forum

Request for a Joomla 6-compatible installer for CB jDownloads

Started by musicasampler, 12.11.2026 03:11:05

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

musicasampler

Hi Arno and ColinM,

Could you publish an updated installer for **Community Builder Plugin for jDownloads 4.0**, currently version **2.8.0**, so it can be installed normally through the Community Builder plugin manager on Joomla 6?

I tested the plugin in two environments and made one small change in each.

**1. Local test on WampServer — `cbjdownloads.php`, line 283**

I tested a migrated copy of my site running Joomla 6.2.0, PHP 8.4.15, and jDownloads 4.1.7. When I opened a profile without entering a search term, `$filterSearch` could be `null`. Passing it to `htmlspecialchars()` produced a PHP deprecation notice. I changed:

```php
htmlspecialchars( $filterSearch )
```

to:

```php
htmlspecialchars( $filterSearch ?? '' )
```

The change preserves any search text and uses an empty string when no search term is available. Afterward, I verified that I could search for a MIDI from the profile's Downloads tab, open its page, and download the file.

**2. Online test on `version6.musicasampler.com` — `models/model.php`, line 149**

I then tested on a separate subdomain with a clean Joomla 6 installation. When I opened the Downloads tab, the plugin raised `Class "JRoute" not found`. In `getUrl()`, I changed:

```php
$url = JRoute::_( $url, false );
```

to:

```php
$url = \Joomla\CMS\Router\Route::_( $url, false );
```

After that change, the Downloads tab loaded and displayed the list of MIDIs on the test subdomain.

I've saved both corrected files. Could you review these changes and include them in an official Joomla 6 ZIP? That would let users install the plugin through Community Builder with the fixes already included.

I'd be happy to share the two files if you'd like to review them.

Thanks and kind regards 
Alfredo musicasampler
  •  
    The following users thanked this post: Arno

Arno

Hi Alfredo,
thank you very much for your help and for providing the bug fix.
I will update the older version here later today.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

musicasampler

Thank you for updating the official CB jDownloads installer and including both fixes I shared. I checked the 2.8.1 package and was glad to see them included.

The Downloads tab is an important part of Musicasampler. Our members use it to see which MIDIs others have contributed. I'm glad my tests helped get the fixes into the official package so other Joomla 6 users can install it directly through Community Builder.

Thanks again for taking the time to update the plugin.

Best regards,
Alfredo
Musicasampler
  •