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!

Re: OJS Plugin::Popular Articles Block Plugin

Postby mendesrocha » Tue Dec 27, 2011 3:10 pm

Hi all,

Just to inform that I've done a full package upgrade from 2.2.3 to 2.3.6, then I via browser installed the mostPopularBlockPlugin version 0.9.0.1 and it is working good.

I just had to rename some locale keys and the old plugin tables in database. Thanks RoboMod for the update.

-
Renato
mendesrocha
 
Posts: 169
Joined: Mon Nov 05, 2007 11:10 am
Location: Brazil

Re: OJS Plugin::Popular Articles Block Plugin

Postby ctparker » Wed Jan 11, 2012 10:46 am

SUMMARY

jayfitzsimmons wrote:UPDATE: I can see this plugin on the right side of my screen now, but only when I am in Journal Management > Plugin Management.


I encountered the same problem after an upgrade from OJS 2.2.0 to 2.3.6, and I believe all of the issues mentioned since the 0.9.0.1 version are the same problem. When I extracted the archive, the folder name was 'popularArticlesPlugin'. This needs to be renamed to match the 'application' element in the version.xml file (i.e., 'popularArticles').

Correct folder name:
plugins/block/popularArticles

Note also (in case you are looking for the settings in the plugin_settings table) that the plugin_name for previous versions was 'mostpopulararticlesblockplugin', and the new plugin settings are under 'populararticlesblockplugin'.
ctparker
 
Posts: 2
Joined: Wed Jan 11, 2012 9:40 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby jayfitzsimmons » Sat Feb 11, 2012 11:56 am

Thank you for your post ctparker. I changed the directory name from popularArticlesPlugin to popularArticles as you suggested. Unfortunately the same problem still remains - I can only see the plugin when I am in the Journal Manager screens that pertain to plugins (the plugin screen and Step 5 of Setup). One small difference between your instructions and what I found is that you cal the block directory "block" but it appears as "blocks" for my system. I doubt that's the problem though because the other plugins in that directory work fine. Any other advice?

Jay
jayfitzsimmons
 
Posts: 78
Joined: Sun Aug 08, 2010 12:50 pm

Re: OJS Plugin::Popular Articles Block Plugin

Postby aoterocalvi » Wed Mar 07, 2012 9:52 am

Hi all

There is posibility to show the results of Popular Article in the main page of the journal and not in a block? Or may be using the static page plugin?
The razon is that I like to show the most popular 100 articles of my journal.

Thank you

Alexis
aoterocalvi
 
Posts: 8
Joined: Thu Dec 16, 2010 9:03 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby Habibzadeh » Mon Apr 16, 2012 6:44 am

This plugin works well. However, it only returns the number of Abstract views. Is there any way to report all the article views (HTML+PDF+Abstract)?

Best,
Farrokh
Habibzadeh
 
Posts: 1
Joined: Wed Nov 25, 2009 11:25 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby efrap » Wed May 16, 2012 11:56 am

Having same problem as jayfitzsimmons - block only appears in plugin screen and step 5 of setup.

Folder has been renamed popularArticles and database plugin list was reset. I even tried putting in block instead of blocks (does not work!).

Any idea what could be preventing normal block display ? Using 2.3.7, main language is FR, with EN version available.
efrap
 
Posts: 2
Joined: Wed May 16, 2012 11:37 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby yudaermawan » Wed May 30, 2012 11:15 pm

efrap wrote:Having same problem as jayfitzsimmons - block only appears in plugin screen and step 5 of setup.

Folder has been renamed popularArticles and database plugin list was reset. I even tried putting in block instead of blocks (does not work!).

Any idea what could be preventing normal block display ? Using 2.3.7, main language is FR, with EN version available.



I have a same problem, block only appaer in plugin screen anda step 5 setup, how to solve this?? I use OJS 2.3.7
yudaermawan
 
Posts: 24
Joined: Tue Apr 10, 2012 7:58 am

Re: OJS Plugin::Popular Articles Block Plugin

Postby ushasharma84 » Tue Jul 24, 2012 2:16 am

hi all
I wan to use this plugin with OJS-2.3.4.
Can any body provide some thread. It wil be very helpful.



Thanks in advance
:roll:
ushasharma84
 
Posts: 108
Joined: Wed Mar 31, 2010 11:58 pm
Location: delhi

Re: OJS Plugin::Popular Articles Block Plugin

Postby solty » Sat Jul 28, 2012 9:56 am

Hi,
I was upgrade to 2.3.7 OJS.
There is a problem with /httpdocs/plugins/blocks/popularArticles plugin.

The information about views are visible only when I am registered as a Journal Manager in the Step 5 in Setup.
I use the 2.3.7.0 version of OJS.

I was read all discussion about this problem. But no solution.
Could you help me to solve this problem?
I would very appreciate.

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

Re: OJS Plugin::Popular Articles Block Plugin

Postby solty » Wed Aug 08, 2012 7:53 am

Hi Again,
I think that there is interesting problem with Popular articles plugin and OJS 2.3.7.0 version.
This plugin is very important for me and other editors, and readers. Today I was see that this topic viewed: 9298!
May be, OJS team find a solution for this plugin problem.

I was see another problem and may be source of the problem.
Like as other blocks plugin, there is no any plugin properties below the name, upgrade plugin and delete plugin.
Attached as clipboard....
Best,

Solty
Attachments
Clipboard01.jpg
Clipboard01.jpg (81.03 KiB) Viewed 4594 times
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: OJS Plugin::Popular Articles Block Plugin

Postby solty » Tue Sep 25, 2012 1:46 am

Any improvement for Popular Articles Block Plugin?
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: OJS Plugin::Popular Articles Block Plugin

Postby mcrider » Tue Sep 25, 2012 3:31 pm

Hi all,

The plugin works with OJS 2.3.7, but the system doesn't load it automatically -- you can run this SQL on your database to get it working:
Code: Select all
INSERT INTO `versions` (`major`, `minor`, `revision`, `build`, `date_installed`, `current`, `product_type`, `product`, `product_class_name`, `lazy_load`, `sitewide`)
VALUES
   (1, 0, 0, 0, '2012-04-13 12:31:12', 1, 'plugins.blocks', 'popularArticles', 'MostPopularArticleBlockPlugin', 1, 0);
INSERT INTO `plugin_settings` (`plugin_name`, `locale`, `journal_id`, `setting_name`, `setting_value`, `setting_type`)
VALUES
   ('mostpopulararticlesblockplugin', '', 1, 'enabled', '1', 'bool');


Cheers,
Matt
mcrider
 
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Re: OJS Plugin::Popular Articles Block Plugin

Postby solty » Wed Sep 26, 2012 3:50 am

Thank you very much. I see lost plugin properties in the plugin pages.
My version 2.3.7.0 (April 27, 2012 - 05:33 PM)

Popular Articles
This block will display the most popular articles for your journal.
Upgrade Plugin Delete Plugin

but we have error message during the apply and also I was see "Populer articles" on the only "Setup" pages not main journal page.

ERROR 1062 (23000): Duplicate entry
'mostpopulararticlesblockplugin--1-enabled' for key 'plugin_settings_pkey'
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: OJS Plugin::Popular Articles Block Plugin

Postby mcrider » Wed Sep 26, 2012 2:24 pm

Hi solty,

Try just entering the first SQL statement (INSERT INTO versions...), if the latter already exists it doesn't need to be added (and remove it if the database allowed you to add it a second time).

Cheers,
Matt
mcrider
 
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Re: OJS Plugin::Popular Articles Block Plugin

Postby solty » Thu Sep 27, 2012 6:52 am

Hi Matt,
Thank you very much. I will try. :D
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

PreviousNext

Return to Plugin Gallery

Who is online

Users browsing this forum: Bing [Bot] and 1 guest