今天本计划升级论坛的 vbulletin 3.8.x 到 4.0.3,本地测试后发现 v4 的变动比较大。细节上的变动比较多,每个新功能都比较吸引人,其中包括与一个不存在的 Facebook 的帐号的集成 — 允许本地用户与Facebook上的帐号关联。

另一个比较明显的变动就是自带的几种SEO模块与3.8不怎么兼容,不知 vbseo 3.x 能否兼容这个新版本,有空时再做进一步的测试,升级在所难免!

允许用户创建Blog的功能也不错,便于用户收集自己感兴趣的Topic,但似乎对 Spammer 考虑的不周到,如果滥用,管理上会有些不便。

在全局的URL设置上,VB把帖子,论坛,博客分成独立的项显示,这种改变,让人耳目一新。

vBulletin 4.0.3 的 .htaccess 文件如下文:

RewriteEngine on

# If you are having problems or are using VirtualDocumentRoot,
# uncomment this line and set it to your vBulletin directory.
# RewriteBase /forum/

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
ReWriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2011 网络杂谈 | 020i.com Suffusion theme by Sayontan Sinha