
內容簡介
「Commenter Ignore Button (CIB)」插件讓使用者可以把一個或多個留言者「關進冷宮」。這是許多部落格和討論區的使用者所要求的功能,在這些場所,留言區常常被惡意留言者破壞,網站管理員希望保持討論的開放性,或者不想涉入管理問題。一旦使用者知道有這個功能,那些只是想引起注意的人可能會變得更禮貌或移轉到其他網站,而常規留言者和潛水者可能會更願意參與討論。
如上面的視頻所示,此外掛會在適當的 WordPress 安裝中的所有留言中(參見下面的注意事項)添加一個(可自定義)按鈕。點擊它會使選定的留言者所有留言內容消失。該效果立即應用,也可以立即撤銷和切換回來。對於絕大多數使用者 - 启用 cookie 並且使用同一浏览器返回的使用者 - “關注”指定将在多个会话中保持。
自訂選項包括四個自动按鈕位置之一的选择,以及通過模板文件或主題函数的放置方式。默認樣式旨在不引人注目,但網站管理員可以從設置頁面添加 CSS 以調整按鈕外觀和效果。還提供了過濾器勾子來幫助高級使用者進一步自定義輸出。
CIB還帶有一個模板標籤,可提供使用者對其忽略的人員列表。對於沒有任何被忽略的人 - 大多數網站上的預設情況 - 標記可配置為方便地總結並鏈接到您的網站的留言政策的便利位置。
此外,CIB 還具备翻譯就緒功能。
請注意,CIB設計用於符合標准的WordPress留言板。
CIB已經編寫成與標准WordPress留言板和幾種常見變化一起“開箱即用”。测试发现,在96个“热门”,“特色”和自定义WordPress主题中,该默认设置均正常工作,有少数情况可能需要进行最少量的调整,而不需要使用自定义CSS或PHP。但是,CIB不適用於第三方評論系統,例如Disqus或Facebook評論。
儘管 CIB 也可以適應修改的評論模板,但是您的主題和評論插件與典型的最新WordPress越不同,您需要進行的調整就越多。
此外……這是一個全新的插件,所以請多加包容!
歡迎所有意見反饋。如果您有問題,請在支持論壇中提出問題,不要在使用掉您唯一的評分機會之前。
如果您喜歡這個插件,請留下評論以鼓勵開發並協助建立一個更周到的互聯網!
更多使用提示和參考資料,請參見 CIB 首頁。
尚未實現的功能:
1.註冊用戶功能/特權
2.與“留言者高亮顯示”和“留言者歸檔”整合(即將推出)
3.同时报告具有冒犯性或滥用性的评论。
4.与完整的评论插件“Commentariat Suite”的WordPress插件集成。
感謝所有發展人員和日常代碼黑客以及其他无法一一列举的人,他们對我的工作有很大帮助。 特别感谢 Vikram。
外掛標籤
開發者團隊
原文外掛簡介
Commenter Ignore Button (CIB) lets a user put one or more commenters “on ignore.” To have such an option enabled is a frequent request at blogs and other sites where comment threads are plagued by trolls or other problematic commenters, but where site operators prefer to err on the side of open discussion – or don’t want to get involved unless they really have to. Once users become generally aware of the option, people just seeking attention may either be more polite or move somewhere else, while regular commenters – and lurkers – may become more willing to engage.
As depicted in the above video, the plug-in will add a (customizable) button to all comments (in suitable WordPress installations – see note below). Clicking it will cause all comment content by the selected commenter to disappear. The effect is applied instantly, and also can be immediately reversed and toggled back again. For the overwhelming majority of users – those who have cookies enabled and who return using the same browser – the “on ignore” designation will persist across multiple sessions.
Customization options include a choice of any of four automatic button positions, and also of placement via template files or theme function. The default styling is meant to be non-obtrusive, but site operators can add CSS from the settings page to adjust button appearance and effects. Filter hooks have also been provided to help advanced users customize output further.
CIB also comes with a template tag that can provide a list of whomever a user has on ignore. For visitors who do not have anyone on ignore – presumably the majority at most sites – the tag can be configured as a convenient location for summarizing and linking to your site’s commenting policy.
Additional usage tips and references can be found via the CIB home page.
CIB is also translation-ready.
Note that CIB is designed for standards-compliant WordPress comment threads.
CIB has been written to work “out of the box” with standard WordPress comments and several common variations. In testing, the default setting worked as intended, in a a few cases after minimal adjustments without custom CSS or PHP, with 96 out of 100 “Popular,” “Featured,” and custom WordPress themes. CIB is not suitable for 3rd Party commenting systems like Disqus or Facebook Comments, however.
More generally, though CIB can also be adapted to modified commenting templates, the further that your theme and commenting plug-ins diverge from typical, up-to-date WordPress, the more adjustments you may have to make.
…also
This is a brand-new plugin, so… please be kind!
All feedback is welcome. If you have a problem, please ask a question in the support forum before using up your one and only chance to rate this work.
If you like this plugin, please leave a review to encourage development and to help create, site by site, a more thoughtful internet!
Additional Info
Still to Come
Registered User Functions/Privileges
Integration with Commenter Highlight and Commenter Archives (both forthcoming)
Simultaneously report offensive or abusive comments.
Integration with a full “Commentariat Suite” of WordPress plugins.
Thanks!
…to all of the developers and everyday code-hackers, far too numerous to name, upon whose work I have depended. Special thanks to Vikram Bath, who provided invaluable feedback during the development process.
