MyBB Community Forums

Full Version: AggregateRating (markup: schema.org) - Missing: best or worst rating
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. I have 2800 errors in webmaster tools - Structured Data.

AggregateRating (markup: schema.org) - "Missing: best or worst rating"

forum/thread-....html - item with errors 1 - Last detected 10/17/18 - Errors Missing: best or worst rating

See sample after "Test Live Data" - https://imgur.com/a/mlFRIYI

(I use a premium theme by Netpen)

I looked everywhere around for a fix, no AggregateRating errors around similar to me.

Can I get some help ? Looks like the error is where there is no review.

(i tested one of the forum posts with error. i rated and added a star, then error dissapeared.
can't update with stars all forum posts, are too many :/
i notice this error appeared starting september, I don't remember what else I updated)

Thank you.
Ask your theme author about this. MyBB does not incorporate structured data.
I think theme incorporates rating.

I go to
Forum Display Options
Use Thread Ratings?
Allow users to rate threads?
set YES / NO.

There is rating... I saved NO and instead of 3 errors now I have 2 per thread.

mean that theme added this ?

<div itemscope itemtype="https://schema.org/AggregateRating" style="display:none !important;"><div><span itemprop="itemReviewed">...................</span><span itemprop="ratingValue"></span><span itemprop="ratingCount">0</span></div></div>

? so I have to find where are located the code and remove?

Update:

I still have - Use Thread Ratings? Allow users to rate threads? YES.

But I deleted from Show Thread Templates - showthread

this code I had

</body><div itemscope itemtype="https://schema.org/AggregateRating" style="display:none !important;"><div><span itemprop="itemReviewed">{$thread['subject']}</span><span itemprop="ratingValue">{$thread['averagerating']}
</span><span itemprop="ratingCount">{$thread['numratings']}</span></div></div>
<script async defer data-pin-hover="true" data-pin-tall="true" data-pin-save="true" src="//assets.pinterest.com/js/pinit.js"></script>

</html>

and no more errors in Structured Data when testing a link with errors previously.

Thank you for hints.