vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Site Integration (https://vborg.vbsupport.ru/showthread.php?t=146141)

clarke_kent 05-01-2007 12:34 AM

Site Integration
 
I am in the process of developing a very large web application / site. I have purchased VBB and am now in the process of integrating login / user info.

My current website has over 35,000 users with user name / login info in a DB.

I am going to write a script to import just the user name / login info into the VBB MYSQL DB

All I need to know is:

1. What information and in Which table do I need to insert user name / login data

2. What type of encryption does VBB use for the passwords

3. Where can I find info on the format of the VBB cookie to enable site wide / external login ?

Any help would be greatly appreciated

Cheers,

I have since discovered that the password encryption is done with md5 has and a salt.

Am I right that VBB_PASS = md5(md5($pass) . $salt)

If so anyone know how to duplicate this password has in Cold fusion ? The hash I end up with is not the same.

I have now figured out the password issue, however I am still looking for information on:

1. What tables need to have login info placed in

2. What cookie information does vbb use and does it also track sessions in a table ?

Billspaintball 05-04-2007 03:16 AM

You need IMPEX from vBulletin.com

clarke_kent 05-04-2007 03:40 AM

Unfortunately I need to update / create the user login info on the fly.

I have managed to figure everything out except the session hash

fatboytim 05-04-2007 10:02 AM

How do you generate the password hash?

Dismounted 05-04-2007 10:04 AM

md5(md5($pass) . $salt)

Do/can you read? Or search?

fatboytim 05-04-2007 10:10 AM

I did find that but where can I get $salt from outside of vBulletin?
I'm linking the forum users with the main user database on my site and now I'm trying to update the vBulletin password when a user changes the password on main site so that the databases are synched.

Dismounted 05-04-2007 10:22 AM

`salt` field in the user table. It is individual for each user.
Search the forums? There's like a million threads on this, in fact, I posted it a few days ago.

fatboytim 05-04-2007 10:26 AM

Thank you :D


All times are GMT. The time now is 09:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00933 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete