- Posts: 10
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question Avatar restriction
16 years 1 month ago #41359
by Victorius
Avatar restriction was created by Victorius
HI,
I have an avatar in my avatar directory which I want to be used only by me and my mate. That doesn't bother me if users can see it in the gallery but they shouldn't be able to use that.
What is the correct file permission setting to achieve that?
I tried chmod 700, but in this case I can't even see it shown (in the gallery it is, but not in my profile)
If I set 744, everybody could see and use it...
Thanks
I have an avatar in my avatar directory which I want to be used only by me and my mate. That doesn't bother me if users can see it in the gallery but they shouldn't be able to use that.
What is the correct file permission setting to achieve that?
I tried chmod 700, but in this case I can't even see it shown (in the gallery it is, but not in my profile)
If I set 744, everybody could see and use it...
Thanks
Please Log in or Create an account to join the conversation.
16 years 1 month ago #41374
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re:Avatar restriction
Hello,
755 or 777 are correct permissions, i don't understand if noboby can see your avatars, what is the purpose to have avatars ?
Code:
If I set 744, everybody could see and use it...
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
16 years 1 month ago #41425
by Victorius
Replied by Victorius on topic Re:Avatar restriction
Let me make it clear...
I have about a hundred avatars in the gallery. There's one I'd like to be used only by the system admins (me and my mate). That is, I am talking about this specific one, not the rest.
So the question again is what the correct chmod values are for that specific avatar file.
"I tried chmod 700, but in this case I can't even see it shown (in the gallery it is, but not in my profile)
If I set 744, everybody could see and use it"
I hope this helps.
Thanks!
I have about a hundred avatars in the gallery. There's one I'd like to be used only by the system admins (me and my mate). That is, I am talking about this specific one, not the rest.
So the question again is what the correct chmod values are for that specific avatar file.
"I tried chmod 700, but in this case I can't even see it shown (in the gallery it is, but not in my profile)
If I set 744, everybody could see and use it"
I hope this helps.
Thanks!
Please Log in or Create an account to join the conversation.
16 years 1 month ago #41431
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re:Avatar restriction
In this case, you need checking by php if the user is an moderator or an administrator, and display the image.
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
Time to create page: 0.243 seconds