請教各位大大,
小弟第一次裝phpbbs2,論壇現屬測試階段,若用若用簡體發表主體,主題變亂碼,還有用簡體註冊帳號,帳號出來也是亂碼。但是文章內容和版面卻都可以用簡體,請問該如何處理,在竹貓的測試版試過,發現在竹貓是正常。
http://phpbb-tw.net/phpbb/viewtopic.php?t=30172
●架設主機作業系統:Linux(RedHat)
●您的上網方式:CABLE (http://www.lsc.net.tw)。
●您安裝的程式:Apache + php + MySql
●phpBB2 版本:phpBB (2.0.11 正体中文)。
●domain(網域名稱) :www.posart.com
●phpBB2 連結網址: http://www.potsart.com/forum/
謝謝
[問題]若用簡體發表主體,主題變亂碼
版主: 版主管理群
版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
[Windows]
樓上打錯了,是phpbb2,抱歉。
試過下面的方式,但是還是沒有成功
試過下面的方式,但是還是沒有成功
代碼: 選擇全部
##############################################################
## MOD Title: Multi-Language Fix
## MOD Author: Scorpion <formosa@ms20.url.com.tw> http://ibf.myweb.hinet.net/
## Update to 2.0.10: WeiChou
## Conflation: William Leung <admin@ke5475.net> http://ke5475.net
## MOD Description: Fix the display problems on multi-language
## MOD Version: 2.0.10
##
## Installation Level: Easy
## Installation Time: 10 Minutes
## Files To Edit: 7
## login.php
## posting.php
## includes/functions.php
## includes/functions_post.php
## includes/usercp_register.php
## includes/bbcode.php
## admin/admin_users.php
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
login.php
#
#-----[ FIND ]------------------------------------------
#
$username = isset($HTTP_POST_VARS['username']) ? trim(htmlspecialchars($HTTP_POST_VARS['username'])) : '';
#
#-----[ REPLACE WITH ]----------------------------------
#
$username = isset($HTTP_POST_VARS['username']) ? str_replace("&","&",trim(htmlspecialchars($HTTP_POST_VARS['username']))) : '';
#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------
#
$poll_options = array();
if ( !empty($HTTP_POST_VARS['poll_option_text']) )
#
#-----[ BEFORE, ADD ]-----------------------------------
#
$subject = ereg_replace("&","&",$subject);
$message = ereg_replace("&","&",$message);
$poll_title = ereg_replace("&","&",$poll_title);
#
#-----[ FIND ]------------------------------------------
#
$poll_options[$option_id] = htmlspecialchars(trim(stripslashes($option_text)));
#
#-----[ REPLACE WITH ]----------------------------------
#
$poll_options[$option_id] = ereg_replace("&","&",htmlspecialchars(trim(stripslashes($option_text))));
#
#-----[ FIND ]------------------------------------------
#
$poll_options[] = htmlspecialchars(trim(stripslashes($HTTP_POST_VARS['add_poll_option_text'])));
#
#-----[ REPLACE WITH ]----------------------------------
#
$poll_options[] = ereg_replace("&","&",htmlspecialchars(trim(stripslashes($HTTP_POST_VARS['add_poll_option_text']))));
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------
#
$user = trim(htmlspecialchars($user));
#
#-----[ REPLACE WITH ]----------------------------------
#
$user = str_replace("&","&",trim(htmlspecialchars($user)));
#
#-----[ OPEN ]------------------------------------------
#
請問2.0.13的版本適用這個多國語言修正嗎?
http://phpbb-tw.net/phpbb/viewtopic.php?t=7987
http://phpbb-tw.net/phpbb/viewtopic.php?t=7987



