News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Show downloads to Public?

Started by magicland, 05.06.2020 04:44:20

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

magicland

Is there a way to show downloads to "Public" users, but not allow them to download them unless they're "Registered"? At the moment it looks like there are no downloads to users who haven't registered. I'd like them to see what's available, but only allow them to download if they've registered as a user. Thanks!
  •  

Arno

Hi,
I think here should you find what you need:
http://www.jdownloads.net/documentation-for-jd3-2/access-controls-user-group-permissions-v3-2

A summary in a few words:
- use as access for the Categories and his Downloads always 'public'
- but change the 'download' permissions to 'registered'
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

magicland

When I set the Categories to "Public", they're viewable, but if the Downloads are set to "Registered", they still can't be seen by anyone not logged in. I'm trying to have the Categories and Downloads visible to "Public", but only allow downloading if the user is registered. If I set both the Category and the Download to "Public", they can be seen, but if I change the Download's file permissions so that "Public" has "download" set to "denied", then in "Registered", even if I have "download" set to "allow", it shows as "Not Allowed (locked)", apparently since it's inheriting the "denied" from Public.

I'll have to look over the documentation a bit more and see if there's anything in there which can help me.
  •  

ColinM

Hi
First I strongly advise against using Deny as its effects are 'unexpected'

You might find a recent article helpful
http://www.jdownloads.net/documentation-for-v3-9-beta/access-user-group-permissions-v3-9/overview-of-joomla-permissions
Whilst in the jD 3.9 section it should give you an overview.

The difference for jD3.2 series is the way to get at the 'root' or 'component permissions'  You go to Joomla! System - Global Configuration tab.  This lists all the components on the left hand side. Clicking on jDownloads will show you its Component. permissions

Need to consider two things:  permissions give the ability to do things like Download; and Access level allows users to see things.
Permission are cascaded down the Categories chain to the Downloads.

So go to the 'component permissions' then in the Public group set the Download permission to Inherit and in the Registered group set the Download permission to Allowed.  Then do a save and check the permissions are set as required, and then save and close.  In jD go to the Tools action Reset Categories Permission, then action reset Downloads permissions.  This will clear up anything you have already set.  Tho check examine a Download and see Registered group has Allowed(inherited) for the Download Premission.  Also that the Public Group has and is has NotAllowed(inherited) in the Calculated settings.

Also check that the Access level is Public - this is the normal default for jD.  There is a way with Batch processing to reset all the Acces levels for Downloads and Categories to Public but I may need to give you advice on that.
Colin

Colin M
  •