OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



ALM Plugin

The Plugin Gallery is a venue for users of PKP software to share their plugins.

Moderators: jmacgreg, michael, John

Forum rules
If you post a plugin here, please include information on which versions of which applications it is compatible with. Attach a tarball of the plugin (e.g. tar cvzf myPlugin-0.1.tar.gz plugins/generic/myPlugin). Thanks for contributing!

Re: ALM Plugin

Postby tarcisiop » Fri Jun 06, 2014 5:16 am

Juan,

Has an article shared on facebook as a way to test a few days ago.
But still shows no sharing.

There is some relation to the problem of API reported above?

Tarcisio Pereira.
tarcisiop
 
Posts: 19
Joined: Mon Apr 14, 2014 12:22 pm

Re: ALM Plugin

Postby piotreba » Sun Jun 22, 2014 2:17 pm

For one of our journal partial statistics has appeared – only PDF Views. For other journals still no statistics are present. Is it atill a matter of initial stage of this project?

Secondly, do I have to enable "Article View Counts (for Authors only)" in Stats and Reports for PDF Views in Article Metrics to be add up? The Article View Counts seems to not working at all.



Cheers,

Peter
piotreba
 
Posts: 142
Joined: Mon Dec 13, 2010 3:29 pm

Re: ALM Plugin

Postby bbeghelli » Mon Jun 23, 2014 9:22 am

Hi piotreba,

I can try to help with the pdf downloads part: it doesn't need to enable the "Article view counts". It should be presenting the data by default.

What you need to make sure is that your OJS is gathering and processing the usage metrics. This is done by the usage stats plugin. It should be activated, and also the acron plugin should be activated if you don't have a cron job running to process the stats.

Can you check those settings?

Also, if everything is ok, check your ojs files folder, at usageStats/archive and see if there is any files there. If yes, it's because the system is processing your stats. After that, check if the metrics table has records.

Now, related to what you said about the article view counts. What you mean it seems not be working at all?

I'll wait for your answers. Thanks,

Bruno
bbeghelli
 
Posts: 86
Joined: Tue Jun 25, 2013 2:22 pm

Re: ALM Plugin

Postby piotreba » Tue Jun 24, 2014 2:21 am

Hey Bruno, thanks for hints.

So:
- usage stats plugin is activated,
- I use cron to run runScheduledTasks.php, is it enough to process statistics?
- usageStats/archive is empty, but usageStats/usageEventLogs includes logs,
- metrics table is not empty.


What I meant with the "Article View Counts seems to not working at all" is that abstracts views (Summary page) as well as PDF views (Editing page of the submission) shows "0".

The Article Metrics shows PDF downloads (only for one journal) just until February.



Thanks,
piotreba
 
Posts: 142
Joined: Mon Dec 13, 2010 3:29 pm

Re: ALM Plugin

Postby bbeghelli » Tue Jun 24, 2014 2:44 pm

Hi piotreba,

The system is not processing the files. We have to know why. Which version of OJS are you using? The last 2.4.4-1? If yes, can you apply the recommended patches here: http://pkp.sfu.ca/wiki/index.php?title= ... ed_Patches ?

After applying the patches, add this entry into your config.inc.php file:
Code: Select all
scheduled_tasks_report_error_only = On


You will start to receive emails about the scheduled tasks execution, not only related to errors. This can help to debug what's going on in your installation. The used email will be your administrator email, configured on the site settings page.

Let me know if you can do this.

Regards,
Bruno
bbeghelli
 
Posts: 86
Joined: Tue Jun 25, 2013 2:22 pm

Re: ALM Plugin

Postby piotreba » Tue Jun 24, 2014 2:50 pm

Hey Bruno, yes, I use the latest version of OJS: 2.4.4.1.

Ok, let me apply the patches and I will let you know what is happening then.



Best wishes.
piotreba
 
Posts: 142
Joined: Mon Dec 13, 2010 3:29 pm

Re: ALM Plugin

Postby piotreba » Wed Jun 25, 2014 2:36 am

Dear Bruno,


I stuck on the following patch: Bug #8785 – patch against pkp library. The file lib/pkp/classes/scheduledTask/ScheduledTask.inc.php does not contain parts that are to be replaced by the patched code such as:

Code: Select all
- function execute($notifyAdmin = true) {


or

Code: Select all
-      if ($notifyAdmin) {
-         $helper =& $this->getHelper();
-         $helper->notifyExecutionResult($this->_processId, $this->getName(), $result, $this->_getLogMessage());
-      }



am I looking at the wrong file?
piotreba
 
Posts: 142
Joined: Mon Dec 13, 2010 3:29 pm

Re: ALM Plugin

Postby piotreba » Mon Jul 07, 2014 12:52 pm

Hello, can anybody confirm the above issue?
piotreba
 
Posts: 142
Joined: Mon Dec 13, 2010 3:29 pm

Previous

Return to Plugin Gallery

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest