如何将 vBulletin 功能集成到外部站点
我正在构建一个网站,客户希望将 vBulletin(博客、论坛)的功能集成到该网站中。仅仅将站点皮肤添加到 vBulletin 是不够的。有办法做到这一点吗?
我希望有关于如何(如果可能的话)做这样的事情的文档,但还没有找到任何东西。
我不想直接连接和查询 vBulletin 数据库。
I have a web site I'm building and the client wants to have features from vBulletin (blog, forums) integrated into the site. Its not enough to simply add the sites skin to vBulletin. Is there a way to do this?
I would expect there to be documentation on how, if it is possible, to do such a thing but haven't been able to find anything.
I'd rather not connect and query the vBulletin database directly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
经过大量研究(参见:诅咒),我发现 external.php 和 blog_external.php 可以做我想要的事情,尽管不如我想要的那么优雅。
因此,如果您想将论坛主题合并到您的网页中,那么 external.php 就是您所需要的。它似乎更加可定制,因为您可以将其输出为 JavaScript、XML、RSS 和 RSS Enclosure(播客)。
如果您想合并博客文章,您似乎只能使用 RSS。就像我说的,不太理想,但至少是这样。
这里有更多信息: http://www.vbulletin.com/docs/html/vboptions_group_external< /a>
After much research (see: cursing) I've found that external.php and blog_external.php do what I want though not quite as elegantly as I would like.
So if you want to incorporate forum threads into your web page then external.php is what you need. It appears to be a bit more customizable in that you can have it output in JavaScript, XML, RSS, and RSS Enclosure (podcasting).
If you want to incorporate blog posts you appear to be limited to RSS only. Like I said, less than ideal but at least its something.
There is more information here: http://www.vbulletin.com/docs/html/vboptions_group_external
目前还没有合适的 API 来实现这一点,因此您要么必须依赖 RSS 之类的东西,要么直接查询数据库。 RSS 不会为您提供旧数据,也不会提供任何论坛结构等,而只是新数据的基础知识。
There is no proper API for this yet, so you'd either have to rely on things like RSS, or query the database directly. RSS won't get you old data, nor any forum structures, etc. just basics of new data.