The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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?
|
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
I have no idea how to do that.
|
#4
|
||||
|
||||
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 |
#5
|
|||
|
|||
I know how to find out the usergroupid, but how do I figure out the fieldID number?
|
#6
|
|||
|
|||
nevermind, I think I got it...testing now
|
#7
|
|||
|
|||
Doesn't work unfortunately. It just registers them under "Registered" instead of "DVD"
|
#8
|
||||
|
||||
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 |
#9
|
|||
|
|||
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?
|
#10
|
|||
|
|||
I even switched the numbers around and it still doesn't work.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|