Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums

Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums (http://www.freeadvertisingzone.com/index.php)
-   Business to Business Ads: (http://www.freeadvertisingzone.com/forumdisplay.php?f=44)
-   -   X1.5草稿箱刷积分BUG维护办法 - Discuz!-安装使用 - D (http://www.freeadvertisingzone.com/showthread.php?t=1168185)

05-08-2011 07:42 AM

X1.5草稿箱刷积分BUG维护办法 - Discuz!-安装使用 - D
 
只需一步,快速开始

注册新用户,开通自己的个人中心
切换到宽版
Discuz! X 最新研发动态!实时更新 通过这个窗口,关注跟踪我们的研发进展 查看最新动态 — 我来给官方提建议

Discuz! X1.5 正式版发布 帮助网站实现一站式服务 申请测试QQ互联 下载 — 安装 — 常见问题 — 转换 — 讨论

2011年互联网站长年会 — 中国垂直社区网站评选 Comsenz 产品购买 — PHP培训 — Discuz!NT3.5.1发布 漫游YES玩游戏介绍|收入排行 — 5d6d免费论坛

Newbie
本帖最后由 huixia0010 于 2011-2-20 18:52 编辑
直接修改\template\default\forum\post.htm文件
删除以下代码
<!--if $_G['uid']-->
<input type="hidden" id="postsave" name="save" value="" />
<!--$_G[gp_action] == 'edit' && $isfirstpost && !$modnewreplies && $thread['displayorder'] == -4-->
<button type="button" id="postsubmit" class="pn" value="true" tabindex="4"><em>lang save_draft</em></button>
<!--/if-->
<!--/if-->
删除以下代码
<!--$_G[gp_action] == 'edit' && $isfirstpost && !$modnewreplies && $thread['displayorder'] == -4-->
<button type="button" id="postsubmit" class="pn" value="true" tabindex="4"><em>lang save_draft</em></button>
<!--/if-->

huixia0010全网首发,好用的顶一个


以下是@TIM搞出来的
修改
\source\include\post\post_newthread.php


//存草稿不更新积分
if ($displayorder != -4)
{
if($digest)
updatepostcredits('+', $_G['uid'], 'digest', $_G['fid']);

updatepostcredits('+', $_G['uid'], 'post', $_G['fid']);
}


修改 ■2处■
\source\include\post\post_newreply.php
//增加积分前判断帖子状态
if ($thread['displayorder'] != -4)

updatepostcredits('+', $_G['uid'], 'reply', $_G['fid']);

相关的主题文章:


在UTF8版超过15个字符的用户名怎么注册 - Discuz!-安装使用 - Discuz! 官方站 - Powe

如何让回帖的帖子不往上跑呢?? - Discuz!-安装使用

对话侯孝贤:我会是一个好监制

突然遇到地震了怎么做比较正确

s11.sinaimg.cn


All times are GMT. The time now is 01:24 AM.

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum