![]() |
Is This Possible?....
I created a User Group named "DVD". Each one of the subscribers has a different Username but all of them have the same password. Is there a way that when they sign up with different usernames, but use a specific password, it'll register them under the DVD user group name?
|
you know it's dangerous to give all the same password?
they can easily log in as someone else... my tip: create a new customfield DVD-Password then edit register.php and compare DVD-Passwordfield with the password you want for that group. if they match, they'll be registred in this custom group |
I have no idea how to do that.
|
well create the new field in your AdminCP
Editable by user, but not viewable in profile then open register.php find PHP Code:
PHP Code:
not tested but should work |
I know how to find out the usergroupid, but how do I figure out the fieldID number?
|
nevermind, I think I got it...testing now
|
Doesn't work unfortunately. It just registers them under "Registered" instead of "DVD"
|
hmm, had a second look at the code and it should work perfectly...
Is your typing correct, the password is cassensitiv. you can add an PHP Code:
to see if the content of the var is correct |
when I put in the echo code, when I try to register and give the correct password, the page refreshes to just a blank page. I took out that code and tried again and it still just registers the user as "Registered" and not under "DVD". Weird. Maybe I have my numbers wrong, but I have the Field ID set to the DVD group when I added that group, and I have the New User Group ID set to the Forum number. Is this correct?
|
I even switched the numbers around and it still doesn't work.
|
All times are GMT. The time now is 08:31 AM. |
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:
|