vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding new member to vBulletin programmatically (https://vborg.vbsupport.ru/showthread.php?t=221225)

gesman 08-18-2009 09:39 PM

Adding new member to vBulletin programmatically
 
Hello,
Client runs vBulletin 3.8.4 and wants to add new member to vBulletin board programmatically from custom PHP script.

Could anyone please point me to code sample on how it could be done?

Thank you,

Gleb

Marco van Herwaarden 08-19-2009 09:29 AM

What is the URL of your clients' forum?

gesman 08-19-2009 11:32 AM

Hi Marco,
http://www.hooponoponoforum.com/

It is currently .htaccess - protected I'd be happy to give password if you'd send me email:
gesman at mensk.com

Gleb

Marco van Herwaarden 08-19-2009 11:53 AM

No need for access.

The best way to insert new member accounts is to use the DataManagers. I am not sure if there is a specific article on using the the DataManagers to insert new user accounts, but you will find at least general info on using hte DataManagers in our Articles section.

gesman 08-19-2009 12:17 PM

Thank you Marco,

I found this post in the articles section (~1 yr old) with a big chunk of code sample included at the end of it.
Could you please comment if that's recommended way to do it:
https://vborg.vbsupport.ru/showpost....&postcount=104

Thank you,

Gleb

Dismounted 08-21-2009 09:36 AM

<a href="http://www.vbulletin.com/docs/html/data_managers" target="_blank">See the manual about data mangers.</a>

gesman 08-21-2009 09:59 AM

Thank you.

Gleb


All times are GMT. The time now is 06:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02032 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete