Quote:
Originally Posted by roarkh
I am new to vBulletin so this is all new to me. I just installed the LDAP Authentication plugin referenced in this thread and for the most part it seems to be working just fine. However, I have a question. I have logged in as two different users from our LDAP server and vBulletin did indeed allow them to login and did create user accounts for them. However, I noticed that for some reason the "Primary Usergroup" for both of those users was set by default to "Super Moderators". It seems to me that they should be set to "Registered Users" instead.
If I go into the vbulletin admin panel and manually add a user the default settings does seem to be "Registered Users".
Is there any way to tell the LDAP Authentication plugin that new users should be created as "Registered Users" instead of "Super Moderators"?
Thanks in advance.
|
Well, I did some digging through the module code (version 1.5.1_vb4) and noticed this on line 199.
Code:
$newuser->set('usergroupid', 5);
I changed the above to the following and reinstalled the addon.
Code:
$newuser->set('usergroupid', 2);
And now the default usergroup is Registered Users instead of Super Moderators. I'm wondering if this should not be the default behavior?
Thank you.