zoukankan
html css js c++ java
帖子内容页面左侧信息栏修改教程
有很多童鞋问我下列图片中红框中 主题,听众,积分怎么修改城其他的?这里是可以的修改的,来我们来看下修改的过程。
<ignore_js_op>
1.我们首先知道这块代码文件在那里 emplatedefaultforumviewthread_node.htm
<div class="tns xg2">
<table cellspacing="0" cellpadding="0">
<th><p><a href="home.php?mod=space&uid=$post[authorid]&do=thread&view=me&from=space" class="xi2"><!--{echo dnumber($post[threads])}--></a></p>{lang threads}</th>
<th>
<!--{if helper_access::check_module('follow')}-->
<p><a href="home.php?mod=follow&do=follower&uid=$post[authorid]" class="xi2"><!--{echo dnumber($post[follower])}--></a></p>{lang follower}
<!--{else}-->
<p><a href="home.php?mod=space&uid=$post[authorid]&do=friend&view=me" class="xi2"><!--{echo dnumber($post[friends])}--></a></p>{lang friends}
<!--{/if}-->
</th>
<td><p><a href="home.php?mod=space&uid=$post[authorid]&do=profile" class="xi2"><!--{echo dnumber($post[credits])}--></a></p>{lang credits}</td>
</table>
</div>
复制代码
2.给你们解释下对应代码是什么
$post[threads]=主题
$post[follower]=听众数量
$post[credits]=总积分
3.这里如果想修改字的话 在语言包文件内 sourcelanguage
4.这里我们举个列子修改下
修改主题数为帖子数
<th><p><a href="home.php?mod=space&uid=$post[authorid]&do=thread&view=me&from=space" class="xi2"><!--{echo dnumber($post[posts])}--></a></p>{lang posts}</th>
复制代码
这里posts为帖子数,lang posts为语言 这里请注意修改的时候请结合语言包来修改。
修改总积分为金币
<td><p><a href="home.php?mod=space&uid=$post[authorid]&do=profile" class="xi2"><!--{echo dnumber($post[extcredits2])}--></a></p>$_G['setting']['extcredits'][2]['title']</td>
复制代码
这里extcredits2 为扩展积分 默认程序显示的为金钱 $_G['setting']['extcredits'][2]['title'] 这里的2为扩展积分 比如extcredits1 extcredits2 extcredits3 等等
如图:
<ignore_js_op>
大家手动的试试呗,有问题可以楼下跟帖,这里注意修改完成以后 后台更新下缓存,
特别注意修改之前请备份好原文件
查看全文
相关阅读:
jmeter接口自动化-读取CSV文件执行测试用例
文件流下载excel表格
如何查看死锁的表
学习笔记
当你需要验证数组是否都是0
实验二
centos8 https访问报错
Linux命令常用搜集持续更新
一文搞懂C语言中指针、数组、指针数组、数组指针、函数指针、指针函数
11
原文地址:https://www.cnblogs.com/alibabaidu/p/3534085.html
最新文章
一文了解Promise使用与实现
一文了解Event Loop,还不会你打我呀
linux下启动tomcat出现“This file is needed to run this program ”没有权限
python---注释
curl无法正常使用
Centos配置samba
CentOS配置NFS
ssh免密
dreamweaver绿色版
如何使用ASP查询数据库数据
热门文章
asp连接mdb数据库,并查询数据展示到web页面
Quartz与Topshelf结合实现window定时服务
Mysql和Sql查询表信息
ObjectARX使用事务简单示例
Winform 动态画曲线 波峰波谷识别
线程同步 进程同步 EventWaitHandle
wpf 斗地主 单机版 没有机器人出牌算法
winform 绘图控件 chart 实时曲线图
倒序打印非数字开头的可视字符串
C#从http上拿返回JSON数据
Copyright © 2011-2022 走看看