Hi Shimrah,
If a user is following the manuscript submission link and ends up on the account creation page, there will be a parameter in the URL called "requiresPresenter"; if this is present, the "register as author" checkbox will be checked by default. The code responsible for this is in classes/user/form/CreateAccountForm.inc.php near line 126:
- Code: Select all
if (Request::getUserVar('requiresPresenter')) $this->setData('createAsPresenter', 1);
If you want that role to be checked for every registration, I'd suggest changing the checkbox called "createAsPresenter" into a hidden form element in templates/user/createAccount.tpl. (Keep in mind that it'll be difficult to tell who the actual authors are, as all accounts will now have that role.)
Regards,
Alec Smecher
Public Knowledge Project Team