OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



OJS Plugin::Popular Articles Block 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!

OJS Plugin::Popular Articles Block Plugin

Postby jalperin » Wed Mar 25, 2009 8:24 am

This plugin allows for the most popular (most viewed) articles to be linked from the sidebars. The plugin cannot be currently configured through a management interface, but instructions on how to change the number of articles can be found in the README.

Author: Juan Pablo Alperin
Software: OJS 2.2-2.4.2 (not supported in 2.4.3 as of this version)
Requirements: No additional Requirements
Multilingual: Yes
Attachments
popularArticlesBlock-1.0.tar.gz
popular Articles Block Plugin 1.0
(2.71 KiB) Downloaded 1540 times
jalperin
 
Posts: 145
Joined: Thu Jul 06, 2006 1:03 pm
Location: Buenos Aires

Re: OJS Plugin::Popular Articles Block Plugin

Postby kekropas » Thu Mar 26, 2009 9:45 am

Thank you very much, works very well, no problem at all
kekropas
 
Posts: 38
Joined: Sat Dec 20, 2008 5:56 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby solty » Fri Jul 09, 2010 10:34 pm

Dear Juan,
> Thank you evry much for your MOST VIEWED articles plugins for OJS.
> I was etup but I see additional sign in the ri,ght bar like as ##.
> I was not find sources of these symbols...
> May I delete this symbols? ##
> where is the location?
>
> Sincerely,
>
> --
> Sultan Tarlacı, MD
> Editor-In-Chief, Founder
> NeuroQuantology Journal
> www.NeuroQuantology.com
>
solty
 
Posts: 139
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: OJS Plugin::Popular Articles Block Plugin

Postby solty » Fri Jul 09, 2010 10:44 pm

Dr. Sultan Tarlacı,
The ## indicate a locale key that has not been translated to the language you're using. I think the plugin has only been translated to english, so if your journal is using another language, you will need to add a new locale folder and file (see the plugin's folder locale/en_US/locale.xml).

Hope that helps. If you have any further questions, please ask them directly in the forum. Due to the growth in our software, we prefer all support questions to through the forum so that we can build a knowledge base for other users.
Sincerely,

Juan Pablo
solty
 
Posts: 139
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: OJS Plugin::Popular Articles Block Plugin

Postby solty » Fri Jul 09, 2010 10:48 pm

Hi,
But my journal in English. As you can see...
http://www.neuroquantology.com/nq2010/i ... p/nq/index

Best,
solty
 
Posts: 139
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: OJS Plugin::Popular Articles Block Plugin

Postby jmacgreg » Wed Jul 21, 2010 9:29 am

Hi Solty,

I just checked your plugin's locale.xml file, and for some reason the message keys appear incorrectly. You can see for yourself here: http://www.neuroquantology.com/nq2010/p ... locale.xml. This file should instead read as follows:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE locale SYSTEM "../../../../../locale/locale.dtd">

<!--
  * locale.xml
  *
  * Copyright (c) 2003-2008 John Willinsky
  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
  *
  * Localization strings for the en_US (U.S. English) locale.
  *
  * $Id: locale.xml,v 1.2 2008/06/11 18:55:10 asmecher Exp $
  -->
 
<locale name="en_US" full_name="U.S. English">
   <message key="plugins.blocks.popularArticles.displayName">Popular Articles</message>
   <message key="plugins.blocks.popularArticles.description">This block will display the most popular articles for your journal.</message>   

   <message key="plugins.blocks.popularArticles.viewsSince">views since</message>   
</locale>


I'm not sure why the message keys have been changed in your case, but the locale won't appear properly until they are changed to the above.

Cheers,
James
jmacgreg
 
Posts: 4162
Joined: Tue Feb 14, 2006 10:50 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby solty » Wed Jul 21, 2010 10:50 pm

Thank you very much James, Excellent!.
Corrected.

Sincerely,

Sultan
solty
 
Posts: 139
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: OJS Plugin::Popular Articles Block Plugin

Postby marchitelli » Mon Aug 09, 2010 12:49 am

Hi,
is it possible to generate a page of general statistics (i.e. for all papers in the journal since the first issue published) using this plugin?

Andrea
marchitelli
 
Posts: 105
Joined: Tue May 22, 2007 12:44 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby jmacgreg » Tue Aug 17, 2010 12:35 pm

Hi Andrea,

You would probably have to extend the plugin fairly heavily to do so, or otherwise create a new plugin.

I am currently part of a Statistics Working Group who are extending OJS' statistics-gathering (and displaying) functionality. The group is part of a Canadian national project, with a fairly specific set of goals in mind, but we are always interested and able to cooperate with others. Is this something you might be able to (and interested in) collaborate on?

Cheers,
James
jmacgreg
 
Posts: 4162
Joined: Tue Feb 14, 2006 10:50 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby amiralip » Tue Nov 16, 2010 1:32 pm

Hello!

I am a new user of OJS and I do not have any experience with it.
I uploaded this Plugin to the specified folder. I see ##plugins.block.Mo... in the Look Configuration, then I move it to right Block.
The problem is that the system does not show any Article in the right block.

I checked the locale.xml file, it is the same as what it should be.
The OJS verion installed is 2.3.3.2

Can any one please tell me what should be done to make the Plugin working?

Thank you for your help.
Amirali
amiralip
 
Posts: 1
Joined: Tue Nov 16, 2010 1:04 pm

Re: OJS Plugin::Popular Articles Block Plugin

Postby jmacgreg » Wed Nov 17, 2010 3:04 pm

Hi Amirali,

This plugin hasn't been upgraded to work with OJS 2.3+ yet, unfortunately, so it won't work as expected. If you have any development experience we can offer suggestions on updating it; otherwise, we may update it in the future, but it might not be for a while.

Cheers,
James
jmacgreg
 
Posts: 4162
Joined: Tue Feb 14, 2006 10:50 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby pkpusr » Fri Dec 24, 2010 2:25 am

We would like to use the popular articles plugin you mentioned above. I am trying to modify it so it’s compatible with the 2.3.3.3 version of OJS. However, I can only see the block plugin when browsing to Step 5. Customizing the Look. On all other pages, it is not displayed. I have added it to the right sightbar in the layout setup configuration page.

When looking into the technical reference , you mention 4 types of plugins. However, I cannot find any explanation on the block plugin.
generic GenericPlugin (classes/plugins/GenericPlugin.inc.php)
importexport ImportExportPlugin (classes/plugins/ImportExportPlugin.inc.php)
auth AuthPlugin (classes/plugins/AuthPlugin.inc.php)
gateways

Can someone give me some advice on this? I have attached what I have so far (plugins/blocks/MostPopularArticles)

Thanks!
Attachments
MostPopularArticles.rar
(4.13 KiB) Downloaded 342 times
pkpusr
 
Posts: 3
Joined: Fri Dec 24, 2010 2:22 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby jmacgreg » Tue Jan 04, 2011 4:33 pm

Hi pkpuser,

The Technical Reference was written before we were using block plugins, so you won't find any reference to them there until it's updated. You might find this page to be helpful. Take a look, and let us know if you have further questions. We will of course include this documentation in the reference guide when it is updated.

Cheers,
James
jmacgreg
 
Posts: 4162
Joined: Tue Feb 14, 2006 10:50 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby lednakashim » Fri Jan 07, 2011 2:03 pm

pkpusr wrote:We would like to use the popular articles plugin you mentioned above. I am trying to modify it so it’s compatible with the 2.3.3.3 version of OJS. However, I can only see the block plugin when browsing to Step 5. Customizing the Look. On all other pages, it is not displayed. I have added it to the right sightbar in the layout setup configuration page.


I have the exact same problem when I copy the code from the about plugin. How does one fix this?
lednakashim
 
Posts: 33
Joined: Wed Dec 29, 2010 10:23 pm

Re: OJS Plugin::Popular Articles Block Plugin

Postby jmacgreg » Tue Jan 11, 2011 3:15 pm

Hi lednakashim,

There isn't an "about" plugin as far as I know -- could you clarify what you are trying to do?

Cheers,
James
jmacgreg
 
Posts: 4162
Joined: Tue Feb 14, 2006 10:50 am

Next

Return to Plugin Gallery

Who is online

Users browsing this forum: No registered users and 1 guest

cron