vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Creating a new registration form ... (https://vborg.vbsupport.ru/showthread.php?t=165137)

mikesz 12-14-2007 11:31 AM

Creating a new registration form ...
 
I see a lot of people requesting to "shorten" the registration process so this request might come as a surprise. I am thinking about creating a new registration form to collect detailed member contact information like address, phone number, city state, zip code, country etc. and I don't want to recreate the wheel so I was wondering if anyone has done this kind of form? I looked in the user table and none of these fields exist so I guess I need to do some database modifications as well.

I have search most of the day looking for something comparable and found nothing here or on the web.

I would be very grateful for any ideas that might make this task simple or a pointer to a MOD if it has already been done.

TIA, mikesz

mikesz 12-22-2007 04:39 AM

Given the mickey mouse nature of the "userfields" and its poor design, I would have thought for SURE that SOMEONE would have done a better hack to use real table with real field names etc. etc. Just amazing that nobody has ever at least complained about the nonsensical way that socalled "user fields" work or NOT as I believe the case is more accurately.

I created a new form with the "built in" features and couldn't believe my eyes when I checked to see what actually got created ... A HODGEPODGE ARRAY with nothing in the database that makes any sense ... not even the userid cross reference makes any sense. What a joke!

Any ideas would STILL be appreciated...

regards,

mikesz

Opserty 12-22-2007 11:48 AM

I'm sure vBulletin has its reasons for doing this. Remember your not meant to be editing your code anyway so it really doesn't matter how its stored.

Regarding the actual question you can look at adding a new column to your user table and adding some plugins to the User database (user_data_* hooks or something like that).


All times are GMT. The time now is 01:05 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.00999 seconds
  • Memory Usage 1,708KB
  • 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
  • (3)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