站点公告+ 发布

截至年底"某"之领域、"雪"下小屋等二次元站倒了 。我们aixgame稳定不倒,请放心前来 。另外感谢catbox提供的视频存储,现在开始,里番/3D/动画/同人/cosplay,支持低清播放预览(高清需要下载)
11-16 19:58
支付二维码已恢复显示,放心购买,如果你没有显示,刷新一下浏览器 如果没有到账联系客服邮箱或者QQ 如果不记得网址发送邮箱到[email protected](这是自动发送地址邮箱,请勿回复)
11-07 15:11
注册或者已经注册的邮箱必须有效,系统会自动清理无法收到邮件的论坛用户,比如邮箱拒收(拒收的不恢复旧账号金币)或注销的情况。如果取回密码显示不存在就说明被系统注销删除了,这时请联系客服。
10-27 12:12
网站内容鼠标悬浮窗已上线,可以按住自动复制,全选自动复制所有秒传链接,很方便。另外响应不在大陆网友要求,没有支付宝、微信的情况,经过几天的调整修改,PAYPAL已经在网站完成部署,可以支付了。
06-10 02:11
05-28 10:40
04-20 18:44
空间有限,目前不接受非赞助注册,邀请码只是提前充值5元,主机空间都在涨价,别说开论坛免费发邀请码 ,我不信,那都是有广告商赞助,论坛资源会持续更新,其他论坛已关闭注册 ,已经是会员的也可以购买发送邀请码给他人 ,无限制时间请关注官网微博。
04-20 14:30
论坛域名已更改为aixgame.xyz,永久发布页将会在2022年6月6日更改为aixgame.cc(域名我已经提前买下来了,你们访问不了,是因为我没有解析。原来的aixiagame.cc最多支持到2022年12月22日),aix更好记住,请提前知晓
04-04 22:09
多逛论坛,渡过疫情。验证码总错误 ,重置wifi路由器恢复出厂 。取回密码若提示邮箱不存在或错误 ,联系客服(提供首次充值记录)。 移动网速慢的时候,可换联通电信广电等 。所有网盘压缩包请勿在线解压,只可以下载到本地。
03-30 22:58
请大家減少不必要的刷新,以免加重服务器负担。邮箱前面不需要加www。欢迎优秀作者入驻本站,每月有A币鼓励。最后,祝AI之魂熊熊燃烧,如愛一般永不灭!我们的口号是:愛下一会,你就知道。
03-30 22:58
查看: 196|回复: 0

[模版] 小时空模版更新日志

[复制链接]
等级

成就
A币
1
主题
15
精华
0
回帖
22
在线时间
930 小时

发表于 2020-6-25 18:19:48 | 显示全部楼层 |阅读模式
扩展包更新日志:

***20220622修改
隐藏发帖草稿箱,只对管理员可见,防止错误点击
template/default/forum/post.htm
查找229行
<button type="button" id="postsubmit" class="pn" value="true"><em>{lang save_draft}</em></button>
替换为
<!--{if in_array($_G[uid], array(1,2,3))}-->
<button type="button" id="postsubmit" class="pn" value="true"><em>{lang save_draft}</em></button>
<!--{/if}-->
上方代码
array(1,2,3)
是可以看到保存草稿按钮的用户id,如果只想管理员可以看到的话,只填1即可。
修改好后上传覆盖,后台更新缓存,修改好后只有站长可以看到保存草稿的按钮。

以下模版每次升级修改:

template/ahome_common/forum/post.htm


<!--{if in_array($_G[uid], array(1,24))}-->
<button type="button" id="postsubmit" class="pn" value="true" on【】click="$【】('postsave').【】value = 1;$【】('posts【】ubmit').cl【】ick();"><em>{lang save_draft}</em></button>
<!--{/if}-->
删除【】

***20220416修改
列表对游客不显示主题价格,对游客帖子内隐藏价格
修改文件:
template/default/forum/viewthread_pay.htm
第十行
<!--{if $_G[forum_thread][price] > 0}-->{lang pay_comment}<!--{/if}-->
改为

                        <!--{if $_G[forum_thread][price] > 0}-->
                        {if $_G['uid']}
                        {lang pay_comment}
                        {else}
                        本主题需向作者支付 <strong>*** {$_G[setting][extcredits][$_G[setting][creditstransextra][1]][unit]}{$_G[setting][extcredits][$_G[setting][creditstransextra][1]][title]}</strong> 才能浏览
                        {/if}
                        <!--{/if}-->
