web design, England, Britain, UK, belgium
 
Ulti Clocks content

A Joomla 1.5 Plugin to show the number of page views anywhere in your content

sand This Joomla 1.5 Plugin allows you, with just a short tag, to insert the number of page views (hits) of any article along with the linked title to the page.
page, jpageviews, text, number, plugin, article, hits, views, install, insert, download, box, title, parsing, linked, use, version, extensions, example, prevent, inserted, asterisk, html, tag, joomla, leave, require, right, float, boxes, tags, updates, titles, manager, enable, uninstall, choose, times, refresh, working

Home Joomla - VirtueMart Joomla 1.5 jPageViews Plugin

Sat

25

Apr

A Joomla 1.5 Plugin to show the number of page views anywhere in your content

  • Joomla 1.5
  • plg_jpageviews

This Joomla 1.5 Plugin allows you, with just a short tag, to insert the number of page views (hits) of any article along with the linked title to the page.
As well some standard text can be included before and after the page views number and a left or right float can be specified.

You can download it here - Download

Joomla 1.5 page views hits Plugin

How it works -


  • It replaces a unique tag {*jpageviews 00 none} (asterisk inserted to prevent parsing) with the number of page views (hits) of the chosen article along, optionally, with the linked title to the page.
  • If the required page views (hits) is the currently displayed page then the number to insert is 00.
  • If you require another page then insert that article id number.
  • If you require a left or right float then use those words, otherwise use none.
  • The text boxes accept html so if you wanted a different text colour, font etc you could apply a class and style it in your css sheet or just add a span styling in the first and last text box.

    e.g. 1st text box - <span style="color:red;">The number of hits for
    3rd text box - visitors.</span>



Joomla 1.5 page views hits Plugin logo

Installation -


  • Install in the normal way via Extensions-->Install/Uninstall.
  • Enable the plugin via Extensions-->Plugin Manager.
  • Fill in any text you may want in the text boxes.
  • Choose whether you want the article titles and whether the title is linked.

Example -


Below you can see the plugin working if you refresh this page a few times.
The html for this is as follows - (asterisk inserted to prevent parsing)
 
<ul>
<li>{*jpageviews 00 none}</li>
<li>{*jpageviews 58 none}</li>
<li>{*jpageviews 22 none}</li>
<li>{*jpageviews 239 none}</li>
</ul>
 


Here the plugin is parsing the tags -


Updates

Version 1.1
Oh happy days, problem with more than 2 digits in the Page ID fixed, just un-install the old version, download version 1.1 and install.
All your page codes will still work. The last example above has a page ID of 239.


Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.
If you have any comments, suggestions or need any help please leave a comment below.
If you use it on a commercial site please leave a small donation.
Thanks.


Add this page to your favorite Social Bookmarking websites
Digg! Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! Spurl! Newsvine! Furl! Fark! Yahoo! Netvouz! Mister-Wong! RawSugar! Ma.gnolia! Squidoo! DZone! Swik!
Last Updated on Sunday, 24 January 2010 19:23 Read : 13975 times
 
Comments (19)
help
19 Thursday, 24 December 2009 16:21
erfan
hi
how can use automatically of this mplugin
i want issuance an article ,page view writ automatic in that article
tnx
problem
18 Wednesday, 25 November 2009 21:35
maria
when i put the tag in my article it shows this:
Notice: Trying to get property of non-object in D:\Program Files\EasyPHP5.2.10\www\joomla\plugins\content\jpageviews.php on line 91

Notice: Trying to get property of non-object in D:\Program Files\EasyPHP5.2.10\www\joomla\plugins\content\jpageviews.php on line 92


why??please help me
@Ingaborg
17 Wednesday, 30 September 2009 13:32
GJC (admin)
Depends if your front page is a static article or a blog layout.
If a blog layout then the page doesn't actually exist anywhere (it's dynamic) so there's no hit info to display.
front page hits?
16 Wednesday, 30 September 2009 13:24
Ingaborg
Hi,

does JPageViews show front page hits? My problem is that none of the other methods seems to show when people visit the home page, or the first article in a category blog.
3 digit issue
15 Wednesday, 02 September 2009 07:00
Michael
Is there any solution to the problem of 3 digit article ids? - is there any php that could be altered to allow it?
Truncates article IDs beyond 2 digits
14 Tuesday, 01 September 2009 20:05
Don
As indicated by Bob above, the issue is not the counting past 3 digits, but that the article IDs are bigger than 2 digits, therefore I have "The number of hits for difference are 136 visitors" is interpreted as "The number of hits for Multilingual Search Engine Optimisation 1 are 1090 visitors". I am soon to go to 4 digits on my article ids.

