How to check Topic views on mobile?

How to check the Topic Pageviews in mobile when we don’t have any replies?

The topic views can be seen below the OP in every topic:

2 个赞

1 个赞

Yes, that’s true, the gray bar below from my screenshot doesn’t appear until the topic has a response.

Any possibilities to enable the views without responses?

1 个赞

I hope there was some data query to check a particular topic views (when topic doesn’t have any replies).

Since posts can have diff views, is there some way to check individual post views also?

FYI Topic List Previews plugin can include that data in the Topic List on mobile (so you don’t even have to navigate to the Topic). It doesn’t require any additional posts than the OP.

3 个赞

因为这个被顶上来了……

这部分应放在 head 中:

<script type="text/discourse-plugin" version="0.8">
  api.includePostAttributes('topicMap');
</script>

就是这样。

是的,我从这里复制的,但因为我不记得最初是谁给了这个代码片段,所以我无法链接到原始出处。

编辑:

这是一个主题,还有其他主题:

1 个赞

此主题中的 Don 还有一些额外的详细信息: :+1: