![]() |
New members in a different user group than registered
wluke said that there was a hack for this :-
i run a football site currently rival fans are banned but i want to be able to create a user group called rival fans they will be able to post in one room on the site is there a way to do this when they register ie. ask which team when they support when they sign up and then automatically assign them to the user group rival fans |
ello peeps!!
|
Coming soon...
|
thanks firefly ;)
luke said that it had already been done im not the best at php etc but i assumed that it wouldnt be too difficult anyhoo, thanx for the update |
It's ready for testing if you want, shall I PM you the file?
It includes a new option for usergroups, "Can users choose to join this usergroup when signing up?", so you can control exactly which usergroups new users can sign up for. |
that would be great firefly
ill test it no problem and let you know how i get on, ie. any bugs suggestions pm me the file and ill try it when i get home tonight nice one |
FireFly ,
I'm looking for this same hack, could you pm it to me also? Thanks! |
Did this go any further? Found this discussion looking for something similar (want to put users in a special group based on a code they enter at registration). Can't seem to find anything in Firefly's released hacks or betas.
|
Quote:
Edit register.php, find: PHP Code:
PHP Code:
Replace YYY with your secret code Replace Z with the usergroup id users will be inserted.. This will work provided that: 1- You didnt enable new user moderation 2- You enabled email validation 3- I dont know about COPPA thing but I guess it wouldnt matter.. Not tested but should work.. |
Looking forward for the hack!!
|
All times are GMT. The time now is 01:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|