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?
1 • •
Comments
Would like to know answer also
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Ahum, you do know that the real configuration is in conf/config.php right?
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •My ApplicantRoleID is blank, what should it be? The roleid of the member or the members waiting activation.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
2 • Off Topic 1Insightful 1Awesome LOL •