Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Current version is 2.1.11, released 12 June.

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.