FAP CUSTOMIZATION - SOLVED - Standard Unrelated Gallery In Personal Gallerys
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
is it possible that this code could cause permission problems with new users?
since doing the above edits, new users now cannot delete their own photos in the main gallery, but are able to do it in their sub category "unrelated".. regardless of permission changes.
since doing the above edits, new users now cannot delete their own photos in the main gallery, but are able to do it in their sub category "unrelated".. regardless of permission changes.
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
Hmmmm ... I will check into this :?
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
It should not cause any issues with the main gallery, but could with the sub cat (Unrelated) ... I'll correct this soon.
In the meantime review the thread linked below, it may be some of your problem
http://www.icyphoenix.com/viewtopic.php?t=791
krisbfunk wrote: [View Post]
It should not cause any issues with the main gallery, but could with the sub cat (Unrelated) ... I'll correct this soon.
In the meantime review the thread linked below, it may be some of your problem
http://www.icyphoenix.com/viewtopic.php?t=791
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
Thanks Artie, but i already completed that update a while back and am aware of what it's saying.
settings:
users cannot create subcategories
users can create their own gallery
users can moderate their own galleries
config:
Who can view personal galleries by default: Private
group permissions:
usergroup #4: everything selected.. any modification to this at any time does nothing to the below settings
what new users in usergroup#4 see: (since this mod)
I also should add this happens to every new user in any usergroup.
settings:
users cannot create subcategories
users can create their own gallery
users can moderate their own galleries
config:
Who can view personal galleries by default: Private
group permissions:
usergroup #4: everything selected.. any modification to this at any time does nothing to the below settings
what new users in usergroup#4 see: (since this mod)
usergroups main personal gallery wrote:
usergroups UNRELATED personal gallery wrote:
I also should add this happens to every new user in any usergroup.
Subject: Re: Standard Unrelated Gallery In Personal Gallerys
kris*, I think what is happening is that you have the group checked off as Is Moderator and that is pretty much the same as checking all the permission checkboxes. If you unchecked Is Moderator I think you will see the effect you desire.
On another note: The code (see below) given in an above post is incorrect and should be reversed.
On another note: The code (see below) given in an above post is incorrect and should be reversed.
Artie wrote: [View Post]
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
Artie.
Should all the old code be removed and then enter the new updated mod?
Should all the old code be removed and then enter the new updated mod?
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
thanks, i updated the code.
as for the issue i'm having, the moderator box is not checked off for that usergroup.
main personal gallery:
unrelated personal gallery:
(this is only happening with new users since the unrelated mod)
as for the issue i'm having, the moderator box is not checked off for that usergroup.

main personal gallery:
Quote:
unrelated personal gallery:
Quote:
(this is only happening with new users since the unrelated mod)
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
Yes, I think that would be best.
You should also set cat_delete_level to 3 for all the Unrelated subcats you now have.
kris*, the only thing this mod could have done would have been ... You cannot delete your photos and comments in this category ... for the subcat Unrelated and not the main category. ... the updated mod will correct this on future galleries.
You are aware that Who can view personal galleries by default must be set to Private for any of those permissions to be active ?
Bullet wrote: [View Post]
Yes, I think that would be best.
You should also set cat_delete_level to 3 for all the Unrelated subcats you now have.
kris*, the only thing this mod could have done would have been ... You cannot delete your photos and comments in this category ... for the subcat Unrelated and not the main category. ... the updated mod will correct this on future galleries.
You are aware that Who can view personal galleries by default must be set to Private for any of those permissions to be active ?
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
ok, i guess i should open a new topic then.. yes, i am aware Who can view personal galleries by default must be set to Private for the settings to take affect, and it is.
New users cannot delete photos in their main gallery, but they can delete photos in their Unrelated gallery. I have reset the permissions a number of times to even allow full access/no access and with and without moderator ability in the config. personal gallery delete permissions are not working on new users in any usergroup.
the only work-around i have for my users now is to have them move photos to their unrelated gallery and delete them from there.
*edit*
ok, i logged in as admin and deleted a new users personal gallery (both unrelated and main personal gallery). Then I logged in under that new user and created a gallery by clicking the create a personal gallery link. Now the new user can delete photos from both galleries. I have to do this for every new user.
When new accounts are created, the main gallery and unrelated is already created for them when they click their personal gallery link, perhaps this is part of the issue? It never used to be like this, new users previously had to click "create a personal gallery".
Artie wrote: [View Post]
ok, i guess i should open a new topic then.. yes, i am aware Who can view personal galleries by default must be set to Private for the settings to take affect, and it is.
New users cannot delete photos in their main gallery, but they can delete photos in their Unrelated gallery. I have reset the permissions a number of times to even allow full access/no access and with and without moderator ability in the config. personal gallery delete permissions are not working on new users in any usergroup.
the only work-around i have for my users now is to have them move photos to their unrelated gallery and delete them from there.
*edit*
ok, i logged in as admin and deleted a new users personal gallery (both unrelated and main personal gallery). Then I logged in under that new user and created a gallery by clicking the create a personal gallery link. Now the new user can delete photos from both galleries. I have to do this for every new user.
When new accounts are created, the main gallery and unrelated is already created for them when they click their personal gallery link, perhaps this is part of the issue? It never used to be like this, new users previously had to click "create a personal gallery".
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
Artie,
Do you have all the previous code edits that u have PM me so I can remove them.
Do you have all the previous code edits that u have PM me so I can remove them.
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
Most of the code is lined out above, the other is in album_mod/album_hierarchy_sql.php
Just replace what you have between this (below) with the code listed in the mod update.
You have other problems, I would think.
How did that happen?
If ACP is set to allow users to create their own gallery they must be created this way.
Bullet wrote: [View Post]
Most of the code is lined out above, the other is in album_mod/album_hierarchy_sql.php
Just replace what you have between this (below) with the code listed in the mod update.
// BEGIN CREATE PERSONAL GALLERY SUB CAT
// END CREATE PERSONAL GALLERY SUB CAT
// END CREATE PERSONAL GALLERY SUB CAT
krisbfunk wrote: [View Post]
You have other problems, I would think.
How did that happen?
If ACP is set to allow users to create their own gallery they must be created this way.
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
Works great now! Thanks again!
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
ok.. i'm not sure how it happened? ACP is set so to 'Private' for 'allowed to set personal gallery for users' and all usergroups are checked off in the personal galler permissions. The pre-existing galleries do not appear in the list of member galleries until someone has uploaded a photo, they do not get the link to create a gallery, it simply exists (unless i delete it, then they get the link).
Artie wrote:
ok.. i'm not sure how it happened? ACP is set so to 'Private' for 'allowed to set personal gallery for users' and all usergroups are checked off in the personal galler permissions. The pre-existing galleries do not appear in the list of member galleries until someone has uploaded a photo, they do not get the link to create a gallery, it simply exists (unless i delete it, then they get the link).
Page 2 of 3
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.1598s (PHP: 14% SQL: 86%)
SQL queries: 14 - Debug Off - GZIP Enabled