Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 8, 20195 yr Hey, I would like to get a preview of the topic assessment in the themes view in the work. Something like it is here: I wanted to code add to a "topicRow" bit: {template="rating" app="core" group="front" params="$row->author(), 'tiny'"} But it does not work. How can I get this effect? What determines the visibility of the rating in the search results?
May 8, 20195 yr Files and records have ratings while topics have no ratings, so you can't show any stars in the topic overview page. The data in the google results are from our markup which provides these data https://developers.google.com/search/docs/data-types/review-snippet?hl=en
May 8, 20195 yr Hello, 1 hour ago, krystek1s2k said: I wanted to code add to a "topicRow" bit: {{if $row->container()->forum_allow_rating}} {template="rating" group="global" location="front" app="core" params="'tiny', $row->averageRating()"} {{endif}} But this will generate 1 additional query per topic 17 minutes ago, Daniel F said: Files and records have ratings while topics have no ratings, so you can't show any stars in the topic overview page. The data in the google results are from our markup which provides these data https://developers.google.com/search/docs/data-types/review-snippet?hl=en Topics also have ratings
May 8, 20195 yr There was a plugin in marketplace for this. Not sure if it’s still there. EDIT: Found it:
May 8, 20195 yr Author @Daniel F @newbie LAC Thanks. I have already chosen the topic assessment option since the beginning of the forum creation. Despite this, there is still no rating in the google search engine.
May 8, 20195 yr 1 hour ago, Daniel F said: while topics have no ratings, BTW Why you didn't add 'rating_total' => 'topic_rating_total', 'rating_hits' => 'topic_rating_hits', in $databaseColumnMap? I see 2 columns in the forums_topics table but you don't use them. Also \applications\forums\Application.php case 'rating': $clause = array( 'ROUND(topic_rating_total/topic_rating_hits)' . $rule['archive_value'] . '?', $rule['archive_text'] ); So this rule will not work
May 8, 20195 yr 59 minutes ago, krystek1s2k said: I have already chosen the topic assessment option since the beginning of the forum creation. Despite this, there is still no rating in the google search engine. Maybe you should to wait or ask Google https://support.google.com/webmasters/answer/6065812?hl=en 1 review 4 stars but
May 8, 20195 yr 1 hour ago, krystek1s2k said: Despite this, there is still no rating in the google search engine. Even if your technical setup is correct (which you can check with Google’s snippets tool), you still can’t force Google to show it. They might show it if they think it is valuable.
Archived
This topic is now archived and is closed to further replies.