vbulletin - 如何将 vbulletin 的主页更改为论坛而不是默认页面(CMS 或 Activity Stream)?

标签 vbulletin

我使用 vbulletin 创建了一个网站,我在管理中安装了 CMS 和博客模块,我的默认设置是论坛,但是当我们输入主页 url 时,它会将我重定向到 http://www.demo.com/content/ 内容是我的cms页面 请帮忙

最佳答案

适用于 vBulletin 版本 < 4.2。
您需要修改位于 vBulletin 目录顶层的论坛索引页面。根据您问题中的 URL,它是这个文件:
http://www.demo.com/index.php

这是该文件的内容,您可以选择CMS或论坛是默认主页。

/**
 * You can choose the default script here.  Uncomment the appropriate line
 * to set the default script.  Note: Only uncomment one of these, you must
 * add // to comment out the script(s) that you DO NOT want to use as your
 * default script.
 *
 * You can choose the default script even if you do not plan to move this
 * file to the root of your website.
 */

/**
 * Use the CMS as the default script:
 */

require('content.php');


/**
 * Use the forum as the default script:
 */

// require('forum.php');

适用于 vBulletin 版本 >= 4.2。
有一个新的“导航管理器”。您可以在这里找到控制设置:
管理控制面板 -> 设置 -> 导航管理器

找到“论坛”选项卡所在的行。
该行的右侧是一个下拉选择器,单击“设置默认值”(之后您可能需要单击“执行”按钮)。

将出现“更改站点默认值”面板。
验证“论坛”选项卡是否为“建议的默认值”,并且“确认更改”选择了"is",然后单击“保存”。

论坛主页现在是论坛列表。

关于vbulletin - 如何将 vbulletin 的主页更改为论坛而不是默认页面(CMS 或 Activity Stream)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11050124/

相关文章:

c# - 如何用C#登录vbulletin论坛?

php - 导致 fatal error : Call to undefined function mysqli_report()? 的原因

html - vbulletin 论坛的 css 问题

php - 如何编写一个 SQL 查询来计算每月和每年的行数?

php - 编辑 vBulletin 数据库对站点没有影响

php - 为什么我会返回重复的结果?

c# - 跟踪更改并从 Mysql -> MSSQL 进行更改的最佳方法

html - 在 body 上填充

jquery - jQuery 中的切换错误

php - 如何读取 Dc :creator tag in xml?