Page 1 of 1
function to display only when logged in to admin
Posted: 11 Oct 2012, 12:33
by grimurnet
Hi guys,
I was wondering if it is possible to add a function to the gallery that makes things like (e.g. exif, download link and more) only available if logged into admin.
I hope you understand what I mean.
Re: function to display only when logged in to admin
Posted: 12 Oct 2012, 01:41
by mjau-mjau
This functionality does not currently exist, although technically it would probably be possible. How are you going to set exactly what elements are only available for a logged-in user though?
Re: function to display only when logged in to admin
Posted: 12 Oct 2012, 11:52
by grimurnet
It could be under users, and then when you create a user you can have access rights there, where you can tick what that user can access. That user can view exif, download image, and other options. If that would not be too complicated

Re: function to display only when logged in to admin
Posted: 12 Oct 2012, 12:03
by mjau-mjau
grimurnet wrote:It could be under users, and then when you create a user you can have access rights there, where you can tick what that user can access. That user can view exif, download image, and other options. If that would not be too complicated

"Tick"? You must be aware that settings are a beast of items in a structure seldom in just on/off toggles. Even if it was, we would need to replicate the entire theme+settings structure and then for each user also. Should we go through all items and hand-pick the few ones we want to be available for user-selection? Hope you see what you are asking about here ... Sorry I just gotta cut to the chase and tell you there will not be any way to customize the frontend based on logged in user-types.
Re: function to display only when logged in to admin
Posted: 12 Oct 2012, 12:14
by grimurnet
mjau-mjau wrote:grimurnet wrote:It could be under users, and then when you create a user you can have access rights there, where you can tick what that user can access. That user can view exif, download image, and other options. If that would not be too complicated

"Tick"? You must be aware that settings are a beast of items in a structure seldom in just on/off toggles. Even if it was, we would need to replicate the entire theme+settings structure and then for each user also. Should we go through all items and hand-pick the few ones we want to be available for user-selection? Hope you see what you are asking about here ... Sorry I just gotta cut to the chase and tell you there will not be any way to customize the frontend based on logged in user-types.
Similar to the html/mobile/flash option, but just user based. I just thought of asking, yes I understand it is a very difficult and complicated task. That's why I thought of asking you guys, to see if it is possible.