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 closed!
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
  #4  
Old 15 Aug 2019, 14:09
doc55 doc55 is offline
 
Join Date: Aug 2019
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
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 04:04.

Layout Options | Width: Wide Color: