The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hello
i would like to know where can i place this code in register.php to wokd : Code:
$cryptpass=crypt($password); mysql_query("insert into nuke_users (uname, email, url, user_regdate, user_icq, user_aim, user_yim, user_viewemail, pass) values ('$username', '$email', '$homepage', '$user_regdate', '$icq', '$aim', '$yahoo', '$showemail', '$cryptpass')"); Code:
.addslashes($testreferrerid['userid'])."','$nosessionhash')"); $userid=$DB_site->insert_id(); $user_regdate = date("M d, Y"); |
#2
|
||||
|
||||
![]()
Don't edit the .PHP file. Use a plugin for a modification. When you make the plugin, use the hook location register_addmember_complete.
Here's a list of topics to help you with plugin development: https://vborg.vbsupport.ru/showthread.php?t=82621 https://vborg.vbsupport.ru/showthread.php?t=82923 https://vborg.vbsupport.ru/showthread.php?t=97331 https://vborg.vbsupport.ru/showthread.php?t=82625 https://vborg.vbsupport.ru/showthread.php?t=137086 https://vborg.vbsupport.ru/showthread.php?t=109998 |
#3
|
||||
|
||||
![]()
Note that the password is already encrypted at that point, and is not in plaintext.
|
#4
|
||||
|
||||
![]()
Good point, Dismounted. I forgot about that.
|
#5
|
|||
|
|||
![]()
well , but i want to add this command to add fully new registerd member into vbulletin and also in nuke users ! at same time do you have any idia ? how to import vb users into nuke too ! i have made the blocks and modules on phpnuke already ! is there any methodes to mix users in deferent databases ?
best regards |
#6
|
||||
|
||||
![]()
Well, when "integrating" systems like this... It's generally not a good idea to add one user to both databases. Reason why is because later on down the road your users may want to change their password. So you're better off changing the nuke authentication to use the vB database.
|
#7
|
||||
|
||||
![]()
Not only this, but you will get other data discrepancies as well (with any alterable data).
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|