How to register new users as authors automatically on OJS ? » Open Journal Theme

How to register new users as authors automatically on OJS ?

On the user registration, OJS not automatically in the default theme allows new users enrolled as new author roles.

Although this can be done by the user itself when they edit their profile by selecting the author, alot of our clients need the registration form to allow the user to register as author without needing their action to set up their own role. 

In this tutorial we will explain two methods where new users can assign their roles to the author roles. First one is manual by the user to assign to the author and second one is automatically assigned author roles to every user registration. 

After the user registers on your OJS, by default the system will make the user role only as a reader, in this article, we will share tips so that each user who registers has 2 options, namely author and reader.

First – Manual method

Make sure you enable self registration on the roles

  1. Login as Journal Manager on your  Journal
  2. Access this menu : user – profile – pick user- roles

then add a check in the author box


Method two – Automatic

Precaution: this process needs code modification of the OJS code.
You better save your current OJS installation before continuing these steps. 


This file located on : 


Find and open file. 

Find a function named as RegistrationForm on that file. 


On the line 277 Change ROLE_ID_READER  to  ROLE_ID_AUTHOR :

Save the changes

Then you can try to test new user registration to your journal or OJS system.

Leave a Comment

Your email address will not be published. Required fields are marked *

Open Journal Theme

Professional Publishing system services OJS, OMP, Dspace, Eprints

Need More Services  or Question? started in 2016 by a passionate team that focused to provide affordable OJS, OMP,  OPS,  Dspace, Eprints products and services. Our mission to help publishers to be more focus on their content research rather than tackled by many technical OJS issues.

Under the legal company name :
Inovasi Informatik Sinergi Inc.

Secure Payment :

All the clients financial account data is stored in the respective third-party site (such as Paypal, Wise and Direct Payment).
Your financial account is guaranteed protected. We never keep any of the clients’ financial data.