請教各位~
我用WOG2.0.6聊天室程式加入2.0.7版本,但未能成功
想請教如何在2.0.7加入聊天室功能\r
謝謝
[問題]如何在WOG2.0.7加入聊天室
版主: 版主管理群
請問一下我裝的是wog2.0.7########################################################
## MOD名稱: Online FF Battle-WOG 聊天程式
## Mod版本: 3.5
## 作者: 龍神王 (http://www.bswork.idv.tw/)
##
#---------[ 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()");
//Wog 2.02的改法
#---------[ FIND LINE 1004 ]------------------------------
show_chara($p[p_id],$bbs_id,1);
//Wog 2.05的改法
#---------[ BEFORE, ADD ]---------------------------------
echo "<script>parent.frames['chat'].location.href=\"wog_only_talk.php?name=".$p[p_name]."\";
</script>";
#---------[ SAVE & CLOSE FILE ]--------------------------
#
# EoM
上面2個檔要怎麼改呢\r
index.htm
wog_act.php

