Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Mar 2024, 09:26

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 15. May 2006, 13:01 
Offline

Joined: 15. May 2006, 12:54
Posts: 2
Hi, I'm trying to setup nested password protected galleries. If I make one of these sub folders password protected with a different password then when I try and leave the folder (i.e. go back up one level) it says I haven't logged in to view this password. So it appears that one password overwrites the other.

Is there a way to stop this happening without having to enter all passwords in the lower level password.txt file?


Top
 Profile  
 
 Post subject:
PostPosted: 15. May 2006, 13:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

No - TWG does only store the actual entered password.
If you want to do something like that you have to add the passwords of the lower levels to the upper level password file.
You wrote it the other way around.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. May 2006, 13:33 
Offline

Joined: 15. May 2006, 12:54
Posts: 2
OK thanks.. and it depends which way you consider is up :)

Would you consider a way of automatically managing something like this? Or am i setting my galleries up in a strange way? Perhaps an option in the admin panel to 'roll-up passwords to upper levels' that would then automatically insert lower level passwords into each higher level directory.

I've only spent an hour or so with TWG so far and it's by far the best gallery for what I need I've found.. excellent work.


Top
 Profile  
 
 Post subject:
PostPosted: 15. May 2006, 13:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
thanks,

Your setup is fine.

I didn't want to have a complicated password protection part. But you are right - I havent planned that e.g. folders that have subfolders may have different passwords.
But it kind of does not make sense for me because the user should not enter different passwords - this can only be hidden right now by adding it to the upper password file (that is then user friendly again).

Making a "quick" solution is not that easy too because e.g. the search has to check protection too.
The admin could "generate a password file from the ones below.
If you want to write this function - go ahead ;).

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy