OJStat version 1.3 is released

OJStat version 1.3 is the latest version, released in May 2022, developed based on the inputs I got from the OJS experts in the PKP Forum. There are many things I have added and changed in this version but I cannot go over them one by one.

OJStat version 1.3. Features

Metric Page Configuration

In the previous version of OJStat (1.2.), many users had difficulty setting what journal statistical information was displayed on the metrics page. On version 1.3. Here, I’ve added a metrics page configuration option so users can easily set what can be shown on the OJStat metrics page. Not only that, each journal can have different configurations.

Scrollable Charts

On version 1.3. In this case, the statistics graph displayed on both the statistics page and the metrics page is scrollable. This way, the lines in the graph don’t pile up when your journal has recorded a lot of data.

Journal Cover

Each journal can add a cover image that will appear on its metrics page. The cover image should be copied from the journal page in OJS.

Separated metric and statistic pages

The display of metrics and statistics is also now separated and can be accessed through the available menus. This way, users can focus on the statistical information they want to see.

Of course, there are many more new features in OJStat version 1.3 that I won’t mention here. Please see the video where I show how OJStat version 1.3 looks like.

How to Install or Upgrade to OJStat version 1.3

Basically, the installation process for OJStat version 1.3 is similar to older version (1.2). Slight differences may be found in its appearance but the steps are identical. Here are the shortcut to the installation process:

  1. Create a blank database and database user in your cPanel. Take note on the database name, database username, database password, and the hostname.
  2. Assign or connect the database and the database user.
  3. Create a folder named ojstat in your OJS root directory and upload OJStat zip file into the folder and then extract it.
  4. Open the db.php that is located in the auth folder and modify the values of dbname, dbuser, dbpass, and dbhost variables based on the note you took in part (1), then save changes.
  5. Open your ojstat URL; it should be https://yourjournaldomain.org/ojstat/
  6. You will see a setup button on the login page. Click the button so the setup page opens.
  7. Click Fresh Installation then click Refresh.
  8. Click Upgrade then click Refresh.
  9. As you see all are checked in green, you can go to login but first open package.json that is located in json folder and set the setup to false.
  10. First login, use admin as both the username and password.

To upgrade from older OJStat to version 1.3:

  1. Backup your old OJStat to your local drive.
  2. Delete it from your server.
  3. Upload new OJStat to server (ojstat folder that is located in your OJS root directory).
  4. Extract it, reload, and delete the zip file to save some space.
  5. Open db.php that is located in the auth folder and synchronize the content with your OJStat backup (the database credentials).
  6. Open your OJStat URL and click the setup button.
  7. Click Fresh Installation and then Refresh.
  8. Click Upgrade and then Refresh.
  9. As you see all are checked in green, you can go to login but first open package.json that is located in json folder and set the setup to false.
  10. Login with your OJStat username and password.

What is removed in this version?

In this version, I have removed “Delete Old Data”, “Clear Undefined”, and FlagCounter because it can be seen directly in the OJStat Metric Page.

Thank you for reading this thread.


Really impressive @languaojs.

As far as I see you are creating an incredible tool for editors to discover relevant indicators, but are you planning a way to embed all this in OJS?

I mean, what about a plugin to show your app inside OJS?



@marc , Sir, thank you for asking/suggesting developing the app as a plugin. I really want to, but I have some difficulties realizing it. Currently, I found it easier (though it is still difficult) for me to develop it as a standalone app.

I understand.

If you are interested in improving the integration between OJS and your aplication I see two ways:

a) Feel free to ask: PKP developers are kind and I’m quite sure that they will happily point you in the right direction to let you implement the plugin you like to do.

b) Embed: Learnig OJS api could be overwhelming, so an alternative let your applications create widgets that OJS could embed via “static pages”.

As said, only if you like to extend your application in this way, because, as is now, it’s a great contribution to the OJS community.

Thanks for your great work,

1 Like

Yes, Sir… and thank you for the support. About (b), is it the app widget like shown in the picture? If it is, the app has it, Sir. There are two types of widgets that can be embedded via static pages, Sir (tabular and graphical).

1 Like