All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: Printing Individual Stats  (Read 29459 times)

0 Members and 1 Guest are viewing this topic.

Offline ayushsaran

  • Newbie
  • *
  • Posts: 7
    • View Profile
Printing Individual Stats
« on: 26 March 2007, 22:11 »
Im putting together a cheat sheet for myself on the various stats that can be displayed within the blog once the Wp-Stats plugin is installed

can someone add any more - or correct any of these if i was wrong somewhere

Code: [Select]
<?php get_linkcats(); ?>Returns the Link Categories with # of links as a list
Examples:
Blogroll (7)

Code: [Select]
<?php get_postcats(); ?>Returns the Post Categories with # of posts as a clickable list
Examples:
News (7)
Humor (12)

Code: [Select]
<?php get_authorsstats(); ?>Returns the Author Names with # of posts as a clickable list
Examples:
Editor (6)
Steve (145)

Code: [Select]
<?php get_commentmembersstats(); ?>Returns comment posters names with # of comments as a clickable list
Examples:
John (9)
Steve43d (10)

Code: [Select]
<?php get_totalposts(); ?>Returns Total # of posts in the blog
Examples:
135

Code: [Select]
<?php get_mostcommented(); ?>Returns posts with # of comments as a clickable list - sorted descending
Examples:
10 Reasons to quit Smoking - 9 comments
What toothpaste to buy - 3 comments

Code: [Select]
<?php get_recentcomments(); ?>Returns 10 recent comments with date, time, comment poster and post name as a clickable list
Examples:
20.03.2007 @ 15:30 - John (Weekly posting on Digg)

Code: [Select]
<?php get_recentposts(); ?>Returns 10 recent posts with date ,post name and author as a clickable list
Examples:
20.03.2007 - Post Name Here (Author)

Code: [Select]
<?php get_totalposts(); ?>Returns Total # of pages in the blog
Examples:
9

Code: [Select]
<?php get_totalauthors(); ?>Returns Total # of authors in the blog
Examples:
3

Code: [Select]
<?php get_totalcomments(); ?>Returns Total # of comments in the blog
Examples:
23

Code: [Select]
<?php get_totalcommentposters(); ?>Returns Total # of comment posters in the blog
Examples:
9

Code: [Select]
<?php get_totallinks(); ?>Returns Total # of links in the sidebar link list
Examples:
7

Code: [Select]
<?php get_authorsstats(); ?>Returns author names with # of comments as a clickable list
Examples:
John (9)
Steve43d (10)

« Last Edit: 27 March 2007, 05:49 by GaMerZ »

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Cheat Sheet
« Reply #1 on: 27 March 2007, 05:44 »
OMG, thank you for the contribution, I have stickied it and rename/modify the post

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline ayushsaran

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Printing Individual Stats
« Reply #2 on: 27 March 2007, 06:17 »


thats why i made the list, im still adding more info to it, but that is what i wanted to style into the sidebar

you can see it in action on www.ayushsaran.com/blog

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Printing Individual Stats
« Reply #3 on: 27 March 2007, 07:59 »
okie, thank yoi

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Printing Individual Stats
« Reply #4 on: 28 March 2007, 01:50 »
How did you do that? Thats cool. I may try to make that into a GD image if you haven't already. :)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline ayushsaran

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Printing Individual Stats
« Reply #5 on: 28 March 2007, 02:19 »
Code: [Select]
<div id="nutinfo">
<h2>Nutrition Info</h2>
<p>Serving Size 1 blog <br />
Servings Per Container 1</p>

<p class="lines"><small>Amount Per Serving</small></p>
<p class="lines"><span><?php get_totalposts(); ?></span>Total Posts</p>
<p class="lines"><span><?php get_totalcomments(); ?></span>Total Comments</p>
<p class="lines" style="border-bottom:5px solid #000;;"><span><?php get_totalcommentposters(); ?></span>Total Commenters</p>
<p class="lines"><span><small>% Daily Value</small></span>&nbsp;</p>
<ul class="lines">
<?php get_postcats(); ?>
</ul>
</div>

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Printing Individual Stats
« Reply #6 on: 28 March 2007, 15:24 »
And I'm guessing you use CSS and an image? Thats a pretty cool idea. :)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Printing Individual Stats
« Reply #7 on: 28 March 2007, 15:24 »
Would you mind if I used it? I'd give you credit  and a link on the site I used it on.
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline ayushsaran

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Printing Individual Stats
« Reply #8 on: 05 April 2007, 09:43 »
sure

