Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
aXenDev Posted May 8, 2019 Posted May 8, 2019 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?
Daniel F Posted May 8, 2019 Posted May 8, 2019 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
newbie LAC Posted May 8, 2019 Posted May 8, 2019 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
Adriano Faria Posted May 8, 2019 Posted May 8, 2019 There was a plugin in marketplace for this. Not sure if it’s still there. EDIT: Found it:
aXenDev Posted May 8, 2019 Author Posted May 8, 2019 @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.
newbie LAC Posted May 8, 2019 Posted May 8, 2019 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
newbie LAC Posted May 8, 2019 Posted May 8, 2019 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
opentype Posted May 8, 2019 Posted May 8, 2019 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.