I'm building a CMS that delivers most of its contents only to logged in users, including the forums.
Using the stable versions of the forum, I was able to use a login href to the ForumMemberProfile/register page. That way all my users basically became forum members with permissions set appropriately.
Unfortunately the old forum was buggy elsewhere, so I tried upgrading to the new daily build of the forum. That fixed some display issues (e.g. CurrController::deprecated) but now the forum registration at ForumMemberProfile/register is broken. I checked the template that came in the module, but the Header.ss still references this page as how to register forum members.
Is there another more SS-sanctioned way to accomplish registering all users as forum users?
Here are the error details:
FATAL ERROR: Object::__call() Method 'setDisabled' not found in class 'CheckboxField'
At line 199 in .... public_html/sapphire/core/Object.php
user_error(Object::__call() Method 'setDisabled' not found in class 'CheckboxField',256)
line 199 of Object.php
Object->__call(setDisabled,Array)
CheckboxField->setDisabled(1)
line 8 of CheckableOption.php
CheckableOption->__construct(UnnecessaryNicknamePublic,TextField,1,1)
line 130 of ForumRole.php
ForumRole->getForumFields(1,)
call_user_func_array(Array,Array)
line 177 of Object.php
Object->__call(getForumFields,Array)
Member->getForumFields(1,)
line 118 of ForumMemberProfile.php
ForumMemberProfile->RegistrationForm()
line 100 of ForumMemberProfile.php
ForumMemberProfile->register(Array)
line 261 of Controller.php
Controller->run(Array)
line 104 of Director.php
Director::direct(ForumMemberProfile/register)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)
* this = CheckboxField (UnnecessaryNicknamePublic: : ) = 1
* methodName =
setDisabled
* args =
o 0 =
1
* lowerMethodName =
setdisabled