Rate Macro

Name Rate Macro
Vendor Adaptavist.com Ltd (Website)
Authors Alain Moran, Dan Hardiker, Jonathan Nolen
Homepage http://confluence.atlassian.com/display/CONFEXT/Rate+Macro
Issue Management http://jira.adaptavist.com/browse/Rate
Continuous Integration n/a
Categories Content Macros
Most Recent Version 2.0.3
Availability Confluence v2.8-m7-r2 to v3.0.0_01
State Stable
Support Unsupported Plugins
License Freeware / Open Source (BSD)
Price Free
Release Docs http://confluence.atlassian.com/display/CODEGESIT/Rate+Macro
Java API Docs n/a
Download Source http://svn.atlassian.com/svn/public/contrib/confluence/rate-plugin/tags/2.0.3/
Download JAR adaptavist-plugin-rate-2.0.3.jar

Thanks also to people who helped with ideas and testing including David Peterson, Mike Cannon-Brookes, Jens Schumacher, Jonathan Nolen

Description/Features

Please Note
This plugin has only been partially recoded since Confluence 2.8 & Rate plugin 2.x
You won't be able to use another function than the rate macro (no search, no global results, no themes...)

A set of macros for collecting and displaying page ratings. It has the following notable features:

  • Cookie based to detect if someone has voted before (not supposed to prevent duplicate votings)
  • Fully AJAXed
  • Multiple {rate}'s per Page (or other ContentEntityObject) through alphanumeric keys, with the default being the CEO's id.
  • Configurable title
  • Themable! You can change the configuration and graphic files used through a "theme" parameter. There are two bundled themes: builder [default] and dynamic.
  • A "Results only" view which will only render the results view of the macro
  • Results preview ability for those who have not voted (and the ability to go back to the voting screen)
  • Unvoting ability for the already voted
  • Clear ability to remove all the votes recorded (resets cookies too) - this functionality is given to those who can edit the current page (or are a global / space administrator)

A {rate-table} macro for rendering information in tabular form, which has the following notable features:

  • Default mode of rendering the default key of the current page CEO
  • Ability to specify a different CEO to use (you must know the CEO's id)
  • Ability to specify multiple keys to render
  • Confluence Chart Plugin compatable!
  • Switches to hide the rating breakdown, and overall rating.

A {rate-report} macro also exists, but is currently unwired due to the possible abuse it could have. This would have contained the following functionality:

  • Velocity template with a RateHelper class to access data
  • Ability to retrieve and process information in an entirely custom manner

As it was seen that the {rate-table} performed the majority of the functions that this macro could be used for, it was decided to discontinue this macro. If you disagree and believe that this macro is worth supporting, then please speak up!

Requirements

none at this time

Installation

Install using the plugin repository

Tested Environments

Version 1.0

Confluence v2.0 RC2

Version 1.1

Confluence v2.1.2

Documentation

The macros in this plugin are documented (with examples and related links) in the Builder User Guide:

  • rate - A content rating macro
  • rate-table - A tabular rating result display macro

Many of the macros also have accompanying documentation in the Wiki Notation Guide.

Version History

Version Comments Author
1.0
  • Initial release
Adaptavist.com
1.1
  • Confluence v2.1 compatability
Adaptavist.com

Known Issues

  • A selection box that covers from the selected icon to the left of the screen appears when voting - most visible during a prolonged click.

Future Development

We currently have no plans for this plugin to progress any further - if you have anything you wish to see performed to this plugin, please add them here.

Screenshots

Here's a few screen grabs of some of the macros in action...

Labels

rate rate Delete
confluence20 confluence20 Delete
confluence21 confluence21 Delete
plugin plugin Delete
macro macro Delete
repository_current repository_current Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 26, 2006

    Ben Naftzger says:

    It would be nice if you could also have a page level rating - that is restricted...

    It would be nice if you could also have a page level rating - that is restricted strictly to a single rating per page. This would allow each page to have a 'page rating'. Having multiple ratings on a page is more inclined to content/snippet rating. As part of page ratings, it would be excellent to list out all of the pages of a certain rating (e.g. all pages rated 4: ....) or list out all rated pages, sorted by rate (rated 1 pages: ... , rated 2 pages: ... , rated 3 pages: .... , etc.).

    1. Jan 26, 2006

      Guy Fraser says:

      If you don't specify the "key" parameter, it defaults to the content id for the ...

      If you don't specify the "key" parameter, it defaults to the content id for the CEO on which the rate macro is used. We're hoping to eventually find support in other macros for pages using the default rating so that lists of pages can be ordered by rating, etc.

  2. Jan 31, 2006

    jenneke godschalk says:

    Ik can't download this macro. The linked page is not working: "The requeste...

    Ik can't download this macro. The linked page is not working: "The requested resource cannot be found"

    Is there any alternative way to donwload this macro?

     

    1. Jan 31, 2006

      Dan Hardiker says:

      I have updated the links which now work. We will try to avoid linking through fi...

      I have updated the links which now work. We will try to avoid linking through fish eye in future.

  3. Mar 04, 2006

    Ben Naftzger says:

    FYI: the page rating feature request can be found here: http://jira.atlassian.co...

    FYI: the page rating feature request can be found here: http://jira.atlassian.com/browse/CONF-5640

    1. Mar 04, 2006

      Guy Fraser says:

      This is already implemented - simply place the rate panel on a page without a "k...

      This is already implemented - simply place the rate panel on a page without a "key" and it will store the rating under the CEO ID. We're hoping to upgrade various macros to allow sorting on this so you could show children, pagetree, incoming links, etc., ordered by rating.

      1. Mar 12, 2008

        Thom W Gray says:

        Have the "various macros" you were thinking about here been updated so that the ...

        Have the "various macros" you were thinking about here been updated so that the rating for child pages can be shown on a parent page? If so, what is the approach one should use on the parent page?

  4. Aug 13, 2006

    Rajendra says:

    I think we can not install this macro using Repository client; but it does have ...

    I think we can not install this macro using Repository client; but it does have label "repository_current". Is that suppose to mean something different ?

    thanks,
    Rajendra

    1. Aug 13, 2006

      Dan Hardiker says:

      This plugin is marked as "alpha" state, and I'm guessing you are filtering out p...

      This plugin is marked as "alpha" state, and I'm guessing you are filtering out plugins that are below a later state. You can use the Admin tab in the Confluence Repository Client to change the threshold to something more inclusive.

      1. Aug 14, 2006

        Guy Fraser says:

        @Dan: We should probably move this to stable state as as far as I am aware there...

        @Dan: We should probably move this to stable state as as far as I am aware there are no important bugs with this plugin.

  5. Sep 28, 2006

    Bhavin Turakhia says:

    i just installed this  plugin thru the confluence repository client and it ...

    i just installed this  plugin thru the confluence repository client and it says installed. but typing

    Unknown macro: {rate}
    into a page gives me "unknown macro" error

    1. Sep 29, 2006

      Dan Hardiker says:

      Can you confirm that the plugin is shown as installed and enabled in the Plugin ...

      Can you confirm that the plugin is shown as installed and enabled in the Plugin Manager please? Also can you check the logs for any exceptions.

      1. Oct 02, 2006

        Bhavin Turakhia says:

        i just checked and i see funny behaviour. the plugin is NOT installed. i clicked...

        i just checked and i see funny behaviour. the plugin is NOT installed. i clicked on the "install" link in the confluence repository client, it says successfully installed rate plugin 1.1. but nevertheless the plugin continues to display the "Install" link.

        i even checked WEB-INF/lib and the jar file is there. but the plugin is not showing as installed

      2. Oct 02, 2006

        Bhavin Turakhia says:

        ok ... i managed to install the plugin now .... and its working

        ok ... i managed to install the plugin now .... and its working

  6. Oct 02, 2006

    Bhavin Turakhia says:

    is there a way to get a list of top-rated articles in a space etc? this macro wo...

    is there a way to get a list of top-rated articles in a space etc? this macro would be very useful if we could do that.

    for instance we have a library of articles in a space. every article has a "rating" at the bottom. if i want to create a section that says - Top 10 articles by rating. can i pull that out in some fashion?

    1. Oct 02, 2006

      Guy Fraser says:

      Use the Advanced Search Plugin and include the rating column and set sort order ...

      Use the Advanced Search Plugin and include the rating column and set sort order on that column to descending.

      1. Nov 12, 2007

        Amit Kothari says:

        Hello Guy Could you post an example of example code for this combination. My re...

        Hello Guy

        Could you post an example of example code for this combination. My requirement is simply to display the top 5 pages rated in the current space.

        Amit 

  7. Nov 01, 2006

    Shameem says:

    Hi, I am using rate macro as one cell inside a scaffold table. Now fo...

    Hi,

    I am using rate macro as one cell inside a scaffold table. Now for each row of the table I should have different 'key' value in rate macro so that I could get distinguished rating for each row content. For e.g.:

    My first row has one cell as :- rate:title=Title|key=someKey1

    Second row has:- rate:title=Title|key=someKey2 & so on.......

    Is there any way by which I can dynamically generate the 'key' so as to have a unique key for each of the rate macros in my table?

    1. Nov 02, 2006

      Dan Hardiker says:

      The rate macro was not designed for this sort of use - there is no way to genera...

      The rate macro was not designed for this sort of use - there is no way to generate a unique appendage, and that appendage would be best injected by the scaffolding (specifically the boilerplate) stuff.

  8. Nov 14, 2006

    Paul Carruthers says:

    Just installed the rate macro...the graphics don't show up. I just have a blank ...

    Just installed the rate macro...the graphics don't show up. I just have a blank box with the title. I can click on the box to vote, but without the graphics it's kinda hard .

    Any ideas? Here's the pic...

    1. Nov 14, 2006

      Guy Fraser says:

      Check you have the Base URL correctly configured in Admin Console > General C...

      Check you have the Base URL correctly configured in Admin Console > General Config

      1. Nov 14, 2006

        Paul Carruthers says:

        That's got it. Thanks!

        That's got it. Thanks!

    2. Nov 14, 2006

      Dan Hardiker says:

      I've just installed the latest Rating plugin from the repository into a clean 2....

      I've just installed the latest Rating plugin from the repository into a clean 2.2.9-std, and it worked as expected.

      Do you have any other configuration in your environment?

  9. Feb 02, 2007

    mhowitt says:

    I'm having trouble installing the Rate Macro. I have a 2.3 install of Confluence...

    I'm having trouble installing the Rate Macro. I have a 2.3 install of Confluence. When I click the button Install for the Rate Macro in the Plugin Repository it says:

    Expected plugin key [com.adaptavist.confluence.rate] and got [adaptavist.confluence.rate] from: http://svn.atlassian.com/svn/public/contrib/confluence/rate-plugin/trunk/dist/adaptavist-plugin-rate-1.1.1.jar

    Please advise. 

    1. Feb 02, 2007

      Alain Moran says:

      After a quick peruse of the source I think I see what's wrong, however the rate ...

      After a quick peruse of the source I think I see what's wrong, however the rate macro wont currently work with confluence 2.3 anyway. I guess that's a problem with the repository metadata being too 'relaxed' and allowing it to be installed against 2.3 before it's been upgraded.

      1. Feb 02, 2007

        Guy Fraser says:

        When you go in to make it conf 2.3 compatible, please ensure all the links outpu...

        When you go in to make it conf 2.3 compatible, please ensure all the links output by the rate macro have a "nofollow" on them to stop Google spidering them (15GB of log files due to exceptions caused by that)

        1. Feb 04, 2007

          Alain Moran says:

          The rate macro has now been ported to confluence 2.3, nofollow links added, and ...

          The rate macro has now been ported to confluence 2.3, nofollow links added, and resolved issues with the image path that was preventing the images display correctly on some installations.

  10. Feb 12, 2007

    Kelly Heese says:

    When I try to install the rate plugin using the Plugin Repository (in v229), I g...

    When I try to install the rate plugin using the Plugin Repository (in v229), I get:

    The following error(s) occurred:

    Any ideas? Is this supposed to work with v229?

    1. Feb 12, 2007

      Alain Moran says:

      Ah ... moving the rate macro source over to using maven2 has resulted in the key...

      Ah ... moving the rate macro source over to using maven2 has resulted in the key changing to com.adaptavist.confluence.rate, however the old jar files contain the now deprecated adaptavist.confluence.rate.

      After discussion with Dan I have added an 'aka' identifier to the metadata which should allow the repository to understand both keys.

      1. Feb 13, 2007

        Kelly Heese says:

        Thanks Alain - It installed fine from the repository.

        Thanks Alain - It installed fine from the repository.

        1. Mar 09, 2007

          Jeff Guthrie says:

          Kelly I get your exact same error when I try to install the plugin through the r...

          Kelly I get your exact same error when I try to install the plugin through the repository client. What did you do differently? Thanks! (v2.2.9)

          1. Mar 12, 2007

            Alain Moran says:

            you can download the jar file from http://svn.atlassian.com/svn/public/contrib/c...

            you can download the jar file from http://svn.atlassian.com/svn/public/contrib/confluence/rate-plugin/jars/adaptavist-plugin-rate-1.1.1.jar and install it manually in the normal way

  11. Feb 13, 2007

    Kelly Heese says:

    After installing latest version of the RATE macro in Confluence v229, I'm gettin...

    After installing latest version of the RATE macro in Confluence v229, I'm getting:

    Error formatting macro: rate: java.lang.NullPointerException

    Please advise.

    1. Feb 15, 2007

      Alain Moran says:

      This may be related to a problem with the repository metadata, please re-trym if...

      This may be related to a problem with the repository metadata, please re-trym if that does not work, please post some more detail about the exception you are seeing

      1. Feb 15, 2007

        Kelly Heese says:

        In trying to fix the java null pointer exception, I just uninstalled the rate ma...

        In trying to fix the java null pointer exception, I just uninstalled the rate macro. Now when I reinstall it (from the repository) – I get the same error message as before:

        The following error(s) occurred:

        1. Feb 15, 2007

          Alain Moran says:

          Hrm ... I know that dan was having some problems with the autogeneration of repo...

          Hrm ... I know that dan was having some problems with the autogeneration of repo1 data from the repo2 data .. I guess something happpened that disabled or removed the aka that was added to avoid that problem ... you can download the jar file from http://svn.atlassian.com/svn/public/contrib/confluence/rate-plugin/jars/adaptavist-plugin-rate-1.1.1.jar and install it manually in the normal way until the repository gets fixed.

  12. Feb 16, 2007

    Kelly Heese says:

    We've added this macro to our page template using the code: $helper.renderConf...

    We've added this macro to our page template using the code:

    $helper.renderConfluenceMacro("
    {rate:title=Page Rating\|theme=dynamic}")
    

    It works fine in Firefox, but in IE6, it has a quirky behavior...it displays the # of stars from right to left (backwards), instead of left to right.

  13. May 30, 2007

    Dennis Baker says:

    We recently went to SSL only on Jira and Confluence and so far the only plugin t...

    We recently went to SSL only on Jira and Confluence and so far the only plugin that doesn't seem to be happy about it is, sadly, this cool rate one.

    Once you rate anything, the page will no longer load (IE7).  It will first give a mixed mode warning, then a cannot display page...

    1. May 30, 2007

      Alain Moran says:

      Which versions of confluence and rate are you using?

      Which versions of confluence and rate are you using?

      1. Jun 05, 2007

        Dennis Baker says:

        Confluence Version: 2.5.1 Build:#806 May 06, 2007 Rate v1.1.4 We have found th...

        Confluence Version: 2.5.1 Build:#806 May 06, 2007

        Rate v1.1.4

        We have found that some plugins that display images have an issue working in SSL.  Perhaps they use "http:
        " links.   So far the rate and jiraissues plugins do not work.

        1. Jun 05, 2007

          Alain Moran says:

          NONE of the adaptavist macros will use either a protocol, domain or port in thei...

          NONE of the adaptavist macros will use either a protocol, domain or port in their URL's!

          We have many sites which are accessed through several domains and protocols, prefixing a domain or protocol would render them ineffective on a large number of our sites.

  14. Jul 12, 2007

    John Tapley says:

    Is the jar download link broken? I attempted to download and browser gave a file...

    Is the jar download link broken? I attempted to download and browser gave a file not found error...are there mirror links? Maybe im just a super newbie...

    1. Jul 12, 2007

      Guy Fraser says:

      Atlassian's developer network was offline for upgrades recently - try again now,...

      Atlassian's developer network was offline for upgrades recently - try again now, it should be working.

      1. Jul 13, 2007

        John Tapley says:

        I tried today and it still appears to be dead...if you or anyone else have had s...

        I tried today and it still appears to be dead...if you or anyone else have had success let me know.

        1. Jul 13, 2007

          Alain Moran says:

          I'm having difficult logging into atlassian's svn repository so I cant fix the p...

          I'm having difficult logging into atlassian's svn repository so I cant fix the problem just yet, however you can find the jar here

          http://svn.atlassian.com/svn/public/contrib/confluence/rate-plugin/tags/1.1.5/dist/adaptavist-plugin-rate-1.1.5.jar

          1. Jul 14, 2007

            John Tapley says:

            Alain, you are awesome! Thanks for the link...I cant wait to have fun w/ thi...

            Alain, you are awesome! Thanks for the link...I cant wait to have fun w/ this plugin!

  15. Aug 14, 2007

    Devin Marco says:

    Hi everyone, I'm looking to deploy this macro to all the existing pages which we...

    Hi everyone, I'm looking to deploy this macro to all the existing pages which we have in our company. Any idea how to do that? We don't use template for our pages, so I'm thinking of editing the page layout from the space admin, but does anyone knows what are the command to run the macro from there? Thanks in advance folks.

    1. Aug 14, 2007

      Devin Marco says:

      Hi all, I managed to deploy the macro to all pages by placing it under the spa...

      Hi all, I managed to deploy the macro to all pages by placing it under the space admin-page layout. Using the code from Kelly,

      $helper.renderConfluenceMacro(" {rate:title=Page Rating\|theme=dynamic}")
      

      it doesn't work with the extra parameters, but a simple

      {rate}
      

      works well. Another thing which I realised is that anyone who has edit rights to the page can reset the rating, is there a way to disable this?

      1. Aug 15, 2007

        Alain Moran says:

        I'm not sure why you would want to escape the | in the parameter list, what happ...

        I'm not sure why you would want to escape the | in the parameter list, what happens when you try to give the macro parameters?

        It is not possible at this time to prevent people who can edit the page from resetting the rating data (if they wanted they could just edit the page and change the rate id), please add a feature request to http://jira.adaptavist.com/browse/Rate

        1. Aug 15, 2007

          Devin Marco says:

          Hi alain, Tks for your reply, I've tried again with the parameters and it works...

          Hi alain, Tks for your reply, I've tried again with the parameters and it works. Turns out that the backslash is what causing the problem. I didn't realise that it was there previously. And since I place the macro at the page layout level, editing the page does not give the users access to the rate id. I've added a feature request for this, thanks for creating this useful plugin.

          1. Aug 16, 2007

            Alain Moran says:

            hehe, you need to pull the ceo from the $helper, use it to generate a page conte...

            hehe, you need to pull the ceo from the $helper, use it to generate a page context and use that in your call to the wiki renderer ... there are a few other objects that can go missing from the context too, but that 'should' be enough to allow the rate plugin to function correctly.

            Alternatively, use the Builder theme which does this automatically

  16. Aug 24, 2007

    David Dembo says:

    Small bug with the title parameter: if you specify title=none, it hides the titl...

    Small bug with the title parameter: if you specify title=none, it hides the title - but only until the user clicks one of the options on the macro ('confluence' theme).

    Here's an example of what it looks like after clicking the undo arrow thingo:

    It also seems to do funky things with other themes as well - with the 'dynamic' theme, the word 'none:' appears in bold with a grey background after voting, and then when you click undo it turns into 'none?' un-bolded and with a white background.

    While I'm at it, a suggestion - it'd also be great if there were an optional border parameter to specify a custom hexadecimal value.

    1. Aug 24, 2007

      Alain Moran says:

      Bugs should be reported to the rate jira project, that way they dont get lost in...

      Bugs should be reported to the rate jira project, that way they dont get lost in a mass of comments

      http://jira.adaptavist.com/browse/Rate

      As for the border, you should use css for this.

  17. Sep 18, 2007

    Louise Graham says:

    I have installed the .jar file (found this in the comments section as the Downlo...

    I have installed the .jar file (found this in the comments section as the Download.jar at the top of the page is a zip file with no .jar files contained within!!!!).

    In the plugin manager 1.1 has been installed. When i created and saved a page with

    Unknown macro: {rate}

    . this error appears:

    I need this to work in conjunction with the advance search.

    Any ideas? I need help with this ASAP?

    thanks

    1. Sep 18, 2007

      Alain Moran says:

      The 'zip' file that you downloaded is in fact the jar file, however I guess you ...

      The 'zip' file that you downloaded is in fact the jar file, however I guess you are using Internet Explorer which has a habit of renaming .jar files to .zip.

      Your ideal solution is to first download firefox, and then re-download the jar file .. alternatively you could always rename the zip file back to jar, however you will miss out on the experience of using a secure, standards compliant web-browser.

      Alternatively you could also use the plugin repository to install the latest version of the rate plugin for you

  18. Sep 20, 2007

    Louise Graham says:

    I have added the rate macro. The problem is that the votes are not showing. Afte...

    I have added the rate macro. The problem is that the votes are not showing. After clicking a face icon the vote does not register.

    I will be using this in conjunction with the advanced search macro. Is there a need to change the rateThreashold from 5 votes?

    Thanks

  19. Oct 03, 2007

    Sally Weston says:

    Hi, does this macro work properly in a cluster environment? i.e. does it ta...

    Hi, does this macro work properly in a cluster environment? i.e. does it tally the responses correctly?

     On a different note,  I've contributed to the request to make the reset function optional, I just wondered if there was any news on this please?

     Thanks

    1. Oct 03, 2007

      Alain Moran says:

      The ratings are stored as content properties, so they should work fine within a ...

      The ratings are stored as content properties, so they should work fine within a clustered environment, if you are experiencing problems then please create an issue at http://jira.adaptavist.com/browse/Rate

      There is unlikely to be any progress in the short term on making the reset function optional since we are snowed under with paid-for development work, as a result the freebie changes are taking a back seat.

      If you require the changes to be made in some kind of time-frame then please create an issue on http://support.adaptavist.com in the GSE project detailing the changes you wish us to quote for.

      1. Oct 04, 2007

        Sally Weston says:

        Thanks Alain, I'll create an issue in the GSE project for you to quote against.

        Thanks Alain, I'll create an issue in the GSE project for you to quote against.

  20. Oct 17, 2007

    Paul Meehan says:

    I tried downloading this plugin and it downloads as a .zip file. Is that right? ...

    I tried downloading this plugin and it downloads as a .zip file. Is that right? How do I upload into my Plugin manager?

    1. Oct 17, 2007

      Sally Weston says:

      Hi Paul,  Just rename the file from .zip to .jar - Internet Explorer renam...

      Hi Paul,

       Just rename the file from .zip to .jar - Internet Explorer renames it to .zip on download for some reason.

  21. Dec 17, 2007

    Thom W Gray says:

    Great macro! But a question ... The documentation says that the delete (aka...

    Great macro! But a question ...

    The documentation says that the delete (aka clear or reset) functionality is given only to those who can edit the current page or are global / space administrators. However, everyone seems to have this capability. Is this a bug?

  22. Jan 22, 2008

    Confluence rocks says:

    Rate Macro seems to be broken with confluence 2.7 .  There is JIRA ticket o...

    Rate Macro seems to be broken with confluence 2.7 .  There is JIRA ticket open on the issue. Anyone has any idea how to fix?

     
     

    1. Jan 24, 2008

      Albert.Liptay says:

      There are three changes to make to the existing plugin to get it working under c...

      There are three changes to make to the existing plugin to get it working under confluence 2.7 Here are the broad strokes:

      1. Grab the project from SVN, using this repository url:

      http://svn.atlassian.com/svn/public/contrib/confluence/rate-plugin/tags/1.1.7

      2. Edit the pom.xml, and change the version to 2.7 from 2.5 (dependencies->dependency->version)

      3. In RateManager.java, remove the GlobalPermissionsDelegate class reference, it isn't used and it no longer exists in 2.7

      4. Confluence 2.7 has a more recent version of Lucene. Change the way Lucene's Field class is used in RateExtractor.java :

      Before Snippet:

      document.add(Field.Text(COUNT, String.valueOf(count)));
      document.add(Field.Text(TOTAL, String.valueOf(total)));
      document.add(Field.Text(AVERAGE, String.valueOf(avg)));

      After Snippet:

      document.add(new Field(COUNT,String.valueOf(count), Field.Store.YES, Field.Index.NO_NORMS));
      document.add(new Field(TOTAL,String.valueOf(total), Field.Store.YES, Field.Index.NO_NORMS));
      document.add(new Field(AVERAGE,String.valueOf(avg), Field.Store.YES, Field.Index.NO_NORMS));

      5. Run Maven, and build the jar.

      And that's it. If have more time, I'll post the repackaged version. Happy Rating!

      1. Feb 22, 2008

        Rick Hadsall says:

        Albert, Good catch.  Could you post that repackaged version of 1.1.7? ...

        Albert,

        Good catch.  Could you post that repackaged version of 1.1.7?  It's been a month now and it still isn't fixed - dumping stack traces constantly on my logs.  I don't use Maven so I can't build it myself...

        Much appreciated.

        Rick

      2. Apr 02, 2008

        Manoj Chavda says:

        I'm using Confluence 2.8-m9-r3 from Firefox 2.0.0.13, and needed to update one o...

        I'm using Confluence 2.8-m9-r3 from Firefox 2.0.0.13, and needed to update one of the .vm files to let the rating area render correctly. It rendered fine in IE7, but in Firefox a bullet was being drawn over each of the smileys.

        Locate src\etc\vm\builder\header.vm. I changed the style of .smile-rating li from

            .smile-rating li {
            float: left;
        }
        

        to

            .smile-rating li {
            float: left;
            list-style: none;
        }
        
  23. Mar 11, 2008

    William J. Hazel says:

    I am currently in the process of getting our administrators to add this macro to...

    I am currently in the process of getting our administrators to add this macro to our toolkit. One thing I don't see addressed here is whether or not it can be used to rate more that one thing on a page.

    I am collecting tutorials for Microsoft Office applications and I would like to be able to have end users rate the value of different links:

    Link 1
    Link 2
    Link 3

    Is this possible or the subject of a possible improvement? 

    1. Mar 12, 2008

      Thom W Gray says:

      Yes, this is possible. See the user guide for the Rate macro at http://www.adapt...

      Yes, this is possible. See the user guide for the Rate macro at http://www.adaptavist.com/display/USERGUIDE/rate+macro. Go to the Parameters tab; there you can read up on the keyparameter. Your syntax might look something like this:

      {rate:key=application1}
      {rate:key=application2}
      {rate:key=application3}
      


  24. Mar 12, 2008

    sneha kedar says:

    Hi, I m using confluence 2.2.1 I have installed rate plugin 1.0. but when i use...

    Hi,

    I m using confluence 2.2.1 I have installed rate plugin 1.0. but when i use this syntax

    Unknown macro: {rate}

    it gives following error:-

     please look into the matter soon

  25. Mar 18, 2008

    Imtiaz B Syed says:

    When i try to install the given version of the rate plugin it is throwing an exc...

    When i try to install the given version of the rate plugin it is throwing an exception for Conveyor-Config.xml as follows:

    There were errors loading this plugin. There is more information in the logs.
    rate
    Rate content. All in view Mode. JavaScript + Cookies must be enabled.
    rate-table
    Build tables from rating data.
    rating-report
    Displays links to the highest rated pages
    Rate Data Extractor
    Extracts rating data from a page's metadata and adds them to the search index.
    rateAction
    Error: There was a problem loading the module descriptor: rateAction.
    Error loading configuration file conveyor-config.xml

    Please guide me how to eliminate this error, and what jars will support for this.
     
  26. Mar 24, 2008

    Firat Vakiliev says:

    Hi, I have "Error formatting macro: rate: java.lang.NullPointerException" with r...

    Hi,
    I have "Error formatting macro: rate: java.lang.NullPointerException" with rate macro.
    Confluence ver 2.7.2, rate macro version 1.1.7

    1. Mar 24, 2008

      Matt Bovett says:

      I think they're incompatible at the moment. I saw somebody say somewhere that th...

      I think they're incompatible at the moment. I saw somebody say somewhere that the rate plugin would be fixed in April.

      Alain, is that probably going to be the case?

      1. Mar 25, 2008

        Firat Vakiliev says:

        Well, I`ll wait ...

        Well, I`ll wait ...

    2. Apr 25, 2008

      Natalya Panteleyeva says:

      Firat, no luck with this plugin yet?

      Firat, no luck with this plugin yet?

  27. Apr 23, 2008

    Garnet R. Chaney says:

    Jonathan's email address is misspelled... (See .com.com at the end....) (FWIW:...

    Jonathan's email address is misspelled... (See .com.com at the end....)

    (FWIW: Tried editing, and commenting, and both screens seemed very slow to come up....)

  28. Apr 25, 2008

    Natalya Panteleyeva says:

    Rate macro version 1.1.7 installed on Confluence 2.7.3, but I got an error when ...

    Rate macro version 1.1.7 installed on Confluence 2.7.3, but I got an error when I used the macro reference
    on the homepage:
    Error formatting macro: rate: java.lang.NoClassDefFoundError: com/atlassian/confluence/security/delegate/GlobalPermissionsDelegate

    Is this a problem with the plugin, or the installation is missing a component (dependency problem)? Using ThemeBuilder plugin for layout.

    Thank you very much in advance

    .

    1. Apr 25, 2008

      Firat Vakiliev says:

      Наталья, посмотрите на шесть постов выше и на ответ

      Наталья, посмотрите на шесть постов выше и на ответ

      1. Apr 25, 2008

        Natalya Panteleyeva says:

        Всё ещё ждём? - конец Апреля...

        Всё ещё ждём? - конец Апреля...

        1. Apr 25, 2008

          Firat Vakiliev says:

          Well, this is not the developer replied. Programmers are sleeping I looked at y...

          Well, this is not the developer replied. Programmers are sleeping
          I looked at your confluence http://wiki.dlib.indiana.edu - liked.

          1. Apr 25, 2008

            Natalya Panteleyeva says:

            this is not the instance of confluence I am talking about.

            this is not the instance of confluence I am talking about.

  29. May 14, 2008

    ROULLEAU Gwendal says:

    Hello, The plugin isn't compatible with java 1.4 anymore. In the class RateMan...

    Hello,

    The plugin isn't compatible with java 1.4 anymore.

    In the class RateManagerImpl, you use the method Integer.valueOf, which is not in jdk 1.4.
    If you replace "Integer.valueOf" by "new Integer", it works. I hope this will help others in this case.

    It would be great if you manage to keep compliance with older java version

    Sorry for my poor english,
    Thanks !

  30. May 20, 2008

    Oliver Nölle says:

    I installed the plugin in version 2.0.2on confluence 2.7.3, but it seems to igno...

    I installed the plugin in version 2.0.2on confluence 2.7.3, but it seems to ignore all attributes, that is the following lines

    Unknown macro: {rate}
    Unknown macro: {rate}
    Unknown macro: {rate}
    Unknown macro: {rate}

    get displayed exactly the same (and if I rate for one of them, all four of them get rated, even though the first two should have different keys), neither title nor key nor display does have any impact.

    Is that a known error or incompatibility? (or does the rate macro need any other plugins installed?)

    Thanks for any information, this macro would be really useful for us!

    1. May 20, 2008

      Oliver Nölle says:

      sorry, the formatting deleted my code, I meant: {rate:title=MyRate} {rate:displ...

      sorry, the formatting deleted my code, I meant:

      {rate:title=MyRate}
      {rate:display=results}
      {rate:key=1}
      {rate:key=2}

      1. May 20, 2008

        Alain Moran says:

        I seem to remember Dan mentioning to me that rate v2 does not support multiple r...

        I seem to remember Dan mentioning to me that rate v2 does not support multiple ratings per ceo

      2. May 20, 2008

        Michael Ogrinz says:

        Yes; I'm having the same problem w/ 202 under Confluence 2.8. I certainly hope w...

        Yes; I'm having the same problem w/ 202 under Confluence 2.8. I certainly hope we won't lose the ability to put multiple ratings on a single page!

        {rate:key=application1}
        {rate:key=application2}
        {rate:key=application3}

        ..no longer works. The "key" setting is apparently ignored.

        1. May 20, 2008

          Firat Vakiliev says:

          Many options are ignored, for example, and most important - "display" It is time...

          Many options are ignored, for example, and most important - "display"
          It is time to fix a bug!

  31. Jun 05, 2008

    CC says:

    Dear all,  Using this macro (2.0.2 version) with Confluence 2.7.3 whan I c...

    Dear all,

     Using this macro (2.0.2 version) with Confluence 2.7.3 whan I click to rate I have under IE and FF a never ending rotating please wait :

  32. Jun 11, 2008

    Vincent Kopa says:

    Hi, It seems this plugin has been degraded since the 2.x version... can we even...

    Hi,

    It seems this plugin has been degraded since the 2.x version... can we even use the rate results with a "display" parameter anymore?

    I use the 2.0.2 rate plugin with Confluence 2.8.0, and I cannot use the rate results... Also the rate plugin does not have the same looks
    as those in the screenshots (nor the rollback vote function)...

    Can someone help me display the rate results with the newest version?
    Or is an older (1.1.7) version better for production use at the present time?

    Thanks a lot for your help,

    Vincent

    1. Jun 12, 2008

      Steve Gerstner says:

      The Screenshots seems to be of an older Version (probalby 1.1.7, which is incoma...

      The Screenshots seems to be of an older Version (probalby 1.1.7, which is incomaptible to Confluence 2.7 and above).

      The Plugin looks to be completely build from the  scratch in Version 2. Would be nice to have the smarter Themes form thoe older Versions in Versoin 2 and higher too.

      1. Jun 23, 2008

        Vincent Kopa says:

        Hi, thanks for your reply. The worse is not the theme, but the fact that the ra...

        Hi, thanks for your reply.

        The worse is not the theme, but the fact that the ratings cannot be used in reports because there is no "display" function in the new version...
        We'd like to see the results of the page vote for each article/news... published on our site, but there seems to be no function compatible with the
        current versions of Confluence).

        Is there still some community development on this plugin to get the basic functions to work again?

        To me, rating all the content you visit is really in the web 2.0 philosophy, and I'd like to provide this to all the users of my website.
        Won't this function be integrated (bundled) with a next version of Confluence?

        Vincent

        1. Jun 23, 2008

          Matt Bovett says:

          Search for "rate-search" in the notation help manual that is auto-updated in eve...

          Search for "rate-search" in the notation help manual that is auto-updated in every Confluence wiki.

          You'll find the "rate-search" macro.

          I'm using this for a simple report:

          {rate-search:maxResults=999|spaces=myspace|minRates=1|hideSpace=true}
          

          This shows up to 999 pages from the "myspace" space, as long as the page has a minimum rating of 1. And I'm hiding the display of the space name with hideSpace=true.

          1. Jun 25, 2008

            Vincent Kopa says:

            Thanks for your reply. The report you posted doesn't allow sorting the results ...

            Thanks for your reply.

            The report you posted doesn't allow sorting the results by rate result (they are sorted by number of rates).

            What I'd like is:

            1. To get the Top X results from a space (or multiple spaces)
            2. To be able to simply show the current rating of a page (for example in a report)

            It would be perfect to have a Rate Supplier in the Reporting Plugin, as it would cover all of the needs for ratings (except for local display on a page if we want to avoid using the reporting plugin).

          2. Jun 06

            Patrick Franks says:

            Can you paste in all the parameters for rate-search?  I cannot for the life...

            Can you paste in all the parameters for rate-search?  I cannot for the life of me find the notation help manual you mention to get it myself.  Any help is much appreciated!!!!!

  33. Jul 09, 2008

    Shawn Stepper says:

    What happened?!?! We are upgrading from Confluence 2.4.3 to 2.7.3, and t...

    What happened?!?! We are upgrading from Confluence 2.4.3 to 2.7.3, and the rate macro is completely changed. None of the parameters are supported any more. What happened to backward compatibility??? Am I really going to have to manually go to every page that uses a rate macro and manually change it???

    Please, don't leave us hanging!!!

  34. Jul 14, 2008

    Brian Bukowski says:

    I am using the rate plugin with Confluence version 2.7.  It installed throu...

    I am using the rate plugin with Confluence version 2.7.  It installed through the repository without any errors. 

    When I add a rate macro to a page, and attempt to click on it to add a rating, the browser hangs telling me to

     "Please Wait."


    I've waited for up to 5 minutes and nothing happens.  Does anyone know why this is occuring?

  35. Aug 11, 2008

    Hamish Willee says:

    I'm on confluence 1.6.1, and have installed rate macro v1.1.7. The macro is disp...

    I'm on confluence 1.6.1, and have installed rate macro v1.1.7. The macro is displayed, and "highlights" when the mouse goes over it. However it isn't selectable - you can't actually rate a page.
    This works fine on a local installation, just not the public one.
    Any ideas?
    Regards
    Hamish

    1. Aug 11, 2008

      David Peterson [CustomWare] says:

      Check that the 'Base URL' is set correctly in Administration > General Settin...

      Check that the 'Base URL' is set correctly in Administration > General Settings on your public server. Often when something works locally but not in another server, that URL is not correct, and the extra JavaScript/AJAX code doesn't know where to send its request.

      1. Aug 11, 2008

        Hamish Willee says:

        Hi That doesn't appear to have worked. Does the server need to time to propagate...

        Hi
        That doesn't appear to have worked. Does the server need to time to propagate this change?
        Regards
        H

        1. Aug 11, 2008

          David Peterson [CustomWare] says:

          Not that I'm aware of. It's possible it is a bug in the plugin. However, a coupl...

          Not that I'm aware of. It's possible it is a bug in the plugin. However, a couple of other common things to try are:

          1. Uninstall/reinstall the plugin. Sometimes they cache old configuration settings for efficiency.
          2. Check firewall/proxy settings. Sometimes they can block AJAX calls.

          Beyond that, I'm not sure what might be the issue.

          1. Aug 22, 2008

            Hamish Willee says:

            Hi David I occasionally also get a system error - does this give us any more id...

            Hi David

            I occasionally also get a system error - does this give us any more idea of cause? Note that I recently installed PageInfo macro - so the crash may be related to that, and the fact that this macro isn't working may be unrelated.

            com.opensymphony.xwork.config.ConfigurationException: There is no Action mapped for namespace /plugins/rate and action name rating
             at com.opensymphony.xwork.DefaultActionProxy.(DefaultActionProxy.java:72)

            Stack Trace: [hide] com.opensymphony.xwork.config.ConfigurationException: There is no Action mapped for namespace /plugins/rate and action name rating
            at com.opensymphony.xwork.DefaultActionProxy.(DefaultActionProxy.java:72)
            at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:45)
            at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:227)
            at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
            at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:137)
            at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:161)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
            at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)
            at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140)
            at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:544)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
            at java.lang.Thread.run(Unknown Source)

            Referer URL: https://staging.sdnhost.com/wiki/display/PUBLICFAQ/TS98+-+What+is+justification+for

            Build Information:
            confluence.home: D:\sdn\confluenceHome
            system.uptime: 13 hours, 4 minutes, 45 seconds
            system.version: 2.6.1
            build.number: 916

            Server Information:
            Application Server: Apache Tomcat/5.5.25
            Servlet Version: 2.4
            Database Dialect: net.sf.hibernate.dialect.SQLServerDialect
            Database Driver Name: N/A
            Database Driver Version: N/A

            Memory Information:
            total.memory: 1016 MB
            free.memory: 655 MB
            used.memory: 361 MB

            System Information:
            system.date: Friday, 22 Aug 2008
            system.time: 06:33:19
            system.favourite.colour: Ecru
            java.version: 1.6.0_03
            java.vendor: Sun Microsystems Inc.
            jvm.version: 1.0
            jvm.vendor: Sun Microsystems Inc.
            jvm.implementation.version: 1.6.0_03-b05
            java.runtime: Java(TM) SE Runtime Environment
            java.vm: Java HotSpot(TM) Client VM
            user.name.word: SYSTEM
            user.timezone: Europe/London
            operating.system: Windows 2003 5.2
            os.architecture: x86
            fs.encoding: Cp1252

            Cluster Information:
            Not clustered.

            Enabled Plugins:
            Attachments Macros (confluence.extra.attachments, Version: 2.7)
            JIRA Macros (confluence.extra.jira, Version: 2.1)
            Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.5)
            Archive Extractor (confluence.plugins.extractors.archivecontentextractor, Version: 1.1)
            SDN Services (com.symbian.sdn.onlineusers, Version: N/A)
            Mail Page Plugin (com.atlassian.confluence.ext.mailpage, Version: 1.2)
            Admin Sections (confluence.sections.admin, Version: 1.0)
            Chart Plugin (confluence.extra.chart, Version: 1.8)
            Flash Plugin (org.swift.confluence.flash, Version: 3.0)
            Google Maps Plugin (com.atlassian.confluence.ext.gmaps, Version: 0.5)
            Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 1.5.1)
            Confluence Remote API (confluence.extra.confluencerpc, Version: 2.6.1)
            Page Operations (confluence.sections.page.operations, Version: 1.0)
            Advanced Macros (confluence.macros.advanced, Version: 1.3)
            HTML Macros (confluence.macros.html, Version: 1.3)
            Checklists Macros (com.comalatech.checklists, Version: 1.4.0)
            Adaptavist Rate Macro (com.adaptavist.confluence.rate, Version: 1.1.7)
            Code Macro (confluence.macros.code, Version: 1.4)
            SDN China Theme (com.atlassian.confluence.themes.china, Version: 1.0)
            TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.2.4)
            SDN++ Theme (com.atlassian.confluence.themes.sdnpp, Version: 1.0)
            Page Menus Sections (confluence.pages.menus, Version: 1.0)
            Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1)
            Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.6)
            Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 1.3)
            Excel Plugin (org.swift.confluence.excel, Version: 3.5.0)
            RSS aggregator (com.atlassian.confluence.plugins.rssaggregator, Version: 1.0)
            Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0)
            Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 1.3)
            IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.1)
            WebDAV Plugin (confluence.extra.webdav, Version: 1.2.0)
            SDN Theme (com.atlassian.confluence.themes.sdn, Version: 1.0)
            Space Labels Sections (confluence.sections.space.labels, Version: 1.0)
            Space Actions Sections (confluence.sections.space.actions, Version: 1.0)
            Information Macros (confluence.extra.information, Version: 1.0)
            Live Search Macros (confluence.extra.livesearch, Version: 2.6)
            Global Labels Sections (confluence.sections.labels, Version: 1.0)
            Page View Links (confluence.sections.page.actions, Version: 1.0)
            Adaptavist Advanced Search (com.adaptavist.confluence.advancedSearch, Version: 1.0.4)
            Space Admin Sections (confluence.sections.space.admin, Version: 1.0)
            Core Listeners (confluence.listeners.core, Version: 1.3)
            Approvals Workflow plugin (com.comalatech.workflow, Version: 1.4.1)
            Reporting Plugin (net.customware.confluence.plugin.reporting, Version: 1.3.2)
            Space Item Tabs (confluence.sections.space, Version: 1.0)
            Page Tree (bnpparibas.confluence.pagetree, Version: 1.3)
            Task List Macros (confluence.extra.tasklist, Version: 1.3)
            Content Refactoring Plugin (com.bobsgear.confluence.extra.factor, Version: 1.0.0)
            Space Pages Sections (confluence.sections.space.pages, Version: 1.0)
            Page Information Tools (com.adaptavist.confluence.pageinfo, Version: 1.2.8)
            BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2)
            Page Tabs (confluence.sections.page, Version: 1.0)
            Dynamic Task List Macros (confluence.extra.dynamictasklist, Version: 1.5)
            Attachment Extractors (confluence.extractors.attachments, Version: 1.4)
            Linking Plugin (net.customware.confluence.plugin.linking, Version: 2.4.2)
            German language pack (confluence.languages.de_DE, Version: 1.1)
            French language pack (confluence.languages.fr_FR, Version: 1.5)
            News Tabs (confluence.sections.news, Version: 1.0)
            Basic Macros (confluence.macros.basic, Version: 1.3)
            Core Extractors (confluence.extractors.core, Version: 1.4)
            Core Startup and Shutdown (confluence.lifecycle.core, Version: 1)
            Compatibility Macros (confluence.macros.compatibility, Version: 1.3)
            Dashboard Macros (confluence.macros.dashboard, Version: 1.3)
            Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0)
            Label Tools Plugin (com.adaptavist.confluence.labeltools, Version: 1.1.3)
            Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1)
            User Listener (confluence.extra.userlister, Version: 2.1)
            Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.5)
            Table Plugin (org.swift.confluence.table, Version: 3.3.1)
            Composition Plugin (net.customware.confluence.plugin.composition, Version: 2.3)
            Google Calendar Plugin (net.customware.confluence.plugin.google.calendar, Version: 1.3)
            Tabular Metadata (confluence.extra.masterdetail, Version: 2.7)
            Confluence Usage Stats (com.atlassian.confluence.ext.usage, Version: 0.7.2)
            Layout Macros (confluence.extra.layout, Version: 1.0)
            Profile Tabs (confluence.sections.profile, Version: 1.0)

            Request
            Information:
            URL: https://staging.sdnhost.com/wiki/500page.jsp
            - Scheme: https
            - Server: staging.sdnhost.com
            - Port: 443
            - URI: /wiki/500page.jsp
            - - Context Path: /wiki
            - - Servlet Path: /500page.jsp
            - - Path Info:
            - - Query String: contentId=9831061&rateDir=dynamic&rateKey=quality&rateTitle=Useful?&rating=3
            foofoo

  36. Aug 14, 2008

    Vijayagopal Narayanan says:

    I have numerous pages in my Wiki space. Is there a feature in this macro that wi...

    I have numerous pages in my Wiki space. Is there a feature in this macro that will alow me to add rating to all pages?

    1. Aug 14, 2008

      Hamish Willee says:

      No. One way you might do this is to update the page layout for your space to inc...

      No.
      One way you might do this is to update the page layout for your space to include the macro. I haven't tried this, but I suspect it is possible - anyone know? There is some information on how to update page layouts in the pagetree macro description/adding a left sidebar in the confluence documentation.

      1. Oct 01, 2008

        Dmitry says:

        $helper.renderConfluenceMacro("{rate}") insert it into page layout (decorator...
        $helper.renderConfluenceMacro("{rate}")
        

        insert it into page layout (decorators/page.vmd) through the admin interface.

        Works fine.

        1. Oct 01, 2008

          Hamish Willee says:

          Thanks, but its not that simple. If it were, using Unknown macro: {rate} in my ...

          Thanks, but its not that simple. If it were, using

          Unknown macro: {rate}
          in my pages would work. We're using confluence 2.6.1 and perhaps there are bugs against this version (although irritatingly it works find on a local installation)

        2. Nov 06, 2008

          Tommy Ryan says:

          This works, but it breaks the ability to label a page when viewing the page.&nbs...

          This works, but it breaks the ability to label a page when viewing the page.  You have to edit the page to update the labels (vs. just add/editing labels directly on the page view).  Anyone else seeing this with Confluence 2.9?

  37. Sep 09, 2008

    Alex Gregory says:

    Is the key parameter still not fixed yet?  I wanted to be able to put sever...

    Is the key parameter still not fixed yet?  I wanted to be able to put several on a page like many and its ignoring the value.  Is this macro even actively being worked on by Adaptavist?  I see someone mentioned the problem back in May.

  38. Sep 24, 2008

    Amit Narayanan says:

    Installing adaptavist-plugin-rate-2.0.2.jar into Confluence 2.9 and using the {r...

    Installing adaptavist-plugin-rate-2.0.2.jar into Confluence 2.9 and using the {rate} macro causes this in the logs (and renders nothing in spaces attempting to use the rate macro)

    org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'vm/themes/dynamic/macro.vm'
    

    Unjarring adaptavist-plugin-rate-2.0.2.jar reveals no such file (macro.vm). Attempting to retrofit this file from past versions didn't pan out either since none of the versions I downloaded (2.0.2, 2.0.1, 2.0, 1.1.7 and then ofcoure I gave up) had this file in it.

    Any passers by who've seen this before and squared it away?

    1. Mar 31

      Amit Narayanan says:

      I guess nobody maintains this plugin.  We will just dump it.

      I guess nobody maintains this plugin.  We will just dump it.

  39. Sep 26, 2008

    jeff peichel says:

    forate-search does not generate URLs correctly. Using a simple example such as ...

    forate-search does not generate URLs correctly. Using a simple example such as

    rate-search:maxresults=20|spaces=Test

    The macro returns a list of spaces and page names. The space name links are formatted correctly, but the page names are not:
    space name: https://wiki.seagate.com/confluence/display/Test

    page name: https://wiki.seagate.com/display/Test/New+Folder

    Note that in the page name, the /confluence is missing.

  40. Feb 04

    Manoj says:

    Hi, I have installed the rate macro on confluence 2.7.3. when i use it, theme a...

    Hi,

    I have installed the rate macro on confluence 2.7.3. when i use it, theme and display properties are not working. i get the same rating display,

    {rate:display=results}
    

    above code still allows me to rate. ne idea?


    Manoj

  41. Mar 17

    Marten Vanderheiden says:

    We've installed this on our 2.10.2 and 2.9 versions and it doesn't accept any pa...

    We've installed this on our 2.10.2 and 2.9 versions and it doesn't accept any parameters. The only thing we can do is is the rate part.
    Has this been updated at all recently?

    1. Mar 24

      Michael Jositz says:

      Same here! Is this still maintained? Alternatives?

      Same here! Is this still maintained? Alternatives?

  42. Mar 31

    Matus says:

    Same here!!!

    Same here!!!

  43. Apr 03

    arichter says:

    I have the same problem, but the reason is obvious. Add com.adaptavist.confluenc...

    I have the same problem, but the reason is obvious. Add com.adaptavist.confluence.rate.modules.RateMacro to "Logging and Profiling" and set the debug level to all. You'll find error messages like this in your log file:

    getRenderedTemplate Error occurred rendering template: vm/themes/dynamic/macro.vm
    32792 org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'vm/themes/dynamic/macro.vm'

    and when you have a look at the package you'll notice that vm/themes/ has three subfolders: basic, digg, v2 but no dynamic or builter.

  44. May 05

    Vincent Kopa says:

    Hi, I have put a warning at the head of the description block, so that no one e...

    Hi,

    I have put a warning at the head of the description block, so that no one ever has this bad surprise again...
    This plugin was well developed with the first 2.x versions of Confluence (& rate plugin 1.1.4). It had to be recoded to go to Confluence 2.8+; but was discontinued... so don't expect more than the rate macro on a page; no search, no global results, no dynamic theme etc...

    Vincent

  45. May 12

    Kyle says:

    This is a tough question: I am making an attempt to use Rate to assign weights t...

    This is a tough question: I am making an attempt to use Rate to assign weights to questions on a questionnaire. So Question 1, might be 3 starts (so I need to know how to get the value of this particular rate, keeping in mind there might be a few rates per page), once I have the value, stick it into meta-data calculate or put it in scaffold so I can divided it by a weight (say 0.30).

    How do I extract the data? In the Confluence Plug-in admin panel, I see "Rate Data Extractor" and "Rate Macro Listener", but I don't see any docs on how to utilize them at all. I know for the Listeners, typically, I can call those in Reporting Plug-in, is that possible here?

    (Confluence 2.10.1 , currently utilizing the 2.0.3 Rate plug-in I believe because it was slightly modified to keep the use of the 'key' param that was not apart of the new plugin.

    {rate-table}

    is not avail, but

    {rate-search}

    is, if this matters). Please help as I am looking for a good solution to this business problem. Thanks in advance and major Kudos to the person who knows this.

  46. Jun 10

    Christian Bering says:

    The documentation on this page seems to be out of date? The macro doesn't behave...

    The documentation on this page seems to be out of date? The macro doesn't behave like it is described on this page (specifically parameters doesn't work). An indication on the development and plans for this macro would be nice. The functionality is sorely needed.