|
 
- 帖子
- 3148
- 积分
- 4025
- 威望
- 113
- 金币
- 211 个
- 体力
- 3147
- 注册时间
- 2004-8-16
|
去掉DZ自动跳转页,减少时间的浪费
发帖立刻跳至帖子
打开include/newthread.inc.php
找到:- showmessage('post_newthread_succeed', "viewthread.php?tid=$tid&extra=$extra");
复制代码 替换成:- header("Location: viewthread.php?tid=$tid&extra=$extra");
复制代码 回复立刻跳至帖子
打开include/newreply.inc.php
找到:- showmessage('post_reply_succeed', "viewthread.php?tid=$tid&pid=$pid&page=".(@ceil(($thread['replies'] + 2) / $ppp))."&extra=$extra#pid$pid")
复制代码 替换成:- header("Location: viewthread.php?tid=$tid&pid=$pid&page=".(@ceil(($thread['replies'] + 2) / $ppp))."&extra=$extra#pid$pid")
复制代码 编辑立刻跳至帖子
打开include/editpost.inc.php
找到:- showmessage('post_edit_delete_succeed', "forumdisplay.php?fid=$fid")
复制代码 替换为:- header("Location:forumdisplay.php?fid=$fid")
复制代码 找到:- showmessage('post_edit_succeed', "viewthread.php?tid=$tid&page=$page&extra=$extra#pid$pid")
复制代码 替换为:- header("Location:viewthread.php?tid=$tid&page=$page&extra=$extra#pid$pid")
复制代码 [ 本帖最后由 全球通 于 2006-5-28 16:52 编辑 ] |
|