Hi all,
i don't know it is a bug or not, but i tried to set joomgalery that my users from the frontend would be able to upload pics only in their own categroies. But on the frontend when a registered user uploads a picture he can do this in all categories which are created by any user.
I found the solution:
build:
JOOMGALLERY_BETA_1_BUILD_20080914.zip
file:
joom.userpanel.php
search for this:
$query="SELECT cid as value, IF(owner IS NOT NULL,CONCAT(name,' (user)'),name) as text
FROM #__joomgallery_catg
WHERE owner IS NOT NULL";
change to this:
$query="SELECT cid as value, IF(owner IS NOT NULL,CONCAT(name,' (user)'),name) as text
FROM #__joomgallery_catg
WHERE owner = $my->id";
in this way the user can only upload in his/her own category from the frontend.
i'm not expert in php but this works for me, and caused no problem.
i hope it helps to someone.
flerd