问题描述
我为我的聊天应用程序创建了一个数据库,例如,在用户"表上有更多字段.我该如何在openfire中实现它?
I created a database for my chat application, which has, for example, more fields on the "user" table. How can I implement it in openfire?
我已经将openfire连接到服务器上的mysql外部数据库.
I've already connected openfire to a mysql external database on my server.
谢谢.
推荐答案
您是否尝试过使用 vCard ?
当然,如果您将Openfire实例与 LDAP 服务器,您可以使用vCard检索其他用户字段(组织单位,电话号码...).
Surely if you connect your Openfire instance with an LDAP server you can retrieve other user fields (Organization unit, phone number, ...) using vCard.
也许这种方法也适用于Openfire中集成的自定义数据库;还要检查似乎暗示这样的帖子:
Maybe this approach could work also for custom database integrated in Openfire; check also this posts which seem to suggest so:
这篇关于Openfire帮助.自定义数据库(表,字段)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!