[TH] Thread Rating [Deleted]

A bug:
When you get an alert for a rating then you land on a pagfe with the url: /view-ratings
When you want to go to the full thread from there the only link to the thread is the breadcrumb, but that is a dead link. It links to:
https://site.com/posts/
Which is very bad SEO.
Thank you for reporting this, I have gone ahead and added it to our GitHub Issue Tracker.
 
Can I easily change the template to add a microdata?

I need only ratings (without more functions like comment to review), but I need to add something like this:

Code:
<div itemscope itemtype="http://data-vocabulary.org/Review-aggregate">
  <span itemprop="itemreviewed">Example Topic</span>
  <span itemprop="rating" itemscope itemtype="http://data-vocabulary.org/Rating">
    <span itemprop="average">9</span>
    out of <span itemprop="best">10</span>
  </span>
  based on <span itemprop="votes">24</span> ratings.
  <span itemprop="count">5</span> user reviews.
</div>

More info:
http://linter.structured-data.org/examples/google-rs/Aggregate-Reviews/

Test structured data:
https://search.google.com/structured-data/testing-tool

This greatly improves SEO and CTR ;)
 
Something like this may work:

Code:
<div itemscope itemtype="http://data-vocabulary.org/Review-aggregate" style="display: none">
  <span itemprop="itemreviewed">{$thread.title}</span>
  <span itemprop="rating" itemscope itemtype="http://data-vocabulary.org/Rating">
    <span itemprop="average">{$thread.rating_avg}</span>
    out of <span itemprop="best">5</span>
  </span>
  based on <span itemprop="votes">{$thread.rating_count}</span> ratings.
</div>

Tested it with Google's structured data testing tool, and it seemed happy, but haven't tested it on an actual site :)
 
  • Like
Reactions: CNK
I bought this addon. Unfortunately, the guests do not see the ratings so therefore also Google do not see this :(

How can I set view of ratings to not logged users?

Will you update this addon to XF2?
 
Last edited:
I bought this addon. Unfortunately, the guests do not see the ratings so therefore also Google do not see this :(



How can I set view of ratings to not logged users?



Will you update this addon to XF2?

Hiya, I believe it is based on usergroup permissions. I am not sure if we will offer an add-on that relates to this in XF2, but we will keep everyone updated on this.

So if you can't fix it, I only want to get my money back.. :/

So sorry for the troubles, I've gone ahead and sent you a private message on this.
 
Post Reactions are a different animal than Thread Reviews.

I hope that a good developer will create a quality addon for this. We will not upgrade to XF2 without it.
 
To be clear, we won't be building this for XenForo 2 organically. Any replies we may miss as we're no longer going to follow this thread.
 
Top Bottom