參考連結:[外掛] 強化私人訊息郵件通知 1.1.5、[分享 & 求助]水怪五子棋安裝經驗[已解決]
使用過的外掛清單:
1、BCP-1.0.0 From CRLin
2、CashMod223a From 竹貓星球
3、Attachment Mod 2.3.14 From 竹貓星球
4、跑馬燈公告1.2版 From 竹貓星球
5、閃光會員名稱 From 竹貓星球
6、水怪 RPG 完整安裝版 From 竹貓星球
7、水怪RPG的頭盔店、防具店、鞋子店 From 竹貓星球
8、於水怪中顯示線上人數+rpg等級 From 竹貓星球
9、Admin Userlist 2.0.2(會員管理) From 竹貓星球
10、管理員可收到新會員註冊通知 1.0.2 From 竹貓星球
11、Last visit 1.2.8 顯示今天拜訪論壇的會員及時間 From 竹貓星球
12、主題類型MOD(Ver.321) From 竹貓星球
13、付費瀏覽 Pay_Money_MOD_1.0.9 From 竹貓星球
13、LinkDB 0.0.9 From 竹貓星球
14、ImageShack 快捷貼圖 From Starry Hometown 首頁
15、水怪五子棋 From 竹貓星球
16、[模組]PM彈出視窗強化版 From 竹貓星球
17、[外掛] 強化私人訊息郵件通知 1.1.5 From 竹貓星球
18 、[外掛] 重寄認證信 From 竹貓星球
19 、Global announcement 1.2.8( 全區公告) From 竹貓星球
20 、[外掛] 隱藏部份付費瀏覽內文 - 修改測試 From 竹貓星球
1、修正phpbb內建資料庫備份功能不完全 From 竹貓星球
2、CASH MOD 相關內容修正 From Starry Hometown
3、修正未註冊會員無法使用搜尋及觀看會員列表等 竹貓星球
4、修正未會員文章百分比 竹貓星球
4、修正於水怪中顯示線上人數+rpg等級 竹貓星球
使用版本:phpBB 2.0.18
網站位置:http://bbs.leaf.idv.tw/rpg.php?action=menu
狀況描述:
水怪剛裝時可以用,沒問題,但裝完Extended_PM_Notification_1.2.0,水怪就不能用了,然後ie左下角會出現 "網頁出現錯誤" ,經過爬文,找到一點頭緒,可能是bbcode的問題,而Extended_PM_Notification_1.2.0外掛有修改到bbcode.php,我只要把那一段刪掉,水怪就正常了,想請教大家如何修改呢?我想要二個都可以使用,謝謝大家
在此貼上我刪掉的那段:
代碼: 選擇全部
#
#-----[ 打?#125; ]------------------------------------------
#
includes/bbcode.php
#
#-----[ 尋找 ]------------------------------------------
#
?>
#
#-----[ 之前, ?#91;上 ]------------------------------------------
#
// Extended_PM_Notification MOD
// This function is an altered version of asinshesq's bbcode_process_to_plain_text()
function pm_message_to_plain_text($text)
{
global $lang;
$newline = "
";
$q1 = $newline . '>>>>>>>>>>>>>>>>>>>>>>' . $newline;
$q2 = $newline . '<<<<<<<<<<<<<<<<<<<<<<' . $newline; $newline;
$l1 = $newline . ' (*) ';
$img1 = '[image at: ';
$img2 = ' ]';
$text = preg_replace('/\[quote=\"(.*?)\"\]/', $newline . '\\\1 '. $lang['wrote'].':'.$q1, $text);
$text = preg_replace('/\[quote\]/', $newline . $lang['Quote'].':'.$q1, $text);
$text = preg_replace('/\[\/quote\]/', $q2, $text);
$text = preg_replace('/\[code\]/', $newline . $lang['Code'].':'.$q1, $text);
$text = preg_replace('/\[\/code:?1*\]/', $q2, $text);
$text = preg_replace('/[/', '[', $text);
$text = preg_replace('/]/', ']', $text);
$text = preg_replace('/\[list\]/', $newline . '\\\1 '. $lang['List'].':'.$q1, $text);
$text = preg_replace('/\[list=[a-z]+\]/', $newline . '\\\1 '. $lang['Ordered_list'].':'.$q1, $text);
$text = preg_replace('/\[list=[1-2]?[0-9]+\]/', $newline . '\\\1 '. $lang['Ordered_list'].':'.$q1, $text);
$text = preg_replace('/\[\/list\]/', $q2, $text);
$text = preg_replace('/\[\*\]/', $l1, $text);
$text = preg_replace('/\[img\](.*?)\[\/img\]/', $img1 .'\\\1' . $img2, $text);
$text = preg_replace('/\[url=(.*?)\](.*?)\[\/url\]/', '\\\1', $text);
$text = preg_replace('/\[url\](.*?)\[\/url\]/', '\\\1', $text);
$text = preg_replace('/\[b\](.*?)\[\/b\]/', '\\\1', $text);
$text = preg_replace('/\[u\](.*?)\[\/u\]/', '\\\1', $text);
$text = preg_replace('/\[i\](.*?)\[\/i\]/', '\\\1', $text);
$text = preg_replace('/\[color=\#[0-9A-F]{6}\](.*?)\[\/color\]/', '\\\1', $text);
$text = preg_replace('/\[color=[a-z]+\](.*?)\[\/color\]/', '\\\1', $text);
$text = preg_replace('/\[size=[1-2]?[0-9]\](.*?)\[\/size\]/', '\\\1', $text);
$text = preg_replace('/\[email\](.*?)\[\/email\]/', '\\\1', $text);
$text = preg_replace('/(\\
\\
){3,}/s', $newline.$newline, $text);
return $text;
}
