Vanilla is proud to present version 2.2.
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.

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?


Sign In or Register to comment.