Works great for 2 digit IDs. Not usable with this limitation, unfortunately.
@Chrysanthos
13 Friday, 10 July 2009 08:47
GJC (admin)
Don't understand what your asking?
The number in the code is the article number...
difference
12 Thursday, 09 July 2009 22:59
Chrysanthos
between
{jpageviews 39 none} and {jpageviews 58 none}
difference
11 Thursday, 09 July 2009 22:57
Chrysanthos
sorry between The number of hits for VirtueMart 1.1 Alpha Numeric search module are 5190 visitors and The number of hits for A Joomla 1.5 Plugin to insert the rel="nofollow" attribute within outgoing links are 7181 visitors
difference
10 Thursday, 09 July 2009 22:56
Chrysanthos
what is the the difference between The number of hits for VirtueMart 1.1 Alpha Numeric search module are 5190 visitors
and
The number of hits for A Joomla 1.5 Plugin to insert the rel="nofollow" attribute within outgoing links are 7181 visitors
@Bob
9 Thursday, 28 May 2009 07:01
GJC (admin)
Hi Bob,
I wouldn't think it's the plugin as you can see above mine happily counts past 3 figures.
Enable the article hits as per the post below yours and see what happens.
It could be in your database number of integers allowed etc
Excellent Plugin
8 Wednesday, 27 May 2009 21:55
Bob
For the most part the plugin works perfectly, but I have run into one snag that could very well be a fault of my own. All of the articles have the correct number of hits displayed until the id hits three digits. When this happens there is just a blank space where the hits should be.

Any help you can give would be most appreciated.

Thank you!
Hits in all article pages
7 Wednesday, 27 May 2009 19:16
GJC (Admin)
pageviews - all articles
6 Wednesday, 27 May 2009 19:09
Henk
Is it possible to put the tag in all articles in one time; so without manually putting the tag in each article?
Font colour
5 Monday, 18 May 2009 14:08
GJC (admin)
The text fields accept html so you could either apply a class to the text string or just span style it as I've added above.

Could you leave a review at http://extensions.joomla.org/extensions/site-management/content-statistics/8259/details if you'd be so kind
http://extensions.joomla.org/extensions/site-management/content-statistics/8259/details Mr. Green
Super Plugin
4 Monday, 18 May 2009 13:49
wudry
This plg works really excellent, just that what i searched for long time. The only thing i looking for is where can i change the font color?

thx
Great!!
3 Saturday, 16 May 2009 14:24
simonpeter2056
This is really a great plugin! Well done! It would be perfect if the plugin give flexibility to show the various combination of standard text to be included before and after the page views. e.g: one article show "the number of hits are 115", one show "hits are 115" and the other just "115"...instead of using the same text setting. Anyway, Thank you!! will write the review in JED
Thanks for your kind comment
2 Thursday, 14 May 2009 09:39
GJC (admin)
Thanks Skaune,
Could you leave a review at http://extensions.joomla.org/extensions/site-management/content-statistics/8259/details if you'd be so kind Mr. Green
Great Plugin!
1 Thursday, 14 May 2009 09:02
Skaune
This is really a great plugin. Been looking around for a plugin like this for ages.

The jPageViews works 100% and does what it says it shall do. Tested it on several sites and got nothing at all to report.

Thanks!!

Add your comment

BoldItalicUnderlineStrikethroughSubscriptSuperscriptEmailImageHyperlinkOrdered listUnordered listQuoteCodeHyperlink to the Article by its id
Very HappySmileWinkSadSurprisedShockedConfusedCoolLaughingMadRazzEmbarrassedCrying or Very SadEvil or Very MadTwisted EvilRolling EyesExclamationQuestionIdeaArrowNeutralMr. GreenGeekUber Geek
Your name:
Subject:
Comment:

Our Recommended Reading

For those interested in extending their knowledge of Joomla! & VirtueMart, Packt Publishing has an excellent range of help & how to books.
Listed below are some I can recommend.
Simply click on the images to be taken directly to their web shop.

Joomla! Web Security
Joomla! Web Security
by Tom Canavan.
Joomla! Template Design: Create your own professional-quality templates with this fast, friendly guide
Joomla! Template Design:
Create your own professional-quality
templates with this fast, friendly guide
by Tessa Blakeley Silver.
Magento: Beginner's Guide
Magento: Beginner's Guide by William Rice
is a must for anyone trying the
open-source e-Commerce solution.

Read the review
object-oriented-javascript-applications-libraries
Object-Oriented JavaScript by Stoyan Stefanov
gives you a very comprehensive
grounding in the latest Javascript techniques.

Read the review

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.

VM Live Product Search

Latest Joomla & VirtueMart Tips

See all tips & examples



A Joomla 1.5 Plugin to show the number of page views anywhere in your content



This Joomla 1.5 Plugin allows you, with just a short tag, to insert the number of page views (hits) of any article along with the linked title to the page.


page, jpageviews, text, number, plugin, article, hits, views, install, insert, download, box, title, parsing, linked, use, version, extensions, example, prevent, inserted, asterisk, html, tag, joomla, leave, require, right, float, boxes, tags, updates, titles, manager, enable, uninstall, choose, times, refresh, working