jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: ciroslitz on 06.10.2016 22:39:54

Title: Problem number display
Post by: ciroslitz on 06.10.2016 22:39:54

Appear strange numbers. view photos

[gelöscht durch Administrator]
Title: Re: Problem number display
Post by: Arno on 06.10.2016 23:26:41
Hi, please send me a link to this site via PM.
Can it be that you have edited the used files layout?
Title: Re: Problem number display
Post by: Arno on 10.10.2016 00:21:24
Hi ciroslitz,
after i could install the akeeba backup locally (and could use the debugger) it was possible for me to find the reason for your problem. As expected has this nothing to do with jDownloads.

The reason is the Button for Content plugin from your Buttons component.
I think that this parts are the problem:
        $allowed_contexts = array('com_content.article','com_content.featured','com_content.category');
        if (!in_array($context, $allowed_contexts))
        {
            return true;
        }

I think it should be:
        $allowed_contexts = array('com_content.article','com_content.featured','com_content.category');
        if (!in_array($context, $allowed_contexts))
        {
            return;
        }


You can use my modifications (without any guarantee). Use the unzipped file below and copy it over the original file in /plugins/content/buttons/. Afterwards are the numbers gone.  ;)

[gelöscht durch Administrator]
Title: Re: Problem number display
Post by: ciroslitz on 10.10.2016 15:14:02
 I hope that the amendment does not create problems with plugin button.
Perfect thanks.
Title: Re: Problem number display
Post by: Arno on 10.10.2016 15:37:56
Quote from: ciroslitz on 10.10.2016 15:14:02
I hope that the amendment does not create problems with plugin button.
You could contact the developer from this extension...
Title: Re: Problem number display
Post by: ciroslitz on 10.10.2016 16:58:20
thank you so much