The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Query to add user on VB 3.6.8 (SQL)
Hi!
I'm looking for a correct SQL query to add a user on the db of vbulletin. I have these variables: username, email, SAL, password (md5(md5(userpasswd).SAL)) I'm trying to bypass vbulletin registration using the one I use on my system. Can someone help me? Thanks Peppe |
#2
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=82836" target="_blank">Add new Users (automatically)</a>
For an exact SQL you'll probably have to look through the User Datamanger |
#3
|
|||
|
|||
Quote:
Thanks |
#4
|
||||
|
||||
vbulletin uses datamanager classes for manipulating complex objects (such as users, threads, forums) in the database. They can be found in the includes directory, with names like class_dm_user.php.
If you look inside this file you will see how VB adds users, and even if you are bypassing the vb login page you could still use the vb system for user addition. |
#5
|
|||
|
|||
Quote:
I will take a look. Right now I wrote a code that could solve the problem. I will post, we can talk about it if you want. --------------- Added [DATE]1196031048[/DATE] at [TIME]1196031048[/TIME] --------------- I wrote this. I looked the database trying to add a testuser and seeing what appens inside... What do you think about? PHP Code:
--------------- Added [DATE]1196031963[/DATE] at [TIME]1196031963[/TIME] --------------- Quote:
|
#6
|
|||
|
|||
Dont use queries to directly insert a user, use the DataManagers.
|
#7
|
|||
|
|||
Quote:
The constructor of the class take 3 parameters, I have 2 parameters. Can someone tell me ho to exactly use it in my code? Thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|