[joomla] Limit number of item (page) views
Mitch Pirtle
mitch.pirtle at gmail.com
Fri Nov 6 09:02:49 EST 2009
You can write a plugin that takes care of that - basically before you
render the article you check the number of views, and if it exceeds a
limit (also stored as a plugin parameter) unpublish and
return/redirect/whatever.
http://docs.joomla.org/Developers#Plugins
Is that what you're trying to do?
-- Mitch
On Thu, Nov 5, 2009 at 3:21 PM, forest mars <compustretch at gmail.com> wrote:
> Does anyone know of a solution to limit the number of times an article or
> item can be viewed? Sort of like you have with banners/ads/impressions…
>
> In other words to allow you easily to set the max page views for any given
> item/article, and when it reaches the limit, the content is unpublished or
> access denied.
>
>
> ƒ.
>
> ps- on a completely unrelated note, I was wondering what it would take to
> get some nice Joomla stickers, and why you never see any of those…!
>
>
> --
> "In theory, theory and practice are exactly the same.
> In practice, they're completely different."
> ------------------------------------------------------------------
> This email is:
> [ ] private: do not forward
> [ x ] o.k. to forward
> [ ] o.k. to blog
> [ ] ask first
> -----BEGIN PGP SIGNATURE-----
> Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its
> affiliated companies. (Diffie-Helman/DSS-only version)
>
> iQA/AwUBRkjTLDbz7LySoccvEQJDcQCguZZj4M4kOVOlOX4CtbgR0rppsdovAjra
> 3RRXIlkdzuYI0YJz4WyvKlTn
> =MLhk
> -----END PGP SIGNATURE-----
> ------------------------------------------------------------------
> The New TLDs are Here!
> Switch to Name.Space: http://namespace.org/switch
> Support new domains & keep free media free! Register yours today!
> https://secure.name-space.com/registry
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
More information about the Joomla
mailing list