phpBB,如何在旧数据库上创建新的安装点?
我正在构建一个全新版本的网站(当前在 phpBB 和自定义 CMS 上运行)。这次我使用的是Wordpress 和phpBB。当我完成并准备进行转换时,我很难决定如何实际进行。
我希望将 phpBB 数据库保留在原来的位置,然后以某种方式使我的新 phpBB 论坛仅将 phpBB 数据库视为其数据库,而不必进行某种导出/导入。
我可以复制旧论坛的配置文件并将其粘贴到新论坛吗?我希望这是无缝的,我希望我的用户知道/看到的唯一一件事就是他们的网站上神奇地有这个新皮肤。我不希望他们必须重新注册或类似的事情。
这可能吗?
I'm building a completely new version of my website (currently runs on phpBB and a custom CMS). I'm using Wordpress and phpBB this time. When I'm done and ready to make the switch, I'm having trouble deciding how to actually do it.
I'd love to just leave the phpBB database exactly where it is and then somehow make my new phpBB forums just consider that phpBB database its database instead of having to do some sort of export/import.
Can I just copy the config file of the old forum and paste it into the new forum? I want this to be seamless and I want the only thing my users know about/see is just that there is magically this new skin on their site. I don't want them to have to re-register or anything like that.
Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您的新 phpbb 位置的版本相同,并且您保留在相同的服务器和域上,您所要做的就是将旧论坛的 config.php 文件复制到新论坛位置,覆盖默认值。如果您的论坛路径在新论坛实例中不同,则您必须手动进入 phpbb_config 表并更改 script_path 配置键值。但请注意,如果您使用标准 phpbb zip 文件,您之前对旧论坛源代码所做的任何修改都不会显示在新位置,因此您必须手动应用所有这些修改。
皮特
Assuming that the version of your new phpbb location is the same and you remain on the same server and domain, all you would have to do is to copy the config.php file of the old forum into the new forum location, overwriting the default. If your path to the forum is different in the new forum instance, you will then have to manually go into phpbb_config table and change the script_path configuration key value. Please note however that any modifications you had previously made to the source code of the old forum would not show in the new location if you are using standard phpbb zip file, so you will have to manually apply all of those.
Pete