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 28. Mar 2024, 10:08

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: 19. Dec 2018, 19:20 
Offline

Joined: 19. Dec 2018, 19:14
Posts: 2
Hi,

On my homepage (which is different to the tinywebgallery page) I'd like to run a form to log into the password protected albums. I can't seem to see where the password popup lives in the code to be able to replicate it so would like to use something like this if possible?

Code:
<form action="index.php" method="post">
<input type="text" name="twg_private_login" class="form-control" placeholder="Type password here...">
<button class="btn btn-secondary" type="submit" value="submit">Enter Photo Albums</button>
</form>


I thought I could link to a simple password protected album like this...

https://domainname/index.php?twg_private_login=password but that does not work either.

Where am I going wrong? How can I achieve my goal?

Cheers

BBadger


Top
 Profile  
 
PostPosted: 20. Dec 2018, 08:45 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you set $enable_external_privategal_login=true?

And I would recommend a post because otherwise your pw will be in the logs of the webserver!

Best, Michael


Top
 Profile  
 
PostPosted: 20. Dec 2018, 11:45 
Offline

Joined: 19. Dec 2018, 19:14
Posts: 2
Ah, no I hadn't. Brilliant that works thanks for your help and prompt response! :D

BBadger


Top
 Profile  
 
PostPosted: 20. Dec 2018, 15:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
;).


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 12 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