 Re: Personal Galery Images Mix With Public
Please excuse my bad english, it is not my native language.
At first Thanks for the code. I have searched this changes for a long time. And it works very good.
But I have a new problem after the changes - I use the FAP 1.4.0:
I have some special private Usergroups, e.g. group1, group2 and so on.
In the public categories i have also some sub-categories in the album for this special privat groups, e.g. albumgroup1, albumgroup2 and so on.
These special categories are allowed only for the members of the special group.
It works fine, so that only the special privat group members have access to the pics in their categories and it works also fine with the albumimg-tag and the fullalbumimg-tag in the posting area.
I made the changes to see the pic-thums from the usergalleries on the album-index in the blocks for the newest, highest rated, most viewed and random pics. I works very good.
But now the problem:
If I restrict the access on the personal galeries and/or the access to some special sub-galleries in the public categorie to private usergroups, all users can see the thumbs of the pics in the restricted areas on the album-index-page in the blocks for the newest, highest rated, most viewed and random pics.
What can I do, to show the thumbs in the blocks for the newest, highest rated, most viewed and random pics on the album-index-page only for the users who are allowed to access to the categories where the pics are in?
I hope You have understand my problem, please excuse my bad english. Thank You very much.
|