no need for the credit or the link back, its just css styling ;)

appreciate it ;)

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Printing Individual Stats
« Reply #9 on: 05 April 2007, 15:53 »
No problem. :)

    I posted a comment on your blog saying thanks. Nice theme, really creative!
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Printing Individual Stats
« Reply #10 on: 05 April 2007, 15:57 »
So I can use this right?
Code: [Select]
font-weight:normal;
margin-top:0pt;
}
#nav_email p {
border-bottom:9px solid #000000;
margin-bottom:2px;
padding-bottom:2px;
}
#nav_email p.lines {
border-bottom:1.5px solid #000000;
}
#nav_email ul.lines li {
border-bottom:1px solid #000000;
list-style-type:none;
text-align:right;
}
#nav_email ul.lines li a {
color:#000000;
float:left;
text-decoration:none;
}
#nav_email p.lines span {
float:right;
}
#commentform, ol.commentlist p {
color:#666666;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:11px;
line-height:20px;
margin-left:70px;
}

I'm not good at CSS.  :-\
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline jowie

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Printing Individual Stats
« Reply #11 on: 20 September 2007, 21:50 »
Can I use WP-Stats to return me a number of views per blog post? Or do I need another plugin for this?

Thanks!

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Printing Individual Stats
« Reply #12 on: 21 September 2007, 06:03 »
no it will not, you need WP-PostViews, WordPress does not count views to a post.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Printing Individual Stats
« Reply #13 on: 22 November 2007, 22:59 »
Yep.
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline abelq

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Printing Individual Stats
« Reply #14 on: 09 April 2008, 00:42 »


Code: [Select]
<?php get_mostcommented(); ?>Returns posts with # of comments as a clickable list - sorted descending
Examples:
10 Reasons to quit Smoking - 9 comments
What toothpaste to buy - 3 comments

Code: [Select]
<?php get_recentcomments(); ?>Returns 10 recent comments with date, time, comment poster and post name as a clickable list
Examples:
20.03.2007 @ 15:30 - John (Weekly posting on Digg)



Hi Lester, ayushsaran, everyone. This is a great plugin having so many functions. :) I have some questions on displaying individual stats.

I'm using wordpress 2.5 already however the site is still in my local server (not online yet).

1. for get_mostcommented
How can I not display the # of comments (e.g. - 9 comments)?
How can I limit the list to a specific number say only 7 most commented posts?

2. for get_recentcomments
How can I not display date, time, and only display an excerpt of the comment, comment poster, and post name?
How can I also limit the number to 5 most recent commments

3. highest rated post
how can I display the 7 most rated post? Without the stars, just the title?

4. most viewed post
how can I display the 7 most viewed post? Without the number of views.
Can I create most viewed post per category?

Thanks so much in advance!

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Printing Individual Stats
« Reply #15 on: 09 April 2008, 07:40 »
1.
Code: [Select]
<?php get_mostcommented('both'7); ?>2.
Code: [Select]
<?php get_recentcomments('both'5); ?>3. You need to edit WP-PostRatings Template, WP-Admin -> Ratings -> Rating Options
4. Read the readme.html under Usage Tab.

For what to show and what not to show, it is out of our support scope. For the Most Viewed Post, in 1.30 version of it (soon) you can edit the template similar to PostRatings.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline abelq

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Printing Individual Stats
« Reply #16 on: 09 April 2008, 07:57 »
Thank you so much Lester!  :)

Offline Roms

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Printing Individual Stats
« Reply #17 on: 30 April 2008, 10:17 »
Which code shows quantity of posts and comments of today? :/

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Printing Individual Stats
« Reply #18 on: 30 April 2008, 13:59 »
It is not possible to show which are the posts/comments that are commented today.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Roms

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Printing Individual Stats
« Reply #19 on: 30 May 2008, 19:14 »
If I use the withdrawal as the number of enteries. What should be done, what would this number did not include the recording of certain category?
« Last Edit: 30 May 2008, 19:48 by Roms »