顶点网 » 脚本代码 » WoltLab Suite Forum (Burning Board) 5.1.8 - 德国著名PHP论坛WBB
三月 13 2019年

WoltLab Suite Forum (Burning Board) 5.1.8 - 德国著名PHP论坛WBB

reishi  2019-03-13, 09:08   脚本代码  17298  已测试 

论坛简介


Burning Board® is the key to build up and run a successful community. The 4th generation of our established forum software provides an excellent user experiences using the best available technologies. Our structured and efficient administration control panel allows you to manage even the largest communities without great effort and technical knowledge. Benefit from our decades of experience and rely on quality Made in Germany.

一款德国的商业论坛程序,除了论坛具备的基本功能之外,还有博客、文件管理、日历管理、相册管理等功能。


官方地址




下载地址




文件说明


压缩包包含官方WoltLab Suite Filebase 3.1.2插件,可以实现文件管理功能,和XF论坛的资源管理器差不多。


伪静态规则


apache

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
# Rewrite application /blog/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^blog/(.*)$ blog/index.php?$1 [L,QSA]
# Rewrite application /calendar/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^calendar/(.*)$ calendar/index.php?$1 [L,QSA]
# Rewrite application /gallery/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^gallery/(.*)$ gallery/index.php?$1 [L,QSA]
# Rewrite application /filebase/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^filebase/(.*)$ filebase/index.php?$1 [L,QSA]
# Rewrite application /forum/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^forum/(.*)$ forum/index.php?$1 [L,QSA]
# Rewrite application /cms/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^cms/(.*)$ cms/index.php?$1 [L,QSA]
# Rewrite application /core/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^core/(.*)$ core/index.php?$1 [L,QSA]
# Rewrite application /wcf/
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^wcf/(.*)$ wcf/index.php?$1 [L,QSA]
# Rewrite application /
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
</IfModule>



Nginx
location / {
    index index.php;
    
    try_files $uri $uri/ @rewrite;
}
location @rewrite {
    rewrite ^/(forum/|cms/|wcf/|calendar/|filebase/|blog/|gallery/)?([^.]+)$ /$1index.php?$2 last;
}


IIS
web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                    <rule name="WoltLab Suite Blog">
                            <match url="^blog/(.*)$"  />
                            <action type="Rewrite" url="blog/index.php?{R:1}" />
                            <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                            </conditions>
                            </rule>
                            <rule name="WoltLab Suite Calendar">
                               <match url="^calendar/(.*)$"  />
                               <action type="Rewrite" url="calendar/index.php?{R:1}" />
                            <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                            </conditions>
                            </rule>
                            <rule name="WoltLab Suite Gallery">
                            <match url="^gallery/(.*)$"  />
                            <action type="Rewrite" url="gallery/index.php?{R:1}" />
                            <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                               <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                            </conditions>
                            </rule>
                            <rule name="WoltLab Suite Filebase">
                            <match url="^filebase/(.*)$"  />
                            <action type="Rewrite" url="filebase/index.php?{R:1}" />
                            <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                            </conditions>
                            </rule>
                            <rule name="WoltLab Suite Forum">
                            <match url="^forum/(.*)$"  />
                            <action type="Rewrite" url="forum/index.php?{R:1}" />
                            <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                            </conditions>
                            </rule>
                            <rule name="WoltLab Suite Core">
                            <match url="^(cms|wcf)/(.*)$"  />
                            <action type="Rewrite" url="{R:1}/index.php?{R:2}" />
                            <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                            </conditions>
                            </rule>
                            <rule name="User Friendly URLs">
                            <match url="^(.*)" />
                            <action type="Rewrite" url="index.php?{R:1}" />
                            <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                                </conditions>
                            </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>


WoltLab Suite Forum (Burning Board) 5.1.8 - 德国著名PHP论坛WBB


评论(0)

还没有评论,快来抢沙发!

信息

想要留言? 请 登录 您的账号。还没有? 你可以 点击注册账号

投票调查

对新模板的看法