logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$4
CubePoints - Extension/Module

I am using CubePoints (http://cubepoints.com/) in one of my projects. At present it only tracks and displays overall "Top Users" by points.

In addition to displaying overall "Top Users". I would like to have the ability to list:
1) Top Users This Month
2) Top Users Last Month
3) If possible a dedicated page where these ranks are updated as the months/years go by.

If you are able to successfully add this functionality to the plug-in without hacking the core plugin and in an update friendly manner please let me know the cost & the time needed.

Thanks

This question has been answered.

badnews | 09/29/11 at 4:19am Edit


(1) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    09/29/11
    7:09am
    Julio Potier says:

    Hello

    I'm on it since 3 hours.

    The widgets will be ok soon.

    So now, what's the real price ;)

    Previous versions of this answer: 09/29/11 at 6:39am | 09/29/11 at 7:09am

    • 09/29/11 7:05am

      Julio Potier says:

      Done !
      Here comes the result :
      http://awesomescreenshot.com/089lefl36

      I'm AdminDemo and i've got 75 pts.

      This month i did 70 pts.
      Last month i did 5 pts.

      aazerty did 5 pts this month.
      And he did 0 last month.

      Contributeur is a loser.

      Now check the new widget :
      This month :
      http://awesomescreenshot.com/043lefp9d
      A new option is named "How much months back ?" 0 = this month.

      Last month :
      http://awesomescreenshot.com/0d1lefuc2
      You can see "months back" sets to "1"

      :)

    • 09/29/11 7:15am

      badnews says:

      Looks great!

      The real price of course is whatever you say it is :).

      "3) If possible a dedicated page where these ranks are updated as the months/years go by."

      Is 3 not possible?

    • 09/29/11 7:18am

      Julio Potier says:

      sorry i forgot mmm...
      i do not understand this point :s

    • 09/29/11 7:22am

      badnews says:

      Lets say there is separate page on the site - suppose example.com/top-users

      And if you go here you can see all the top users for all the previous months.

      So for example:

      August
      User 1 - 500 Points
      User 2 - 400 Points
      User 3 - 350 Points

      July
      User 1 - 500 Points
      User 2 - 400 Points
      User 3 - 350 Points

      June
      User 1 - 500 Points
      User 2 - 400 Points
      User 3 - 350 Points

      and so on...

      And then they are all separated by individual pages.

    • 09/29/11 7:24am

      Julio Potier says:

      i read "you can see all the top users for all the previous months"
      and
      "they are all separated by individual pages."

      So, all top users on 1 page or each month per page ??

    • 09/29/11 7:26am

      badnews says:

      Woops sorry!

      I meant the years are broken into individual pages. So Jan to Dec 2010 is 1 page. Jan to Dec 2011 would be second and so on.

    • 09/29/11 7:28am

      Julio Potier says:

      i see, i'll try to play with shortcodes, ok ?

    • 09/29/11 7:53am

      Julio Potier says:

      Ok here comes :

      http://awesomescreenshot.com/0d0lej35f
      New shortcode : [cp][/cp]

      Result :
      http://awesomescreenshot.com/00elej1bd

      So you can create a special template page and inside this template you wrote a loop and use do_shortcode inside.

      Example :
      i create a page inside WP, named "Year 2010", slug "2010".
      i select my new template "year page"
      Inside this page, i guess the year (by slug or custom field)
      And now i can do a loop like :

      for( $i = 0; $i<=11; $i++ ) {
      echo do_shortcode( "[cp users="3" month="-$i" year="$post->post_slug" title="%date%<br />"]%user% (%points%)[/cp]" );
      }


      Do you need help ?

    • 09/29/11 7:59am

      badnews says:

      This looks awesome. No way to have it automated :D?

    • 09/29/11 7:59am

      Julio Potier says:

      Sorry, quote problem

      for( $i = 0; $i<=11; $i++ ) {
      echo do_shortcode( '[cp users="3" month="-$i" year="$post->post_slug" title="%date%<br />"]%user% (%points%)[/cp]' );
      }

    • 09/29/11 8:01am

      Julio Potier says:

      I don't think so, but with a template page, this will be automated, you just have to create this template (i can help) and create a page par year. Done !

    • 09/29/11 8:03am

      badnews says:

      Sounds good!

      You never told me how much ;).

This question has expired.



badnews voted on this question.



Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.