The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using username/password for other script
Hello,
I recently bought another license for a site of mine called goregasm.com . At goregasm.com i use a self written comment-, submission- and registerscript. I'm installing the VBulletin and i want to let the other scripts use the vbulletin usernames/passwords so visitors don't have to sign up seperately for both making comments and writing in the forum. The problem is using the passwords from VB table user 'cause it's encrypted. Please help me out with this Thanks! |
#2
|
|||
|
|||
Anyone?
|
#3
|
|||
|
|||
it can be done but you will be sending unencrypted usernames and passwords across the network. i have done it with no problems.
in the register.php script look for : Code:
mail ($newuseremail,$subject,$message,"From: \"$bbtitle Mailer\" <$webmasteremail>"); then after that but before the } insert the following code to connect to the other database, dump the details into it : Code:
//Code added to enter details into another database mysql_connect("serverip", "dbusername", "dbpassword"); mysql_select_db("databasename"); mysql_query("INSERT INTO put_your_table_here VALUES ('', '', '$password', '$username', '$email', '', '', '', '')"); //Code Finish Hope this is what you needed . |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|