Search…

X3 Photo Gallery Support Forums

Search…
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

function to display only when logged in to admin

11 Oct 2012, 12:33

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: function to display only when logged in to admin

12 Oct 2012, 01:41

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?
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: function to display only when logged in to admin

12 Oct 2012, 11:52

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 :-)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: function to display only when logged in to admin

12 Oct 2012, 12:03

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.
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: function to display only when logged in to admin

12 Oct 2012, 12:14

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.