vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   new members question (https://vborg.vbsupport.ru/showthread.php?t=39466)

aspire007 06-05-2002 07:34 AM

new members question
 
On my site i set it to where there is newbies, members, and so on but what i want to know is when someone registers they automatically get setup as a member not a newbie. how do i change that to where when they sign up they start as a newbie?

aspire007 06-14-2002 11:44 AM

does anyone know this? please :)

Logician 06-15-2002 08:43 PM

This depends on your settings like
  • do you use coppa system
  • do you require moderation for new users
  • do you require email verification before registration etc.

eg. if you dont use coppa, not require moderation for new users, but require email check here is the part you should change:

in register.php:

} else {
// activate account
$DB_site->query("UPDATE user SET usergroupid=2 WHERE userid='$u'");

Change 2 there with the usergroupid of your newbie users..

If you have other settings check lines begining with:

$DB_site->query("UPDATE user SET usergroupid= ...

These are the lines vbulletin fixes your users usergroupid.. You can find the relevant line according to your settings and change the X there with new usergroupid.

(make sure to backup register.php before proceeding!)


All times are GMT. The time now is 08:59 PM.

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.01017 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