WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

custom password encoder help
what's the simplest way to do this

Version: 2.15
printPrint


custom password encoder help
knotworking
Experienced

Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Posts: 83
Posted 04/27/05 - 12:31 PM:
quote post
#1
Paul-

I posted this question back in December and you gave me an answer but, upon rereading the post, you edited your solution. Here's that post:
http://www.webmastersite.net/forums/comments.php?...

It's taken me sometime to convert and debug my new databases but, they are finally ready. Still have the same problem with the passwords. I do not encode the passwords so, I need a simple encoder file that does not do any conversion.

I've spent all day messing with the vbulletinencoder.php file (it's all I have to work with). I can figure out all the code in there, though I've tweaked it all. Another flavor in the same problem is that I keep getting "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource" whenever I try to use the encoder file.

Removing the integration script and it all works fine so, if I can get the password issue worked out, I think I may be ready to go.

Thanks for any help or direction!
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 04/28/05 - 07:12 AM:
quote post
#2
It should be

<?php
$password = $userpassword;
?>

And then the main integration file would be

<?php
$memberstable = 'wsngallery_members';
$otherencoder = 'yes';
$admingroup = '3';
?>

This is less than ideal as it'll make using different usergroups a pain. 2.20 will have a simple option to use no encoding.

Edited by Paul on 04/28/05 - 07:16 AM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
knotworking
Experienced

Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Posts: 83
Posted 04/28/05 - 09:25 AM:
quote post
#3
Everything I seem to do coding-wise is less-than-ideal. Thanks for the quick reply!!!
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.