创意电子

标题: 头像框商城 PC手机双端版2.0[带组件] [打印本页]

作者: 创意电子    时间: 2022-7-5 22:18
标题: 头像框商城 PC手机双端版2.0[带组件]


资源名称: 
下载次数:4  文件大小:  记录
购买VIP 充值创意币 运营教程 免费赚创意币 
安全检测,请放心下载


蓝色理想兼容包,针对蓝色理想扩展包列表页显示头像的兼容----非常简单 , 蓝色理想扩展包只有一个文件 extra.class这个文件的 46 行 forumdisplay_top_output 函数用下面的代码替换到原本的函数即可;
  1. function  forumdisplay_top_output() {
  2.   if ( $this->config[ 'forumdisplaysmallavatar' ] ) {
  3.     $returnstr = '<style type="text/css">
  4.                                                         .tl cite{padding-top:6px;}
  5.                                                         .tl .by {width:125px;}
  6.                                                         .pstyle a>img {width:25px !important;height:25px !important;float:left;border: 1px solid #ccc; padding: 2px; margin: 0px; background-color: #fff;margin:3px 3px 0 0;}
  7.                                                         .pstyle div {width:25px;height:25px;float:left !important;border: 1px solid #ccc; padding: 2px; margin: 0px; background-color: #fff;margin:3px 3px 0 0;}
  8.                                                         .pstyle div span{width:25px !important;height:25px !important;margin:0px !important;}
  9.                                                         .pstyle div span img {width:25px !important;height:25px !important;}
  10.                                                         .plstyle img {width:35px;height:35px;float:left;border: 1px solid #ccc; padding: 2px; margin: 0px; background-color: #fff;margin:3px 3px 0 0;}
  11.                                                         </style>';
  12.     return $returnstr;
  13.   }
  14. }
复制代码



平安上传兼容
h5upload.class.php 文件 273行
搜索
function avatar($value)  //屏蔽

h5upload.class.php 文件 55行
搜索
function avatar($value)  //屏蔽


【软件介绍】
1.头像框商城插件能够让站长自定义头像框销售 , 实现积分流通;
2.站长可以设定多个用户共同管理头像系统 , 设置并销售头像框;
3.后期有头像框抽奖扩展 , 可以让玩家每日签到抽取头像框;
4.头像框系统重定义了头像的显示 , 并兼容电脑和手机版本;
【特殊说明】
1.头像系统嵌入点可能造成和平安H5上传有部分冲突(关头像上传) , 我们负责免费调试;
2.DZ手机版模版通常只返回图片地址 , 故此必须做手动调整才能显示头像框;
3.手机版模版头像框系统调试 , 如果站长不会调整可以付费另行调整;
4.手机版调试方法: 将模版中的IMG标签去掉 , 函数avatar的调用去掉第3个参数;
5.手机版avatar在模版中调用时 , 第2项参数设置为 m_XX 其中XX为尺寸;
6.列子: avatar($_G['uid'],’m_32’) 即是出现32尺寸的头像带头像框;
资源名称: 
下载次数:0  文件大小:  记录
购买VIP 充值创意币 运营教程 免费赚创意币 
安全检测,请放心下载







欢迎光临 创意电子 (https://www.wxcydz.cc/) Powered by Discuz! X3.4