vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Modify Register to automatically assign to group (https://vborg.vbsupport.ru/showthread.php?t=196350)

roberttk 11-15-2008 02:44 PM

Modify Register to automatically assign to group
 
I have two types of users, General Users and Paid Users. The paid users are going through our shopping cart to pay and then we want to redirect them to a modified register page that signs them up to both the Gereral Users Group and the Paid Users Group.

I am fine with the way the default registration(that comes with vbulletin) works I would just like to take that one and modify it to flag the other user group too.

I do not know how to code PHP, but am hoping it is just a matter of adding a hidden field in the form to check that user group.

Help I need to get this done ASAP to launch the forum.

Thanks,

rtk

Lynne 11-15-2008 04:00 PM

You might want to look through the mods to see if there is something you can use there. search "regist*" "all mods" "titles only" I found this one which may help you do what you want - PB Usergroup Choice on registration

roberttk 11-15-2008 10:16 PM

Thanks, I'll try that.


All times are GMT. The time now is 11:03 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.02019 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