PDA

View Full Version : Addon:view counter, How do I make work?


Pat Chuprina
10-17-2006, 01:21 AM
Hello all. I've downloaded what seems to be a great addon named "view counter." I uploaded it into my addons folder, visited my admin panel and it says it is on but nothing seems to be happening to my blog. I've seen it on other sites beneath the image dutifully recording visits, which is what I want. Since there are no instructions and I'm really a novice(yes I'm embarrassed): How do I make it work? Thanx in advance for my continuing photoblog education.

Patrick Chuprina
http://www.chuprinastudios.com/blog

Dennis
10-17-2006, 06:05 AM
Description:
A very simple per-image views counter.

Adds the <IMAGE_COUNTER_VIEWS> tag to the ever growing list. It displays the number of hits an image has endured.

So you have to use the tag <IMAGE_COUNTER_VIEWS> somewhere in your template file. This tag will then be replaced by the number of views for that particular image.

Pat Chuprina
10-18-2006, 12:18 AM
Well I think I got it working with a unobtrusive number at the bottom of the page. But how do I get something like "Image viewed "X" times."? Thanx again for clearing up this clouded mind.

Patrick Chuprina
http://www.chuprinastudios.com/blog

Pat Chuprina
10-18-2006, 12:41 AM
Thanks for the help everyone, but I actually figured out on my own how to do it! This is really fun! Thanks to everyone who makes this possible.

Patrick Chuprina
http://www.chuprinastudios.com/blog

Dennis
10-19-2006, 04:11 PM
I assume you placed the text: "Image viewed <IMAGE_COUNTER_VIEWS> times" in your template somewhere?

Pat Chuprina
10-19-2006, 04:18 PM
Yes I did,also put the words"image viewed <IMAGE_COUNTER_VIEWS> times" around it. I like it since it is unobrusive too! check it out: http://www.chuprinastudios.com/blog/index.php just above the light/dark.

I also realize by doing what I did made the page non-valid xHTML, but plan on fixing that tonight.

Thanx for your help and making this such a great forum Patrick

napoleonesq
10-24-2006, 09:11 AM
Which file in Template do you add that line of code?