Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2008, 09:30 PM
mistyPotato mistyPotato is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 05-17-2008, 09:42 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it should be user table
Reply With Quote
  #3  
Old 05-17-2008, 10:10 PM
mistyPotato mistyPotato is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Not these also?

forum useractivation
forum userfield

Thanks
Reply With Quote
  #4  
Old 05-17-2008, 10:18 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 05-17-2008, 10:48 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

User registration can affect many tables, user the vb data manager to create them.
Reply With Quote
  #6  
Old 05-18-2008, 12:30 AM
mistyPotato mistyPotato is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 05-18-2008, 10:33 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 05-18-2008, 11:21 AM
mistyPotato mistyPotato is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 05-18-2008, 11:39 AM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 05-18-2008, 12:06 PM
mistyPotato mistyPotato is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent!

Many thanks
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 04:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05276 seconds
  • Memory Usage 2,250KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete