DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
topRatings¶
Property: | Data type: | Description: | Default: |
---|---|---|---|
topRatingsMode | options] | Show top ratings for likes, votes or both together [likes=0,votes=1,both by rating=2,both by likes=3 (P – General, Top ratings – Show top ratings for) |
2 |
RatingsDays | int+ | Number of days for top ratings: How many days should be checked for top ratings (P – General, Top ratings – Number of past days for top ratings) | 30 |
RatedItemsListCount | int+ | Items in list for top ratings: How many should be shown in top ratings (P – General, Top ratings – Number of top ratings) | 10 |
NumberOfVotesRequired | int+ | Number of votes required to appear in top ratings, minimum is 1 vote (P – General, Top ratings – minimum of votes required) | 3 |
TextCropLength | int+ | Number of characters after a top ratings text is cropped. 10 - 250 | 100 |
Options from setup.txt | |||
---|---|---|---|
topRatingsrestrictToExternalPrefix | options | All=0 or empty, Only comments=comments, Only content=content, Custom prefix=custom (P – General, Top ratings – Restrict to triggering prefix for top ratings) | 0 |
topRatingsExternalPrefix | int+ | Uid of the entry in plugin-to-table-map (P – General, Top ratings – Custom triggering prefix for top ratings ) | |
topratingsimagesize | int+ | Size of the image for links from the top ratings in pixel | 54 |
topratingsnumberwidth | int+ | With of the ranking-field in the list in pixel | 20 |
topRatingsOriginalLangDisplay | boolean | If displaying items in an alternative language, setting this option to 1 will make display of title, image and dates from the original language version of the item, not the translated version. The item long text (description) will still be displayed in the alternative language, if present. | 0 |
AlignResultsWithMaxVotesAndAvgVote | boolean | If set to 1, then the calculation of top ratings change: Top ratings with number of votes lower than the maximum found are given additional votes such all have the same number of votes. The average value added is the average value of all votes found in current configuration (days back and minimum votes required) (P – General, Top ratings – Align results with the result with most votes) | 0 |
showMinimumVotesinTitle | boolean | Show text for minimum of votes required in the title of the plugin | 0 |
showAlignCommentinTitle | boolean | If AlignResultsWithMaxVotesAndAvgVote is enabled, show text how the votes are aligned to the same level of votes. | 0 |
showCountTopViewsLastView | boolean | Enable last viewed date | 1 |
RatedItemSeparatedDate | boolean | Show a separator before the date of a rated item (V 9.1.0) | 1 |
RatedItemShowDate | boolean | Show date of a rated item (V 9.1.0) | 1 |