1 頁 (共 1 頁)

[問題]如何在WOG2.0.7加入聊天室

發表於 : 2004-04-27 01:05
kennethsir
請教各位~
我用WOG2.0.6聊天室程式加入2.0.7版本,但未能成功
想請教如何在2.0.7加入聊天室功能\r
謝謝

發表於 : 2004-06-14 18:19
twgocn
########################################################
## 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
請問一下我裝的是wog2.0.7
上面2個檔要怎麼改呢\r
index.htm
wog_act.php

發表於 : 2004-12-06 18:46
小西
index.htm只要把wog_foot.php改成wog_foot.htm
wog_act.php照著2.05版的改\r

我是這樣改的..可以用