蓝雨 发表于 2009-5-17 23:37:51

发帖际遇 FOR PHPWind7.0/7.3/7.3.2

1、上传附件到根目录。
2、打开模板文件中的read.htm,找到

<div class=\"f14\" id=\"read_$read\">
在其前面加入
<!--
EOT;
if($read){
$read=\"<span class=s3 f12 fn>发帖际遇:</span></h6><blockquote class=blockquote>$read</blockquote>\";
}print <<<EOT
-->

在其后面加入
{$read}
3、打开require/postnew.php,找到
$tid = $db->insert_id();
在其下面加入:
//发帖际遇开始
require_once (R_P.require/event.php);
if(!$eventid){
$eventid=0;
}
$db->update(\"UPDATE pw_threads SET eventid=\".pwEscape($eventid).\" where tid=\".pwEscape($tid).\"\");
//发帖际遇结束

4.打开require/postreply.php,找到
$pwSQL = pwSqlSingle(array(

在其上面加入

**** Hidden Message *****

never1215 发表于 2023-11-2 21:50:11

嘻嘻嘻嘻

never1215 发表于 2023-11-13 16:47:03

再次回复 原来的压缩包不小心删掉了
页: [1]
查看完整版本: 发帖际遇 FOR PHPWind7.0/7.3/7.3.2