vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vBulletin 3.7.4 Intergration (https://vborg.vbsupport.ru/showthread.php?t=198054)

Silentonenz 12-05-2008 08:19 AM

vBulletin 3.7.4 Intergration
 
Hi there guys,

I have a quick question that someone could answer quicker than i could by going in all through the vBulletin files.

I have a system i would like to integrate into my vBulletin Database.

I would like to use the user name/password as there login for a game i am currently in the process of making; Its SQL based obviously. vBulletin encrypts the passwords and i would like some input if possible on how i can check the username/password against the vBulletin database, If its right it logs in, If not it returns invalid username/password

Any ideas?

Thanks in advanced,

Silentone

Dismounted 12-05-2008 09:36 AM

PHP Code:

$password md5(md5($plaintext) . $salt); 


ptmuldoon 12-05-2008 12:01 PM

FYI. I'm doing something similar, and my thought process is that it is better to use the vbulletin registration, and then pass the vbulletin user variables to the game to log them in.

Silentonenz 12-06-2008 05:44 AM

How is the salt calculated?

As i need to be able to verify what the client is using to connect to the server.

Dismounted 12-06-2008 08:57 AM

The salt is the "salt" field for the user in the database. It is three random (and not necessarily alphanumeric) characters.


All times are GMT. The time now is 11:12 AM.

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.01037 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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