查看完整版本: vbMediaWiki媒介整合
我目前正在使用这个mod
vbulletin.org/forum/showthread.php?t=247279
它似乎并不兼容,因为当我试图浏览到这个网页与vBET
mysite/forum/de/wiki
它返回“找不到网页”
通常的wiki页面,必须使用此URL的访问
mysite/forum/wiki
任何htaccess文件修改需要被修复?
请向我们展示您的实际。htaccess规则,指向那些vbMediaWiki(如有)。
这里就是我的一切
#===VBSEO
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /forum/
#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
### VBET
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/index.php [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
## END VBET
### VBSEO
#RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
我只是检查你给的链接:
YOURFORUM_DOMAIN/forum/wiki
它也不起作用。请首先提起诉讼,按付款当日价格计算的是在所有的工作,或给予适当的URL来访问其网页。
我只是检查你给的链接:
YOURFORUM_DOMAIN/forum/wiki
它也不起作用。请首先提起诉讼,按付款当日价格计算的是在所有的工作,或给予适当的URL来访问其网页。
对不起,我告诉你错误的URL,实际上它应该是不MYDOMAIN MYDOMAIN /维基/论坛/维基
所以一切都清楚了吧:)你必须整合此处所述:如何翻译论坛目录以外的页面? (http://www.vbenterprisetranslator.com/forum/vbet4-troubleshooting/413-faq-2.html#post1546)
这将使得翻译的页面认可的链接。如果在这个页面不会翻译(但工作),那么请使用这种集成指令,也为MODS不支持global_complete钩(我不知道,没有必要 - 我给这个信息,以防万一;))
此代码应在MYDOMAIN /论坛/ .htaccess?或MYDOMAIN / .htaccess?
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ index.php?language=$1&vbet_outside=true [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]
如果应该在MYDOMAIN /论坛/ .htaccess
我应该放在哪个位置的代码?之前或之后vBET现有的条件?
它只是把之前vBET和结果是:它会导致现有的vBET功能破坏的,甚至不翻译。
此代码应在MYDOMAIN /维基/ .htaccess的权利呢?
RewriteCond %{QUERY_STRING} !vbet_outside=true
RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
你不改变你的。htaccess的论坛目录。这已经是工作。现在你必须整合论坛以外的目录。
它清楚地说明,您已经添加到该规则的第一套。htccess论坛父目录。所以MYDOMAIN / .htaccess
是 - 第2集,您添加到维基目录:)
我设法使它几乎工作。
当浏览以下网址得到妥善翻译我的wiki。
http://mydomain/zh-CN/wiki
然而,维基始终导航菜单,指出这是不正确的URL
http://mydomain/forum/zh-CN/wiki.
我怎样才能解决这个问题?
你有选项打开论坛目录以外的URL跟踪?
你使用绝对链接(从HTTP开始),在输出HTML的wiki?
你有选项打开论坛目录以外的URL跟踪?
你使用绝对链接(从HTTP开始),在输出HTML的wiki?
1。是的,我已经打开。
2。我不undetstand这个问题,你所说的“输出HTML”的意思?
1。是的,我已经打开。
2。我不undetstand这个问题,你所说的“输出HTML”的意思?
我的意思是当你看到页上broswer,转到HTML源代码 - 这是输出HTML发送给您的服务器。如果链接是relatice,那么它将无法工作appropriatelly。必须是绝对的。请注意,这个requrement只对论坛目录以外的部分。
OK,我管理的固定维基绝对URL,而不是相对路径的问题。感谢您的超级支持了很多!
OK,我管理的固定维基绝对URL,而不是相对路径的问题。感谢您的超级支持了很多!
高兴你喜欢它! :D
Automatic Translations (Powered by Google, Microsoft®,
Yandex, SDL Language Cloud, IBM Watson and Apertium):
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.