User Galeries are not Shown under Category "User Galeries" User Galeries are not Shown under Category "User Galeries"
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

User Galeries are not Shown under Category "User Galeries"

Started by JamesChip, December 30, 2005, 11:04:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JamesChip

I installed pcg 143 and tried to test it with several testusers. Now I have the following problem:

If the rights of a user galery are set to "public" I thought that other users should see the galery under the category "User Galeries/<User Name>". But only for the users of the Administrators goup the category "User Galeries" is non-empty. Normal "Registered" users just see an empt category. Not event their own galeries are shown in this category.
Only by manually setting the category number in the URL a registered user can access other user galeries. For example by manually setting index.php?cat=10002 a registerd user can access the galery of another user whos category number is 10002. So it doesn't look like a problem of having set wrong user rights.

Maybe I also have to mention that the thestgaleries of my testusers are still empty because I have some problems with the PHP Safe Mode restrictions of my provider.

My question is: Where is the switch I have to toggle in order to get rid of this problem (not the Safe Mode problem)?

Joachim Müller

the user albums will be visible as soon as you upload pics to them. Fix your upload issue first, then fix permissions.


JamesChip

My provider just disabled PHP Safe Mode and as administrator I'm now able to upload pictures. But the problem remains the same. Additianaly I noticed that users in the group "Registered" have no possibility to upload pictures (there is no button "upload" or something like that), even though they are allowed to have a personal album and therefore must be able to upload pictures.


JamesChip

Now I it works: users can upload albums and upload files to them. I set the group rights as follows:

Upload to public albums: yes
Users can have personal galery: yes

In the configurations tab I set the option "albums can be private" to "no". Now users can upload files to their user albums and nothing more.

The hole user and access rights management seems not to be very intuitive. For instance setting the group rights to

Upload to public albums: no
Users can have personal galery: yes

users can have a galery but there is no way to upload files. My understanding of a personal galery is that the owner of the gallery can upload files no mather if he has the right to upload into public albums or not.

Nibbler

Hmmm, in 1.3 the option was named 'Can upload files' and in 1.4 it is renamed 'Public albums upload' although the functionality of the option remained the same. So you do need to enable 'Public albums upload' to allow uploads into personal galleries.

JamesChip

Quote from: Nibbler on January 02, 2006, 10:41:15 AM
Hmmm, in 1.3 the option was named 'Can upload files' and in 1.4 it is renamed 'Public albums upload' although the functionality of the option remained the same. So you do need to enable 'Public albums upload' to allow uploads into personal galleries.

Maybe one should think about renaming it to "Can upload files". Nevertheless the combination of having a user galery but not beeing allowed to upload pictures makes no sense.

I also discovered the solution for my initial problem: If "Albums can be private" is set to "yes" and just one user sets the rights of his album not to public the category "User galeries" remains empty, that is all users who have set their albums to public are not listed in this category. Maybe I made something wrong but I think it is a bug.