vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Integration with vBulletin - Select Usergroup on registration (https://vborg.vbsupport.ru/showthread.php?t=267585)

rophi60 04-08-2012 07:40 PM

just tried it, didnt work... :(

Crystal Shards 05-28-2012 05:14 PM

Quote:

Originally Posted by Boofo (Post 2275738)
My point was that is can be done as a product, without any file edits.

But if that product is unavailable, it's not of any use to anyone who can't make them. So really, it's still not constructive.

Boofo 05-28-2012 05:23 PM

Quote:

Originally Posted by vBNinja (Post 2279924)
just tried it, didnt work...
maybe it's because i have confirmation emails disabled?

Yes, that would be the cause.

Boofo 05-28-2012 05:25 PM

Quote:

Originally Posted by Crystal Shards (Post 2333949)
But if that product is unavailable, it's not of any use to anyone who can't make them. So really, it's still not constructive.

You're right. I digress.

FTG LIQUID CL 05-31-2012 09:15 PM

any chance you would share boofo

Cognitio 06-29-2012 12:05 AM

For those it's not working, he missed one modification detail in the coding on the last step if using email verification:

PHP Code:

if ($vbulletin->userinfo['fieldX'] == "Mujer")
                {
                    
$activateid build_user_activation_id($userid, (($vbulletin->options['moderatenewmembers'] OR $vbulletin->GPC['coppauser']) ? 16), 0);
                } 

1) Where 'fieldX' is, change the X to your field code on the registration form
2) Where "Mujer" is, change that to your criteria of your form (in his example 'Women')
3) Where the query coding says "? 4: 16), 0);", change the 16 to your usergroupid number which you wish them to go to.

He failed to mention to identify the usergroupid stated in step 3 there.

raghhav 10-22-2012 11:44 AM

I have successfully installed this on my VB 4.2 patch level 2. If some one needs this to be done, let me know, I can help. Just post your fieldid, usergroup ids, title of the custom field. I would give you the exact code and you can easily install it.

If you need to see a live, then ask me... I have included 3 usergroup on register page.

grey_goose 10-23-2012 07:09 PM

field117
usergroup 50
Character

raghhav 10-23-2012 07:22 PM

Quote:

Originally Posted by grey_goose (Post 2375446)
field117
usergroup 50
Character

Character is the title name?

grey_goose 10-23-2012 07:33 PM

yeppers, it's an option in field117


All times are GMT. The time now is 01:42 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.00973 seconds
  • Memory Usage 1,738KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete