gjoseph
Member
Posted 11 months ago #
Hey there,
Is there a chance to get "aggregate" stats/counts for all authors ? I'm working on a rather small blog with a handful of authors, but we'd rather see how the blog does "on average", not necessarily per author.
Thanks for any tip.. or hope (for a future version?)
Cheers,
-g
http://wordpress.org/extend/plugins/word-stats/
Fran Ontanaya
Member
Plugin Author
Posted 7 months ago #
I can't do much non commissioned work on it right now, but I'll add it to the To Do list.
gjoseph
Member
Posted 7 months ago #
hehehe, just saw the 4.1 release, looks like I got the best of your curiosity. Cheers ! :)
Fran Ontanaya
Member
Plugin Author
Posted 7 months ago #
It's not working in proper order yet, I pushed it to fix a bug. The aggregate stats will be available shortly.
Fran Ontanaya
Member
Plugin Author
Posted 7 months ago #
Ok version 4.2 should adress this.
gjoseph
Member
Posted 7 months ago #
Thanks Fran, but hmmm. With 4.1, graphs stopped working for me for some reason. Now they're back. For my own account and for "admin", I can see word count, stats and graphs. But for the other author account and "all authors", only the word count shows up. Graphs and keywords don't. Is that something you're aware of, or that I could help debunk, somehow ?
gjoseph
Member
Posted 7 months ago #
Ha, I found out there's a javascript error - "expected token: )" - for some users. This is in the kw_ticks variable, which contains values that don't see to be escaped. (stuff like "width="468"" which seem to throw the js parser off, obviously. But even escaped, I'm not sure what those html attributes are doing there.
Let me know if more details or examples would help.
Fran Ontanaya
Member
Plugin Author
Posted 7 months ago #
Ok, thanks a million about the heads up and the bug research! I'll get to it in a few hours. This is the first report I get for this bug, I'll poke you for feedback as needed.
Fran Ontanaya
Member
Plugin Author
Posted 7 months ago #
I reproduced the bug, working on the fix.
Fran Ontanaya
Member
Plugin Author
Posted 7 months ago #
Ok, try 4.2.1. Some posts had keywords saved incorrectly, without splitting and removing double quotes ("), they will be cached again, it might be slower than normal.
gjoseph
Member
Posted 7 months ago #
Hey, now it works, but unfortunately, I get a bunch of these PHP warnings: (5 times, but not sure if that particular number is relevant)
Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/foobar/wordpress/wp-content/plugins/word-stats/word-stats.php on line 558
Warning: implode() [function.implode]: Invalid arguments passed in /var/www/foobar/wordpress/wp-content/plugins/word-stats/word-stats.php on line 558
gjoseph
Member
Posted 7 months ago #
Oh, and now I see that the following were saved as keywords (those were the ones creating the problem in the first place)
- [caption
- align=
- width=
- caption]
gjoseph
Member
Posted 7 months ago #
4.2.3 solved all this, thanks !
(although it looks like "caption" "align" and "width" are still considered pretty popular keywords on my blog - but they're not, they're only used in that picture caption markup thing)
Fran Ontanaya
Member
Plugin Author
Posted 7 months ago #
Whew.
Yeah I have to figure out how to deal with shortcodes, since strip_shortcodes doesn't seem to do much, and just ignoring anything within square brackets would often ignore legit text.
Thanks a lot for the quick feedback. I'm usually available on freenode.net all the time (just query TheVenetianMask) and on skype (fran.ontanaya) if you need to discuss on a chat anything about the plugin.