Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Change default role in Vanilla 2
Hello guys,
I migrated my forum from phpbb3. I changed all roles and deleted "members" and "new members" from Vanilla. Now, new users have no roles and can not access my forum... (!).
Well, I need to create a new default role. I don't see any function to do this in dashboard. So, I opened the conf/config-defaults.php file and found this line:
$Configuration['Garden']['Registration']['ApplicantRoleID'] = 4; // The "Applicant" RoleID.
In the table "GDN_Role" I found my roles. There is a role (registrated) with RoleID=496. Can I change the "Applicant RoleID" above and put there "496"?
I will get this:
$Configuration['Garden']['Registration']['ApplicantRoleID'] = 496; // The "Applicant" RoleID.
Is that correct?
I migrated my forum from phpbb3. I changed all roles and deleted "members" and "new members" from Vanilla. Now, new users have no roles and can not access my forum... (!).
Well, I need to create a new default role. I don't see any function to do this in dashboard. So, I opened the conf/config-defaults.php file and found this line:
$Configuration['Garden']['Registration']['ApplicantRoleID'] = 4; // The "Applicant" RoleID.
In the table "GDN_Role" I found my roles. There is a role (registrated) with RoleID=496. Can I change the "Applicant RoleID" above and put there "496"?
I will get this:
$Configuration['Garden']['Registration']['ApplicantRoleID'] = 496; // The "Applicant" RoleID.
Is that correct?
Tagged:
1
Comments
Would like to know answer also
Ahum, you do know that the real configuration is in conf/config.php right?
There was an error rendering this rich post.
My ApplicantRoleID is blank, what should it be? The roleid of the member or the members waiting activation.
Its all based on a binary and is additive the higher the number the more power
if you create a role that has more permissions than standard moderator it will be 33.
I believe the roleid 496 is incorrect I believe. It should be 2,3, or 4. If it is 8 they automatically become members. I believe the configuration change you made will only apply to new members that apply.
the UserRole table will match the user to the role identified in the role table
cross posts
http://vanillaforums.org/discussion/19709/default-roles-such-as-guest-have-been-deleted-and-i-dont-know-how-to-fix#Item_4
http://vanillaforums.org/discussion/19699/documentation-users-have-been-orphaned-how-do-i-auto-add-them-all-to-a-role#Item_2
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.