代碼: 選擇全部
########################################################
## MOD名稱: Online FF Battle-WOG 聊天程式
## Mod版本: 2.5
## 作者: 龍神王 (http://www.bswork.idv.tw/)
##
## 下載位置:[url=http://www.csjh.tn.edu.tw/~92st10/FS/WOG_only_talk_php2.5.zip]WOG_only_talk_php[/url]
##
## 說明:
## 方便玩家在遊戲中與其他玩家交流心得
## 當玩家使用私密傳訊給某玩家時
## 也能馬上通知在線上的他,趕緊去收私人訊息\r
##
## MOD 相容於任何版本的PHPBB
##
## Installation Level: Easy
## Installation Time: 1-2 Minutes
## Files To Edit: 2
## wog/index.php
## wog/wog_act.php
##
## Included Files:
## wog/wog_only_talk.txt
## wog/wog_only_talk.php
## wog/wog_only_talk_write.php
##########################################################
##
## Note:
## 安裝前請先備份\r
## wog/index.php
## wog/wog_act.php
##
## wog_only_talk 上傳後權限請設為777
##
##########################################################
##
## Version History:
##
## 1.0 - 聊天程式雛形
##
## 1.5 - 新增:字體顏色\r
## 修正:顯示" ' 的問題&送出的字還留在打字區
##
## 2.0 - 修正:第一次後送出的文字少掉玩家名稱的問題
\n##
## 2.5 - 修正:不必點選打字欄就能輸入內容
##
##########################################################
#---------[ OPEN ]----------------------------------------
wog/index.php
#---------[ FIND ]----------------------------------------
<frame name="peolist" src="wog_etc.php?f=peo" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
#---------[ AFTER, ADD ]----------------------------------
<frameset cols="560,*" border="0">
#---------[ FIND ]----------------------------------------
<frame src="wog_foot.php" name="foot" id="foot" frameborder="0" scrolling="Auto" noresize marginwidth="0" marginheight="0">
</frameset>
</html>
#---------[ REPLACE WITH ]--------------------------------
<frame src="wog_foot.php" name="foot" id="foot" frameborder="0" scrolling="Auto" noresize marginwidth="0" marginheight="0">
<frameset rows="*" border="0">
<frame src="" name="chat" frameborder="0" scrolling="Auto" noresize marginwidth="0" marginheight="0">
</frameset>
</frameset>
</frameset>
</html>
#---------[ OPEN ]----------------------------------------
wog/wog_act.php
#---------[ FIND LINE 375 ]-------------------------------
showscript("parent.peolist.document.location.reload()");
#---------[ BEFORE, ADD ]---------------------------------
echo "<script>parent.frames['chat'].location.href=\"wog_only_talk.php?name=".$p[p_name]."\";
</script>";
#---------[ SAVE & CLOSE FILE ]--------------------------
#
# EoM
這個聊天程式很輕量~ 對於小頻寬的我來說很適合
![ㄏㄏㄏ :mrgreen:](./images/smilies/icon_mrgreen.gif)
安裝後得登入遊戲才能看到並使用喔
![驚嘆號 :!:](./images/smilies/icon_exclaim.gif)
2003 06 18
聊天程式更新摟
![ㄏㄏㄏ :mrgreen:](./images/smilies/icon_mrgreen.gif)
下載後請先清空對話內容(wog_only_talk.txt)
直接覆蓋檔案即可
2003 06 19
直接跳版本貼^^" 詳細更新情形可在yll大大的討論區找到\r
下載後請先清空對話內容(wog_only_talk.txt)
直接覆蓋檔案即可