火鸟教程,怎么设置火鸟的贴吧虚拟用户数量
火鸟门户修改论坛模块,显示注册用户数量
修改:/templates/tieba/touch/112/js/index.js
以前的代码
查找以前的代码:
function getFormat(){
$.ajax({
url: “/include/ajax.php?service=tieba&action=getFormat”,
type: “GET”,
dataType: “json”,
success: function (data) {
if(data.state == 100){
$(‘.user’).text(data.info.memberTotal);
$(‘.views’).text(data.info.tiziTotal);
$(‘.today’).text(data.info.tiziTodayTotal);
}else{
$(‘.user’).text(0);
$(‘.views’).text(0);
$(‘.today’).text(0);
}
}
});
}
修改后的
function getFormat(){
$.ajax({
url: “/include/ajax.php?service=tieba&action=getFormat”,
type: “GET”,
dataType: “json”,
success: function (data) {
if(data.state == 100){
$(‘.user’).text(8000+Number(data.info.memberTotal));
$(‘.views’).text(data.info.tiziTotal);
$(‘.today’).text(data.info.tiziTodayTotal);
}else{
$(‘.user’).text(0);
$(‘.views’).text(0);
$(‘.today’).text(0);
}
}
});
}
1. 本站所有资源来自站长花钱购买,用户上传和网络收集,如有侵权请邮件联系站长!
2. 分享目的仅供大家学习和交流!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营和持续的给大家提供更多好的源码!