vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=327077

Create new user account
by BulliM
05 Feb 2019 14:30

I try to add new users by an own php script. Is there a vb method, to create new user accounts to vbulletin without using admincp ?

I have USERNAME, EMAILADRESS, PASSWORD and other defaults if needed.

Todo:

1. Have to check, if username already exists.
2. Convert password into token and secret. (May a function do automatically?)
3. Write new user into database.


Two questions:

1. What is the easiest way to do this?
2. Are there any steps to do furthermore?

delicjous 05 Feb 2019 16:20

Look at "core/vb/api/user.php->function save"
Small example in do_not_upload examplepackages.

BulliM 05 Feb 2019 17:29

Was helpful. Above this function is explained, what's to do. I'll try that. Thank you delicjous!

doc55 15 Aug 2019 14:09

Hi, Were you able to figure this out? I need the same exact thing for my site. I am not an expert in coding (know some basics). I appreciate if you could help me with your code example.
Thanks


All times are GMT. The time now is 17:32.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.