Page 1 of 1

Reserved Download Area on Joomla 1.6

Posted: 26 Jan 2011, 19:34
by ptux
I need to create a "download area" reserved to certains users. I'd like to allow some registered users (not every registered users) to access this Area. The new Joomla 1.6 allows the creation of new "level access".

So i installed J1.6 and PhocaDownload 2.0 and i created a new "User Group" and a new "Access Level". Then i created some categories in PhocaDownload. However, i could not grant the access to the user group or to the users of the new access level i created.

So the question: does PhocaDownload allows the creation of this kind of area? and if so: what's my mistake?

I reaport also a problem in PhocaDownloads users tab that show the following output:
SELECT a.*,f.id as file_id,cc.id as category_id,ua.id AS userid, ua.username AS username, ua.name AS usernameno,uc.name AS editor,fa.countfaid,fn.countfnid
FROM jos_users AS a
LEFT JOIN jos_phocadownload AS f ON f.owner_id = a.id
LEFT JOIN jos_phocadownload_categories AS cc ON cc.id = f.catid
LEFT JOIN jos_users AS ua ON ua.id=f.owner_id
LEFT JOIN jos_users AS uc ON uc.id=f.checked_out
LEFT JOIN (SELECT fa.owner_id, fa.id, count(*) AS countfaid FROM jos_phocadownload AS fa WHERE fa.approved = 1 GROUP BY fa.owner_id) AS fa ON a.id = fa.owner_id
LEFT JOIN (SELECT fn.owner_id, fn.id, count(*) AS countfnid FROM jos_phocadownload AS fn WHERE fn.approved = 0 GROUP BY fn.owner_id) AS fn ON a.id = fn.owner_id
WHERE a.id > 0 AND (fa.countfaid > 0 OR fn.countfnid > 0)
GROUP BY a.id
ORDER BY uc.name asc
Thank you all

Re: Reserved Download Area on Joomla 1.6

Posted: 29 Jan 2011, 15:48
by Jan
Hi, there should not be a problem. Do you get the same behaviour if you wan to make access levels and assign them to e.g. categories of articles?

Example:

- Added new access level where only super administrator is.

1) registered user is trying to see Phoca Download but does not see anything, as in Phoca Download is only one category which is set to new access level

2) super user tries to acces the download area and can see the category as he is included in access level list


Image




Jan

Re: Reserved Download Area on Joomla 1.6

Posted: 03 Feb 2011, 15:29
by ptux
sorry for delay! Thanks for your help, but at moment i'm trying to understand what's going wrong with my installation on this server: give a look to this pic:

Image

What's it depend on? And can i fix it, or have i send a bug reaport?

Re: Reserved Download Area on Joomla 1.6

Posted: 05 Feb 2011, 18:42
by Jan
Hi, this will be removed in next version, this is a test code.

Jan