![]() |
Extending registration to secondary custom database.
Hello,
At the moment I am looking into the possibilities of having the vBulletin forum registration hooked up to a secondary database. This database is for a simple secondary website that doesn't have any fancy features. Basically what I need is that when a user registers, not only will vBulletin querry a new user in the _vbulletin > prefix.user table. But also in the _otherdb > user table. This secondary table has a completely different structure, thats why I only need the username and passwords for now. The tricky part however is that the passwords in this second database cannot be encrypted. They need to be plain text format instead of a salted MD5. This is where my problem lies... how do I make vBulletin pass on the password to a querry as a normal plaintext string instead of this salted MD5 so I can write it to my custom database? Any advice would be appreciated. |
Without consessions to security, you can not do this as vBulletin will already encrypt the password in the browser before sending it to the server.
Loosing some security, you can add the following to your config.php, but i would not advise this: PHP Code:
|
Thx, for the quick reply. But can you give me a quick explenation what this will do?
|
It will sent the password in plain text to the server, and thus making it available in your scripts.
|
Hey that would be great :), and this wont throw any errors on vBulletin serverside?
I'll go try it, thx. |
All times are GMT. The time now is 05:26 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|