Previous Thread
Next Thread
Print Thread
Hop To
#29006 07/25/2002 9:28 PM
Anonymous
Unregistered
Anonymous
Unregistered
just wondering...

i am using a seperate program, but am trying to merge its username/password database with that of threads...ie: instead of user having to sign up for mulitple features of the site, just sign up once, same user and pass for all features of the site....know what i mean?

so i'm trying to see if there is an option that says "encrypt passwords" and be able to turn it off somehow, because the other features of my site do NOT encrypt passwords, so I *THINK* there would be issues there...because the password read by threads would be THOUGHT as encrypted, but its not, and vice versa for the other features...

I know it sounds like jibberish, but if anyone can help me out here, I'd be extremely thankfull!!!!!!

TIA

#29007 07/25/2002 9:36 PM
Anonymous
Unregistered
Anonymous
Unregistered
PS:

in opening up "adduser.php", around lines 244 - 269, we see this:

{Removed by Brett Harris as this is licensed only code}

------------
NOTE the second variable is changed from "$crypt" to simply "$pass", in thinkng that it will simply jump over encrypting the password and accept the password in its orriginal format (unencrypted)...

Would this solve my problems? I don't want to try it untill i know I wont mess stuff up in everything that is on my site!!!!


TIA!

[This message was edited by Brett Harris on July 29, 2002 at 09:44 AM.]

#29008 07/25/2002 11:46 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
"Would this solve my problems?"

Nope, you've broken the board. <img border="0" title="" alt="[Frown]" src="images/icons/frown.gif" /> You see, you have inserted in unencrypted password, but every other part of the board is still expecting an encrypted password. And should someone go into My Home and edit their password? it'll be encrypted again.

What you can do is either

A) make your other program use an MD5 password. Not fun probably.

B) go through every script in threads and make it use unecrypted password. Definately NOT fun.

C) add another column to the db (w3t_Users) for an unencrypted password. Leave what Rick has in adduser but add to it the insert for your unencrypted password for your other app into the new column. Make you other app read that column for the password. Considering that you have most of it already done I'd say that is far the easiest route.

Honor The Victims

#29009 07/26/2002 1:57 AM
Anonymous
Unregistered
Anonymous
Unregistered
THANKS DOOD!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 686 guests, and 131 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)