![]() |
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!!
|
:p UP
|
@Logician...
How would you make it so that they put in a word, like "DarkBlazes", and it puts them in the registered usergroup, put no word, and it puts them in the registered usergroup, and put "noXmedia", and it puts them in the noxmedia usergroup? So you sort of add words via the admin cp, and the usergroupid to put them into, and it does that? Satan |
Quote:
Quote:
[word1:2] [word2:12] [word3:14] Then in register.php you'll divide the content of this field into small groups and get individual words and the usergroups..(preferrably put them inside an array) and then check the codes and put the user into relevant usergroup accordingly.. Does it shed a light about the algorithm? |
Hey Firefly: could you pm me the hack aswell?
Thanx, -Freefall- |
Logician can you add the code for say 3 diff signups so i can get the just of your last post
PLEASE |
Quote:
|
Firefly, can You Pm me it please?
|
Hello FireFly, it would be great if you send me the file as well! :)
|
I'm having hard time to understand why people are constantly asking to get the hack in this thread via pm/email from FireFly?
Isn't the code I have given above working or is it invisible to everybody but me? lol |
Looks perfect, I will be implimenting for certain permissions (like uuh, is coupon a good word?) More like giving codes for "Clubs". And only those members who have their club's code can go in..
Regards, Patrick PS: Hope that made sense.. |
All times are GMT. The time now is 04:44 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:
|