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: 10 Most viewed posts in stats widget  (Read 6114 times)

0 Members and 1 Guest are viewing this topic.

Offline kichu

  • Newbie
  • *
  • Posts: 7
    • View Profile
10 Most viewed posts in stats widget
« on: 31 January 2009, 14:20 »
Hi

I am using almost all of your excellent plugins.

Kindly tell me how to add the 10 most viewed posts also to the wp-stats widget, so that I can show that stat also on the sidebar, along with total authors, total posts, most commented posts etc.

Thanks and regards,

S.K

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: 10 Most viewed posts in stats widget
« Reply #1 on: 31 January 2009, 15:34 »
You need to install WP-PostViews as well and then configure WP-Stats. WP-Admin -> Settings -> Stats

++ 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 kichu

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 10 Most viewed posts in stats widget
« Reply #2 on: 31 January 2009, 16:57 »
Yes. I have the wp-postviews plugin installed and the relevant option on the stats option page (10 most viewed posts) checked. But "most viewed" stats is not coming on.

I find that there are 3 different behaviours:

1. On the wp-stats page seen from the dashboard (http://www.mysite.com/wp-admin/index.php?page=wp-stats/wp-stats.php), all other most/highest stats like "most rated" etc are showing up, except "most viewed"

2. Only "most commented posts" show up under the heading "10 Most/highest stats" on the stats page - (mysite.com/stats)

3. On the stats widget, there is only an option for "10 most commented posts" but not for other kinds of most/highest stats.

I have installed the latest 1.40 version of both plugins. I use WP 2.7

Kindly help.

S.K

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: 10 Most viewed posts in stats widget
« Reply #3 on: 01 February 2009, 03:21 »
1, 2. Did you enter in your Stats URL page in WP-Admin -> Settings -> Stats? Because it works fine on my end, I have no idea how to help you If I can't reproduce this problem.

3. My bad, in the Widget There is no Most/Rated Highest Stats because it is in their own respective plugin widget.


++ 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 kichu

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 10 Most viewed posts in stats widget
« Reply #4 on: 01 February 2009, 04:48 »
Thanks for your prompt reply.

Yes, I have entered the stats URL correctly. I have attached a screenshot of the settings page.


Thanks and regards,

S.K

[attachment deleted by admin]
« Last Edit: 09 September 2009, 17:02 by kichu »

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: 10 Most viewed posts in stats widget
« Reply #5 on: 01 February 2009, 05:00 »
Can u delete away the plugins file for both wp-stats and wp-postviews, re download the plugin and upload the files again.

++ 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 kichu

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 10 Most viewed posts in stats widget
« Reply #6 on: 01 February 2009, 05:30 »
Thanks.

I did it, but the status remains the same.

When it works with you, there shd be nothing wrong with your plugin. I don't know what is wrong with my end. The wp-postviews plugin works just right, as you can see the views being shown in all posts.

I'll try and show the postviews widget also.

Anyway I don't intend to use the stats page, but show the stats only on the widget.

Could you please tell me what code snippet should I include to show the 10 most viewed posts on the wp-stats widget.

Thanks and regards,

S.K

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: 10 Most viewed posts in stats widget
« Reply #7 on: 01 February 2009, 05:35 »
There is no code you can use as I did not cater for that. Postviews come with it's own widget.
You can try merging the code for postviews into stats but I dun see how Is that different from using the postviews widget and stats widget

++ 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 kichu

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 10 Most viewed posts in stats widget
« Reply #8 on: 01 February 2009, 06:30 »
Yes. I agree. The stats widget format suits only the overall total stats, not a list of 10 most... etc.

I have enabled the postviews widget and will try to embellish the style.

Meanwhile I am trying to complete the translation of all your plugins that I use to my language viz, Tamil.

Thanks and regards,

S.K

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: 10 Most viewed posts in stats widget
« Reply #9 on: 01 February 2009, 07:55 »
I went through the code, and could not figure why it would not display for you. If you are able to install of a fresh install of WP with WP-PostRatings, WP-Stats and WP-PostViews on your server, let me know if it will work on there.

++ 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 kichu

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 10 Most viewed posts in stats widget
« Reply #10 on: 01 February 2009, 10:05 »
I owe you a huge apology!

I had kept the "Most viewed template" empty. Once I pressed "Restore Default template", everything works!

Sorry for wasting your time.

Thanks and regards
S.K

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: 10 Most viewed posts in stats widget
« Reply #11 on: 01 February 2009, 10:40 »
Oh, no worries =)

++ 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.