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, views, article, hits, install, use, download, parsing, version, insert, box, title, linked, example, inserted, require, asterisk, html, extensions, boxes, prevent, float, right, leave, tag, joomla, small, working, times, follows, refresh, titles, uninstall, thanks, normal, enable

Home Joomla - VirtueMart Joomla 1.5 jPageViews Plugin

Sam

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  Price €8.00

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.


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!
Zuletzt aktualisiert am Sonntag, 21. Februar 2010 um 20:50 Uhr Read : 15170 times
 
Comments (19)
help
19 Donnerstag, 24. Dezember 2009 um 16:21 Uhr
erfan
hi
how can use automatically of this mplugin
i want issuance an article ,page view writ automatic in that article
tnx
problem
18 Mittwoch, 25. November 2009 um 21:35 Uhr
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 Mittwoch, 30. September 2009 um 13:32 Uhr
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 Mittwoch, 30. September 2009 um 13:24 Uhr
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 Mittwoch, 02. September 2009 um 07:00 Uhr
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 Dienstag, 01. September 2009 um 20:05 Uhr
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 183 visitors" is interpreted as "The number of hits for Multilingual Search Engine Optimisation 1 are 1184 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 Freitag, 10. Juli 2009 um 08:47 Uhr
GJC (admin)
Don't understand what your asking?
The number in the code is the article number...
difference
12 Donnerstag, 09. Juli 2009 um 22:59 Uhr
Chrysanthos
between
{jpageviews 39 none} and {jpageviews 58 none}
difference
11 Donnerstag, 09. Juli 2009 um 22:57 Uhr
Chrysanthos
sorry between The number of hits for VirtueMart 1.1 Alpha Numeric search module are 5786 visitors and The number of hits for A Joomla 1.5 Plugin to insert the rel="nofollow" attribute within outgoing links are 7965 visitors
difference
10 Donnerstag, 09. Juli 2009 um 22:56 Uhr
Chrysanthos
what is the the difference between The number of hits for VirtueMart 1.1 Alpha Numeric search module are 5786 visitors
and
The number of hits for A Joomla 1.5 Plugin to insert the rel="nofollow" attribute within outgoing links are 7965 visitors
@Bob
9 Donnerstag, 28. Mai 2009 um 07:01 Uhr
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 Mittwoch, 27. Mai 2009 um 21:55 Uhr
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 Mittwoch, 27. Mai 2009 um 19:16 Uhr
GJC (Admin)
pageviews - all articles
6 Mittwoch, 27. Mai 2009 um 19:09 Uhr
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 Montag, 18. Mai 2009 um 14:08 Uhr
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 Montag, 18. Mai 2009 um 13:49 Uhr
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 Samstag, 16. Mai 2009 um 14:24 Uhr
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 Donnerstag, 14. Mai 2009 um 09:39 Uhr
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 Donnerstag, 14. Mai 2009 um 09:02 Uhr
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:
Titel:
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, views, article, hits, install, use, download, parsing, version, insert, box, title, linked, example, inserted, require, asterisk, html, extensions, boxes, prevent, float, right, leave, tag, joomla, small, working, times, follows, refresh, titles, uninstall, thanks, normal, enable