Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Feb 2019, 14:30
BulliM's Avatar
BulliM BulliM is offline
 
Join Date: Oct 2017
Create new user account

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?
Reply With Quote
  #2  
Old 05 Feb 2019, 16:20
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Look at "core/vb/api/user.php->function save"
Small example in do_not_upload examplepackages.
__________________
vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
Team online, Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters PRO, New&Free: vB5 MemberMap
Reply With Quote
  #3  
Old 05 Feb 2019, 17:29
BulliM's Avatar
BulliM BulliM is offline
 
Join Date: Oct 2017
Was helpful. Above this function is explained, what's to do. I'll try that. Thank you delicjous!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

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

Layout Options | Width: Wide Color: