News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

jDownloads Rating Issue

Started by IngoLammers, 17.09.2026 09:50:01

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

IngoLammers

Hello,

I currently have an issue with the star rating system in jDownloads.

The existing average rating is no longer displayed directly on the individual download pages, even though ratings for these downloads exist.

However, in jDownloads lists such as "Top Rated", the ratings and average values are displayed correctly.

So the ratings are definitely stored and can generally be retrieved. The problem only occurs when displaying the existing average rating directly on the individual download page.

Is this a known issue, or is there any indication of what could cause this different behavior?

  •  

ColinM

Hi
To show the ratings with each Download you need to have a line such as:
<div class="jd_rating" style="">{rating}</div>
in the Download and Download Details layouts you are using.
Another common arrangement in a layout is:
            <div class="jd_field_row" style="width:100%">
                 <span class="jd_field_title">{rating_title}</span>
                 <span class="jd_field_value jd_rating_field" style="">{rating}</span>
            </div>

See the article 'Rating Downloads' in the FAQ section of the Documentation
https://www.jdownloads.net/documentation?view=article&id=86:rating-downloads&catid=27

Colin
PS the 4.1 layouts do not seem to support ratings
Colin M
  •  

IngoLammers

The {rating} placeholder is already present in my Download Details layout, using exactly the structure you suggested:

<span class="jd_field_value jd_rating_field">{rating}</span>

The rating output is generated and the number of votes is displayed correctly, e.g. (2 votes). The five voting links (one-star to five-stars) are also generated.

However, the HTML element for the existing/current average rating (current-rating) does not appear to be generated. Therefore, the stored average rating is not visually displayed in the download details, although the votes exist and are correctly shown in lists such as "Top Rated".

Could this be related to the rating output in the current jDownloads version rather than the layout itself?
  •