Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2005-06-07 02:20:37

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

Re: basic blog stats plugin

That was quick! :) It works perfectly. Thank you!

Offline

#22 2005-06-07 02:22:18

dubh
Member
From: Wellington, New Zealand
Registered: 2004-02-27
Posts: 20
Website

Re: basic blog stats plugin

Ditto

Thanks!

edit: I’m now using Andrew’s new comment count plugin to achieve the same effect.

Last edited by dubh (2005-06-12 23:28:33)


Alan Macdougall — http://halfpie.net/

Offline

#23 2005-06-07 10:20:00

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: basic blog stats plugin

Sounds good andrew – how about a number of times an entry has been viewed? But allowing the tag or a tag of sorts to be placed within the entry itself – so something like:

this is my entry
monday 17 december 2008
viewed 3 million times

Offline

#24 2005-06-07 13:11:52

davidm
Member
From: Paris, France
Registered: 2004-04-27
Posts: 719

Re: basic blog stats plugin

Thanks Andrew for this !
I had missed the original post of this simple yet missing plugin :D


.: Retired :.

Offline

#25 2005-06-11 01:46:40

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: basic blog stats plugin

So… at what point do I split a feature request out into its own separate plugin? Does it make sense to have like 10 sub-plugins contained by this one, or should I break a few of these feature requests into their own individual ones?

Offline

#26 2005-06-11 02:18:13

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: basic blog stats plugin

it depends if these separate features could grow or be improved upon on their own, or whether ti’s better to have more functioanlity in one plugin with several variables.

Offline

#27 2005-06-11 18:00:27

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: basic blog stats plugin

In response to the word count request… you’re in luck – it already exists: klp_word_count

Offline

#28 2005-06-11 18:35:58

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: basic blog stats plugin

And in response to the pageviews request, I’ve managed to implelement the feature successfully (as a separate plugin). However, the main problem is storage of the pageview data itself. The “suggested” place to store plugin-related information is in txp_prefs, but that field is varchar(255), which basically means there isn’t a chance it’d be able to store serialized data for over a few dozen articles.

So then we’re back to external data storage in a flat file, which seems a bit kludgy but could be done (opinions?). It could also be done as a separate table, but if you’re going to take that route you might as well develop a full-featured statistics plugin, which I’m not really interested in developing.

I’ve added a few features to this particular package and am planning on re-releasing it under the name ajw_blog_stats (I spoke with Gordon and he’s too busy with studies to continue supporting it). I’ll probably be done testing/tweaking it sometime today or tomorrow.

Offline

#29 2005-06-11 18:44:39

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

Re: basic blog stats plugin

I wish I had something intelligent to input here, or a suggestion to make – data storage choices for this are over my head, I’m afraid.

I just felt the need to throw in a bit of cheerleading on this (hip hip hooray) so you’d know I’m still watching this intently to see what you put together on this. :)

Offline

#30 2005-06-11 18:52:26

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: basic blog stats plugin

thanks for the link andrew:)

andrew, how about releasing the plugins indivudually, but with the option to have them work together in some form? I know Mary did something like that between upm image popper and upm quicktags.

If it’s going to limit how and what features are implemented in order to achieve a certain effect, then it might be best to break it down than have an all in one solution I suppose

Offline

Board footer

Powered by FluxBB