# 如何为普通用户渲染评论

**URL:** <https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004>\
**Category:** Development\
**Created:** [2024年八月29日 16:12 UTC](https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004 "2024-08-29T16:12:54Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Harshit\_Dave](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/harshit_dave/32/379059_2.png) [@Harshit\_Dave](https://meta.discourse.org/u/Harshit_Dave)\
**Post date:** [2024年八月30日 14:42 UTC](https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004/9 "2024-08-30T14:42:30Z")

</div>

目前，我在一个关于评论链接的博客中找到了一个解决方法，将其添加到这里，以便将来需要时任何人都可以使用。虽然这并非我所期望的，但至少我可以在社区部分添加链接。我想将其显示在主社区部分，就在“更多”按钮的上方。

> [@Link sidebar buttons and scripts](https://meta.discourse.org/t/link-sidebar-buttons-and-scripts/313541/5?u=harshit_dave):
>
> \<script type="text/discourse-plugin" version="0.8"\> api.addCommunitySectionLink({ name: "install", route: "/install", title: "install", text: "install", icon: "download" }); \</script\> I tried to add the above code to the sidebar’s view, but it did not work, so I wrote it in the format below, referring to the existing path. However, when the button appears and I press it, the script does not seem to work properly. Oddly enough, the script works when I pres…

---

_[View the full topic](https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004)._