或者

                        <!--{if $_G[forum_thread][price] > 0}-->
                        {if $_G['uid']}
                        {lang pay_comment}
                        {else}
                        <strong>您需要注册登录才能下载</strong>
                        {/if}
                        <!--{/if}-->
以下模版每次升级修改:
template/ahome_common/forum/forumdisplay_list.htm
第187行
- [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
改成:

{if $_G['uid']}
- [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
{/if}


***20200710修改

增加html在线播放器。
修改文件:
template\default\common\header_common.htm
倒数第三行上面加上代码
        <script src="//lib.baomitu.com/jquery/3.5.0/jquery.min.js"></script>
        <script type="text/javascript" src="{$_G[setting][jspath]}common.js?{VERHASH}"></script>
        <!--{if empty($_GET['diy'])}--><!--{eval $_GET['diy'] = '';}--><!--{/if}-->
        <!--{if !isset($topic)}--><!--{eval $topic = array();}--><!--{/if}-->


以下模版每次升级修改:
template\小时空\common\footer.htm
最后增加代码如下
<script src="https://myhkw.cn/player/js/player.js" id="myhk" key="159431867117" m="1"></script>
</body>
</html>

***20200624修改

注意:如果想彻底防止修改邮箱,必需在服务器端也做限制,具体方法:
修改文件:source/include/spacecp/spacecp_profile.php
查找
$emailnew = dhtmlspecialchars($_GET['emailnew']);
替换为:
$emailnew = $_G['member']['email'];
以下模版每次升级修改:

模版目录template/小时空/forum/viewthread_node.htm(注释掉以下两段代码即可)去掉左侧的关注ta和发消息
<li class="addflw"><a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2">{lang follow}</a></li>
<li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]&tid=$post[tid]" title="{lang viewthread_left_sendpm}" class="xi2">{lang viewthread_left_sendpm}</a></li>

template\小时空\home\spacecp_profile.htm(替换以下代码)禁止用户修改邮箱(文件要先保存utf-8带BOM然后再转不带BOM不然中文乱码)
查找:注释
<input type="text" name="emailnew" id="emailnew" value="$space[email]" class="px" />
改成:
<input type="text" name="emailnew" id="emailnew" value="$space[email]" disabled />

具体修改如下:
          <tr>
            <th>邮箱已锁定</th>
            <td>
              <p>如需修改发送邮件到客服([email protected])验证本人</p>
              <p>格式:申请修改绑定邮箱:昵称+原邮箱+新邮箱</p>
            </td>
          </tr>
          <tr id="contact"{if $_GET[from] == 'contact'} style="background-color: {$_G['style']['specialbg']};"{/if}>
            <th>{lang email}</th>
            <td>
              <!--<input type="text" name="emailnew" id="emailnew" value="$space[email]" class="px" />-->

***20200320修改

顶部图片的绝对地址:

style.css:

.header的参数background: url(bgimg.jpg) no-repeat;
改为
background: url(ht【去掉中括号内容,包括中括号,这里只是防解析图片】tps://i.loli.net/2020/03/20/ISQz5GcL1uOok9M.jpg) no-repeat;

以下模版每次升级修改:

logo的绝对地址:
header.htm
<img id="toplogo" src="template/ahome_common/src/default/logo.png">
改为
<img id="toplogo" src="https://ae01.alicdn.com/kf/H96c7a62a864340cab8a07385aa86066ds.jpg">


2022.4.36修改

<img id="toplogo" src="https://skillstore.cdn.bcebos.com/icon/0/f3e15685-a0dc-2786-279e-594fb51324b1.gif">

***20200318修改

style.css:删除style.css的#topologo{display:none;}显示logo


以下模版每次升级修改:

logo显示参数
extend_common.css:
#toplogo {
        margin-top: 0px;
        margin-bottom: 8px;
        height: 100px;
}

2022.4.36修改
#toplogo {
        margin-top: 0px;
        margin-bottom: 0px;
        height: 130px;
}

版块内不显示发帖人头像:
补丁:forumdisplay_list.htm覆盖
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|aix论坛 |Sitemap

GMT+8, 2024-5-21 04:54 , Processed in 0.103949 second(s), 34 queries .

Powered by Discuz! X3.4

Copyright © 2001-2024, Cloud.

快速回复 返回顶部 返回列表