vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What tables and fields are required for registration? (https://vborg.vbsupport.ru/showthread.php?t=179580)

mistyPotato 05-17-2008 09:30 PM

What tables and fields are required for registration?
 
I am going to set up an automated registration process for my forum.

I have a customer database where I get their information from their purchase.

I want to automatically make them a member of my forum by generating a Username and Password (via a script) and then add the necessary information into any tables that are required to successfully make them registered without having to do any of it themselves.

I can generate the UN/PW and I already have all the data, I know how to use VB, Coldfusion. php etc so I can easily write an interface to actually put the data into the tables.

I just don't know WHICH tables in vBulletin MUST filled in to make a valid registration?

Thanks

veenuisthebest 05-17-2008 09:42 PM

it should be user table

mistyPotato 05-17-2008 10:10 PM

That's the ONLY table that needs to be "hit" during registration?

Not these also?

forum useractivation
forum userfield

Thanks

veenuisthebest 05-17-2008 10:18 PM

Quote:

I want to automatically make them a member of my forum by generating a Username and Password
1. useractivation: Its a table storing temporary records, you won't need it in your case. It stores info like useractivation ID, email change, etc.

2. userfield: This stores ONLY the fields listed in admincp->User Profile Field Manager. So, you won't need it coz you just want username and pass to get them registered.

Paul M 05-17-2008 10:48 PM

User registration can affect many tables, user the vb data manager to create them.

mistyPotato 05-18-2008 12:30 AM

Thanks for the advice.

After searching through as many posts (Paul) as I could back to your own "noobie" post on data managers in 2005 :) I still don't quite get it.

If I am simply inserting data into fields in already existing tables, why do I need to use the DataManager? I am simply saying I do not understand the underlying reason the DataManager would be required or even really preferable vs for example using Coldfusion to read data from one source and insert in into another (being my froum tables).

Perhaps inserting records directly into vbulletin tables is far more complex than I realize?

Just at a loss. I was thinking more like veenuisthebest...just insert the data and be done with it.

Marco van Herwaarden 05-18-2008 10:33 AM

We always advise to use the DataManagers as registration involves many tables and probably updating certain counters.

To ensure that you do not miss anything and your script will still work correctly in future release, the easiest way is to let the DataManagers control the process.

mistyPotato 05-18-2008 11:21 AM

ok thanks.

I will look into the Data Manager.

Where can I get more information on this "DataManager"? From my searching so far, it appears it's just scripts that you write yourself to manipulate your forum's data. Is there any core program to help you do this?

Thanks

Wayne Luke 05-18-2008 11:39 AM

You can read about the Data Managers in our online documentation at:
http://www.vbulletin.com/docs/html/data_managers
+
You can also see the entire vBulletin API at:
http://members.vbulletin.com/api/

Here is a tutorial on how to create a new user automatically:
https://vborg.vbsupport.ru/showthrea...reate+New+User

mistyPotato 05-18-2008 12:06 PM

Excellent!

Many thanks


All times are GMT. The time now is 11:19 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.01032 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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