OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Counter plugin

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Counter plugin

Postby Krekels » Wed Oct 11, 2006 8:43 am

Hello,
We enabled the Counter plugin in the latest version of OJS. Now If i go to the Counter function as a journal manager, three lines are shown:
» Browse Log
» Journal Report 1 (R2): Full-Text Article Requests by Month and Journal
» Clear Log

The first one is linked to a browse log display, but it shows no items in our case. Although i browsed the site to generate some loglines.
The second one is not linked, just shows text.
The third one is linked to an action to clear the log.

I wonder if i did something wrong or do i just have to wait a while untill logs are available, but at this moment i can't see any statistics.

Kind Regards,

Hubert Krekels
Krekels
 
Posts: 17
Joined: Mon Dec 05, 2005 9:02 am

Postby asmecher » Thu Oct 12, 2006 2:04 am

Hi Hubert,

There are some instructions in plugins/generic/counter describing how to create the log file; you'll need to follow these instructions before the Counter plugin will work.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8319
Joined: Wed Aug 10, 2005 12:56 pm

where to dowlonad the counter plug-in?

Postby dsanchez » Tue Nov 28, 2006 3:26 pm

Hello,

Where I can download from the counter plug-in?..

Thanks

David.
dsanchez
 
Posts: 30
Joined: Thu Feb 09, 2006 3:42 pm

Postby asmecher » Tue Nov 28, 2006 3:34 pm

Hi David,

It's included with the most recent release of OJS (currently 2.1.1).

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8319
Joined: Wed Aug 10, 2005 12:56 pm

Postby dsanchez » Fri Mar 16, 2007 1:37 pm

asmecher wrote:Hi David,

It's included with the most recent release of OJS (currently 2.1.1).

Regards,
Alec Smecher
Open Journal Systems Team


Hi Alec

Does this counter works like

http://www.ejssm.org/

(check the right-bottom side of that page)?

Thank you.

David.
dsanchez
 
Posts: 30
Joined: Thu Feb 09, 2006 3:42 pm

Postby asmecher » Fri Mar 16, 2007 1:55 pm

Hi David,

No; the Counter stats plugin is a partial implementation of the Counter stats standard (see http://www.projectcounter.org/). To add a public counter to your OJS site, you can insert the HTML for whatever counter app you're using into the journal footer (Journal Setup, page 5) or, if you want to place it on the sidebar, edit templates/common/sidebar.tpl.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8319
Joined: Wed Aug 10, 2005 12:56 pm

Postby dsanchez » Fri Mar 16, 2007 4:47 pm

asmecher wrote:Hi David,

No; the Counter stats plugin is a partial implementation of the Counter stats standard (see http://www.projectcounter.org/). To add a public counter to your OJS site, you can insert the HTML for whatever counter app you're using into the journal footer (Journal Setup, page 5) or, if you want to place it on the sidebar, edit templates/common/sidebar.tpl.



I'm trying to insert a code like this <?php echo $Counter; ?> to call the counter in the sidebar.tpl file, however I think it just not read. I have placed the php program on the root of the instalation.

Any ideas?

David.
dsanchez
 
Posts: 30
Joined: Thu Feb 09, 2006 3:42 pm

Postby asmecher » Fri Mar 16, 2007 5:25 pm

Hi David,

If you want to embed PHP code in the template files, you'll need to use the {php} tag; the templates are Smarty code, not PHP. See http://smarty.php.net/manual/en/ for documentation.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8319
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 4 guests