创意电子 发表于 2022-7-5 22:18:27

头像框商城 PC手机双端版2.0[带组件]





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


平安上传兼容
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尺寸的头像带头像框;


页: [1]
查看完整版本: 头像框商城 PC手机双端版2.0[带组件]