Announcement

Collapse
No announcement yet.

Password & salt encryption

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Password & salt encryption

    Hi,
    I have been thinking either to use impex, or to custom code this into my registration script.
    Any way, i have a script to register an account on another of my databases (non-vbulletin).
    Passwords are stored in plan text.

    I want the user to be added to the vbulletin database, and I dunno if it would be smartest to add them via the registration script or via impex.

    I'm kinda stuck with my own registration script, as i got this:

    $sql = "INSERT INTO user SET username='".$in_user."' , usergroupid=2 , passworddate=0000-00-00 , email='".$in_email."' , showvbcode=1 , usertitle=Member , customtitle=0, joindate='".$time."'
    But I don't really know how to insert the password or salt..

    If i used impex, would it be possible to run impex as a cron, and how could i set it up for my own database? I tried to read this thread:
    http://www.vbulletin.com/forum/showt...785#post822785
    But it didn't help me much :/

    Please advice, thank you very much

  • #2
    You will be best off using the 'User' datamanager. Here's an older thread at vbulletin.org:
    http://www.vbulletin.org/forum/showthread.php?t=82836

    That might get you started or perhaps there is some newer information over there for vB4 if you search around.
    If you read it online, it must be true.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X