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

Auto Enabling Downloads For a Specific User

Started by WhatNoWebsite, 04.06.2016 10:34:06

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WhatNoWebsite

Hi guys

I've used the component before, some time ago now and needed something to do the following so it was the obvious choice...

Allow a registered user to download specified files.

Here's where I am at:

I can easily create the categories and assign a specific user to that category using the "Created By" option.

However, my problem is this...

What I would like to do is automatically assign anything in that category to a specified user so that when they login it shows them these files to download.

At the moment I have to go in to each individual file and set the user as the owner.

Thoughts...?
  •  

ColinM

Hi
If you have a category per user then the simplest way is to create a User Group for that User and a view Access level which only has that users UG as its sole member.  Use Registered as the Parent of the UG.
Then set the category to have that view Access level.  Only members of that UG will be able to see the category.

You will also need to set the permissions for the User Cats.  This is simplest if they are all top level Cats. So if you then add a download the permissions cascade down. Similarly Downloads created after setting the Category Access level will inherit.
Colin
PS Please note Arno is working on a scheme to have individual User Download areas as a background activity.
Colin M
  •