vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to add user to custom group upon registration (https://vborg.vbsupport.ru/showthread.php?t=138852)

JoeZ 02-08-2007 07:47 PM

How to add user to custom group upon registration
 
I'm trying to use an email filter..if they have an acceptable email address they are a regular user and if they don't they get put on a restrictive usergroup.

How do I assign a usergroup at registration?

Analogpoint 02-09-2007 04:16 PM

The best way is to have the default group 'Registered Users' be the restrictive usergroup, and then set promotions to move them to other, less restrictive groups.

JoeZ 02-09-2007 04:18 PM

ok, but I want the process to be automated so I don't have to manually sort people out.

Analogpoint 02-09-2007 04:21 PM

It is an automated process after you have the promotions set up. Once an hour, vB checks the promotions and promotes the user automatically (it could take up to one hour after they register).

As an example, I have the Registered Users group set up so that all new threads/posts go to the moderation queue, so I can check them for spam (I don't do it manually, I use an akismet plugin :) ). Then I have a promotion set up for when a user has a minimum of 5 posts and 2 days of being registered, they are automatically sent to another group that doesn't have this restriction. I think you could do the same, just have the parameter be their email address instead of their post count.

Paul M 02-09-2007 07:06 PM

Have a look at this ;

https://vborg.vbsupport.ru/showthread.php?t=112559


All times are GMT. The time now is 12:51 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.01782 seconds
  • Memory Usage 1,710KB
  • 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
  • (5)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