Webmastersite.net
Register Log In

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

Comments on custom password encoder help

knotworking
Experienced

Usergroup: Customer
Joined: Mar 31, 2004

Total Topics: 20
Total Comments: 83
Posted Apr 27, 2005 - 1:31 PM:

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:
www.webmastersite.net/forum...g&findpost=20672#post20672

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 28, 2005 - 8:12 AM:

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.
knotworking
Experienced

Usergroup: Customer
Joined: Mar 31, 2004

Total Topics: 20
Total Comments: 83
Posted Apr 28, 2005 - 10:25 AM:

Everything I seem to do coding-wise is less-than-ideal. Thanks for the quick reply!!!
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.