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 24. Nov 2024, 19: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  [ 2 posts ] 
Author Message
PostPosted: 4. Jun 2007, 04:06 
Offline

Joined: 4. Jun 2007, 03:52
Posts: 1
I have an existing .htpasswd which I use within my pmWiki. The Wiki uses this file just fine.
I don't want to use .htusers.php because I don't know the users' passwords.
I tried copying the usernames and passwords to .htusers.php like eg.
$GLOBALS["users"]=array(

array("admin","21232f297a57a5a743894a0e4a801fc3",".","7",1,"",7,1),
array("adduser","aduJEWHBoZK0E",".","7",1,"",7,1),

but no success.

Allthough I set
$password_file=".htprivate";
or
$password_file=".htpasswd";
an renamed the password file in twg/admin/_config/.htusers.php accordingly the login allways fails. I login by klicking on the littel text "login" in the upper right corner.

Example from the .htpasswd:
adduser:aduJEWHBoZK0E

Then I tried to generate a password file with the htpasswd command. I received eg.
tom:{SHA}TL0/TlkR/I7ggJ6v75R0ZL52qhQ=
tom:U3qbvLBsob7J6
depending on which encryption to use.
But all don't work.

It seems as if all my attempts concerning passwords are ignored.

I can add new users with the TWG User Administration twg/admin/index.php. But, as said, this is no option since I want to reuse the existing passwords.

How can I use my existing .htpasswd ?
Can I disable the login ? My users have loged in to the wiki allready.

:-(
Thomas


Top
 Profile  
 
 Post subject:
PostPosted: 14. Jun 2007, 23:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
.htusers.php has NOTHING to do with .htpasswd.

This are 2 totally different files read by totally different peaces of software.

TWG has more options than simply a user and a password - it has a folder, rights ...

If you only want to use one login you simply have to change the userlogin of twg a little bit - you can edit

admin/fun_users.php to e.g. check your login and set a default path and default rights - the activate_user method is a good point to start ;).

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 52 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