Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Select Usergroup on registration Details »
Select Usergroup on registration
Mod Version: 1.00, by lympboy (Member) lympboy is offline
Developer Last Online: Jan 2013 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 13
Released: 28 Jul 2011 Last Update: Never Downloads: 0
Not Supported Additional Files  

Well, here I will explain them to VBuletin 4.x, how to make the register can select a user group

I demonstrate using for Men and Women.

1_ Let User Profile Fields ---> Create new profile field ---> Single Selection


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Leave everything else default, or put it in your opinion)

2_ Open the file register.php (It is located in the folder that your forum dode)

3_ Search:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


NOTE:
Here where is the X put the number of field of field of user profile created
Aca says the number of the field:


This line is the X

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And where is the W put the ID number of the user group, which in this case is the woman.
Here tells you the ID number, which in this case the user group is called Women.


This line is the W

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


NOTE:
With all this echo up here, provided they are registered and NO is selected confirmation email, provided that register and selects men are assigned the default user group that is the id number 2, and when women are chosen will select the user group that you placed the corresponding id.
But should they be assigned the confirmation email option, you must also replace this in the register.php.
(both steps are recommended in order to always be able or may not have the option to confirmation by email)

4_ Search:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


NOTE:
Again, where is the X put the number of field of field of user profile created
Aca says the number of the field:


This line is the X

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

5_ Al and have edited the register.php , there is only replaced by that of his board, and ready, at the time of registration, if they choose the women will have group sex user in this case would be if women and men choose will have the default is the user group man.

Credits: 3xtr4 3xtr4
Example

Sorry my english!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Profile Enhancements Select Avatar On Registration 1Unreal vBulletin 3.8 Add-ons 51 01 Jun 2012 15:21

Comments
  #2  
Old 28 Jul 2011, 22:26
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
There is an easier way to do this without any file edits at all.
Reply With Quote
  #3  
Old 29 Jul 2011, 02:37
Preech Preech is offline
 
Join Date: Aug 2002
Boofo, can you shed any light on how to do it without editing the php files.
Reply With Quote
  #4  
Old 29 Jul 2011, 05:44
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
tagged + installed + 5 stars + MOTM

thanks men
Reply With Quote
  #5  
Old 29 Jul 2011, 21:32
Preech Preech is offline
 
Join Date: Aug 2002
This is definitely something I'm looking forward to. But I don't want to have to do this every time I decide to update to the newest version.
Reply With Quote
  #6  
Old 01 Aug 2011, 21:20
cloferba cloferba is offline
 
Join Date: Apr 2009
Originally Posted by Boofo View Post
There is an easier way to do this without any file edits at all.
and which is that way?
Reply With Quote
  #7  
Old 01 Aug 2011, 22:03
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
The "Boofo did a mod for a client" way.
Reply With Quote
  #8  
Old 02 Aug 2011, 02:35
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Originally Posted by Boofo View Post
The "Boofo did a mod for a client" way.
That means that this is the next best thing.
Reply With Quote
  #9  
Old 02 Aug 2011, 03:08
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Sure, no doubt. I would use it if I needed it and I hadn't done one.
Reply With Quote
  #10  
Old 19 Oct 2011, 03:55
SEW810's Avatar
SEW810 SEW810 is offline
 
Join Date: Mar 2008
Jesus, I know this is pretty easy to edit but crap!!!,it didn't work form me.

I've edited my register.php file with the correct fieldid and usergroupid stuff but nothing happends , New users always go to usergroup 2
__________________
Reply With Quote
  #11  
Old 22 Oct 2011, 06:22
SEW810's Avatar
SEW810 SEW810 is offline
 
Join Date: Mar 2008
Uninstalled... err.... unedited... lol
whatever
__________________
Reply With Quote
  #12  
Old 19 Nov 2011, 18:16
vBNinja's Avatar
vBNinja vBNinja is offline
 
Join Date: May 2011
Does this work with 4.1.X ?
Reply With Quote
  #13  
Old 20 Nov 2011, 18:55
Merenguista's Avatar
Merenguista Merenguista is offline
 
Join Date: Sep 2010
thanks .. great job !
Reply With Quote
  #14  
Old 20 Nov 2011, 19:01
vBNinja's Avatar
vBNinja vBNinja is offline
 
Join Date: May 2011
Originally Posted by Merenguista View Post
thanks .. great job !
Did you already do it and is it working??
Reply With Quote
  #15  
Old 20 Nov 2011, 22:56
Wild Bronco Wild Bronco is offline
 
Join Date: Jan 2005
Something like this to let new users see a list of social groups to join would be interesting
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:06.

Layout Options | Width: Wide Color: