You are viewing the PKP Support Forum | PKP Home Wiki

OJS Plugin: VG Wort Zählmarken

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: VG Wort Zählmarken

Postby Szdnez » Tue Sep 28, 2010 1:18 pm

This plugin allows the management of VG Wort Zählmarken to count downloads of articles by VG Wort.

The VG Wort Zählmarken can be managed by the journal manager. In the management view of this plugin all articles of a selected journal are listed. In this list you can modify existing Zählmarken or place new one. This Zählmarken are placed automatically in the download links.

There are two possibilities to install the plugin. You can use manual/classic installation. For that extract the attached archive manual into plugins/generic and run the command php tools/upgrade.php upgrade. Or you use the plugin installer from OJS > 2.3. For that download the automatic archive.

Author: Philipp Bönisch
Software: OJS
Versions tested: 2.2.4, 2.3.2
Localization: German

Version History:
  • 0.9.0 - Initial Release - September 28, 2010
  • 0.9.1 - Bugfix - October 02, 2010
    • Fixed error: Call to undefined function interstitialOutputFilter()
Plugin for manual installation
(8.39 KiB) Downloaded 270 times
Plugin for automatic installation
(8.39 KiB) Downloaded 310 times
Posts: 17
Joined: Tue Oct 20, 2009 12:48 pm

Re: OJS Plugin: VG Wort Zählmarken

Postby torpedo » Thu Oct 14, 2010 5:55 am

I made some adjustments so far that:
Code: Select all
$positionDownload = strpos( $refreshLink, 'download' );

only works if download file is in html.

If file ist type of PDF you need this:
Code: Select all
$positionDownload = strpos( $refreshLink, 'viewFile' );

I wrote an additional method to consider this.

If you are interested I can send you my modifications
Posts: 2
Joined: Thu Oct 14, 2010 5:49 am

Re: OJS Plugin: VG Wort Zählmarken

Postby jmacgreg » Mon Oct 18, 2010 7:24 pm

Hi Torpedo,

It'd be great if you would share your modifications with us!

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: OJS Plugin: VG Wort Zählmarken

Postby torpedo » Tue Oct 19, 2010 1:02 am

this is my modified version of the file VgWortZaehlmarkePlugin.inc.php, only there I made changes.
In my version of vgWortZaehlmarke, I also adjusted everything to be compatible to PHP 5.3

(2.22 KiB) Downloaded 203 times
Posts: 2
Joined: Thu Oct 14, 2010 5:49 am

Return to Plugin Gallery

Who is online

Users browsing this forum: No registered users and 2 guests