如何使用 PHP、Javascript 和 Java 创建站点范围内的群聊可与 Wordpress 配合使用的 CSS
只是不知道从哪里开始。我想要类似于 http://www.shadowness.com/ 上的聊天框或群聊的功能在 Facebook 或 Gmail 上。
我可以自己设置 CSS 样式,而 javascript 没问题。我需要某种开始的 php 脚本来构建。我在哪里可以找到一个,或者我如何进行基本的页脚聊天?它不需要任何花哨的功能,只需要表情符号,并显示谁在线。我可能可以制作一个聊天页面,但我不知道如何让它与登录的 WordPress 用户一起使用。
感谢您的帮助。这是我在一周左右的时间内可以真正实现的目标吗?
Just not sure where to start. I'd like something similar to the chat box on http://www.shadowness.com/ or group chat on Facebook or Gmail.
I can style the css myself, and the javascript no problem. I need some sort of beginning php script to build off of. Where could I find one, or how would I go about making a basic footer chat? It doesn't need any fancy features, just emoticons, and show who's online. I could probably make a chat page, but I have no idea how to get it to work with wordpress logged in users.
Thanks for the help. Would this be something I could realistically achieve in a week or so?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会看一下 Comet & PHP:如何将Comet与PHP聊天系统一起使用?但是您应该知道,在制作聊天系统时必须考虑很多事情,最重要的是您使用的系统。有很多基于彗星系统的插件 - 这里有一篇关于这个概念的好文章: http://www.zeitoun.net/articles/comet_and_php/start
我建议使用插件来完成繁重的工作,因为根据我的经验,你需要大量的时间和大量的努力实现一个像您所描述的那样的聊天系统。
I would take a look at Comet & PHP: How to use Comet with a PHP Chat System? but you should know that there are a number of things you must consider when making a chat system, most importantly the system you use. There are plenty of plugins out there for this that are based on a comet system - here is a good article on the concept: http://www.zeitoun.net/articles/comet_and_php/start
I would advise going with a plugin to do the heavy lifting, because in my experience you need a lot of time and a lot of effort to implement a chat system like the one you have described.