PDA

View Full Version : Changing the default Facebook usergroup


Mark.B
04-03-2012, 01:30 PM
I have recently decided to experiment with enabling auto-registration with Facebook on vB 4.1.10.

Now, historically, my default usergroup has been different to the standard usergroup id of "2". In my case it's 9, and I always hard code this in files such as register.php and a couple of others. This makes ordinary registrations go into usergroup "9".

The difficulty I am having, is that by default Facebook registrations are still going into "2".

I know I can set a secondary group in the Facebook options but that's not what I want, I want the primary group to be "9".

However, for the life of me I cannot find where this is hardcoded, or set. can anyone help me locate it?