有没有不需要javascript的博客网站评论系统?
我一直在为我的博客网站寻找合适的评论系统。我使用 php 和 mysql 从头开始构建我的博客引擎,不使用 wordpress、joomla 或类似的东西。我希望即使用户禁用了 javascript,评论系统也能正常运行。
我之前看过 Disqus,但事实证明我需要在现有代码中嵌入 Disqus 生成的一些 javascript 文件,我认为这意味着如果关闭 javascript,评论部分将不可用。看起来其他一些使用 Disqus 的网站在关闭 javascript 时也会出现此问题。
如今,忽略关闭 javascript 的用户/不懂技术的不知道如何打开 javascript 的人是否很常见?
I have been looking for a proper comment system for my blogging site. I built my blog engine from scratch using php and mysql and do not use wordpress, joomla, or anything like it. I want the comment system to be functional even if a user has javascript disabled.
I was previously looking at Disqus, but it turns out that I am required to embed some javascript files produced by Disqus in my existing code, which I assume means that the comment section will be unavailable if javascript is turned off. It looks like some other websites that use Disqus have this problem when javascript is turned off.
Is it common nowadays to ignore users who turn off javascript/non-tech-savvy people who do not know how to turn javascript on?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我理解你的恐惧,但我也自己建立了一个评论系统。甚至还得到了线程化的评论。实际上,只需用用户名、电子邮件和评论填写
表单
,然后在数据库中为其分配时间戳和 ID 即可。对于垃圾邮件防护,您可以使用:评论的最大困难不是格式,而是垃圾邮件。
I understand your trepidation, but I've slapped together a commenting system on my own also. Even got threaded comments to work. Really, it's just a matter of filling a
form
with username, email and the comment, then assigning it a timestamp and ID in your database. For spam protection you can use:The biggest difficulty with commenting is not the format, it's the spam.
那么,为什么不推出您的自定义评论系统呢?毕竟,您已经创建了自己的自定义博客引擎:)。
或
使用phpBB
Well, why not roll out your custom comment system? After all, you've created your own custom blog engine :).
OR
Use phpBB
这实际上可以非常容易地完成,您只需使用良好的 ol' 表单帖子...
http://www.javascript-coder.com/html-form/html-form-tutorial-p1.phtml
现在如果没有 javascript 它不会那么性感,但它'会完成工作的。
It can be done very easily really, you just have to use good ol' form posts ...
http://www.javascript-coder.com/html-form/html-form-tutorial-p1.phtml
Now it won't be as sexy without javascript but it'll get the job done.