vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Custom Registeration (https://vborg.vbsupport.ru/showthread.php?t=36490)

Declan 03-24-2002 03:50 AM

Custom Registeration
 
Hi folks,

I am currently setting up a website for online learning. It has two databases - one for students (name, email grades etc.) and the other for VB.

The board can only be viewed in the student Area which is password protected.

Anyway in order to enter the student area, an admin has to set up an account for you, which is done using a simple form which is sent to the Student DB. I then use the data from that form to also set up a VB account. Anyway to cut a long story short here is my problem:

The new VB account is created fine and the newest user is the last student created, which is correct. However when I log into the Admin section of VB and click on list all users these names do not appear??

when creating the VB account I am only adding the data to the USER tabe. (see code below)

$result = mysql_db_query("bulletin_board", "INSERT INTO user (userid,username,password,email,styleid,parentemai l,coppauser,homepage,icq,aim,y ahoo,signature,adminemail,showemail,invisible,user title,joindate,cookieuser,days prune,lastvisit,lastactivity,usergroupid,timezoneo ffset,emailnotification,receiv epm,emailonpm,options,birthday) VALUES (NULL,'2','$username','".addslashes(md5($Password) )."','$Email','0','','0','http ://www.','','','','$fname $sname','1','1','0','','0','".time()."','1','-1','".time()."','".time()."','".time()."','0','0', '1','1','0','','0','15','0000-00-00')");

Can someone help? Hope you understand my problem.
:ermm:

Declan 03-24-2002 04:05 AM

Why did that post not fit into the screen?
Sorry if it was me

FWC 03-24-2002 06:00 AM

Quote:

Originally posted by Declan
Why did that post not fit into the screen?
Sorry if it was me

There was no break in the (userid,username....) line. Don't worry. We are used to it. :)


All times are GMT. The time now is 09:59 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.00946 seconds
  • Memory Usage 1,713KB
  • 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
  • (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