由于HYBBS自带头像修改每次修改完都不能实时更新,需要清除浏览器缓存才能正常显示,所以开发了一个小插件解决这个问题,插件安装开启即可使用,支持自定义用户默认头像,如果你是模板开发者使用此插件,在模板调用时请使用以下两个函数:
//请使用这两个函数 $this->avatar($uid); M("User")->avatar($uid); //以下函数为HYBBS内置函数插件无法替换所以不建议使用: get_avatar($uid);//不建议使用,否则头像无法显示
有附件被隐藏,你需要回复后可见
youle 发表于 1个月前
6666666666
加载数据中...
少年科技 发表于 1个月前
爱死你了老哥
66666
就是这样
大牛窝模板怎么使用啊
伊伊 发表于 1个月前
不错
xxb9880 发表于 1个月前
kk
5q6q3hbmtakt 发表于 13天前
下载
20170901cz 发表于 13天前
11111
204766641 发表于 5天前
牛逼
moxiaoyan 发表于 4天前
HY-Editor编辑器来自于 hyphp.cn 开发
好6666
站点主题:3781
站点帖子:31773
站点用户:19605
今日主题:0
今日帖子:0
今日注册:1
运行耗时:0.0119 s
youle
发表于 1个月前
6666666666
评论列表
加载数据中...
少年科技
发表于 1个月前
爱死你了老哥
评论列表
加载数据中...
少年科技
发表于 1个月前
66666
评论列表
加载数据中...
少年科技
发表于 1个月前
就是这样
评论列表
加载数据中...
少年科技
发表于 1个月前
大牛窝模板怎么使用啊
评论列表
加载数据中...
伊伊
发表于 1个月前
不错
评论列表
加载数据中...
xxb9880
发表于 1个月前
kk
评论列表
加载数据中...
5q6q3hbmtakt
发表于 13天前
下载
评论列表
加载数据中...
20170901cz
发表于 13天前
11111
评论列表
加载数据中...
204766641
发表于 5天前
牛逼
评论列表
加载数据中...
moxiaoyan
发表于 4天前
插入图片
![](/Plugin/hy_meditor/lib/image-add.png)
添加.image-list-ul{}.image-list-ul img{width:100px;height:100px;max-height: 100%;max-width: 100%;}.image-list-ul>li{width:100px;height:100px;margin-bottom:5px;border: 1px solid #CCC;float:left;margin-right:5px;list-style: none;position: relative;}.image-list-remove{position: absolute;width: 25px!important;height: 25px!important;right: 0; cursor: pointer; z-index: 1;}.image-add-li{cursor: pointer;background: #fbfbfb;display: flex;justify-content: center;align-items: center;width: 100px;height: 100px;}.image-add-li img{width:30px;height:30px}.hy-editor-upimg{display:none;position:absolute;border:1px solid #000;cursor:hand}.hy-editor-upimg span{position:absolute;left:0;top:0;width:7px;height:7px;overflow:hidden;font-size:0;display:block;background-color:#fff;border:solid 1px #000}.hy-editor-upimg .hy-editor-upimg-0{cursor:nw-resize;top:0;margin-top:-4px;left:0;margin-left:-4px}.hy-editor-upimg .hy-editor-upimg-1{cursor:n-resize;top:0;margin-top:-4px;left:50%;margin-left:-4px}.hy-editor-upimg .hy-editor-upimg-2{cursor:ne-resize;top:0;margin-top:-4px;left:100%;margin-left:-3px}.hy-editor-upimg .hy-editor-upimg-3{cursor:w-resize;top:50%;margin-top:-4px;left:0;margin-left:-4px}.hy-editor-upimg .hy-editor-upimg-4{cursor:e-resize;top:50%;margin-top:-4px;left:100%;margin-left:-3px}.hy-editor-upimg .hy-editor-upimg-5{cursor:sw-resize;top:100%;margin-top:-3px;left:0;margin-left:-4px}.hy-editor-upimg .hy-editor-upimg-6{cursor:s-resize;top:100%;margin-top:-3px;left:50%;margin-left:-4px}.hy-editor-upimg .hy-editor-upimg-7{cursor:se-resize;top:100%;margin-top:-3px;left:100%;margin-left:-3px}.hy-editor-upimg-box{position:relative;display:inline-block;width:100px;height:100px}.hy-editor-upimg-box img{width:100px;height:100px}.hy-editor-upimg-box-c{width:100px;height:100px;position:absolute;left:0;top:0;opacity:.8;border:solid 1px #b5b5b5;background-color:#fff}.hy-editor-upimg-box-progress{position:absolute;left:0;bottom:0;background-color:#2e8b57;height:2px;width:0%}.hy-editor-upimg-box-progress-text{position:absolute;left:1px;bottom:2px;right:1px;text-align:center;background:#eaeaea;opacity:.8;font-size:12px;color:#2e8b57}取消插入图片
×插入跳转链接
当前页面打开新窗口打开关闭插入- ActionScript3
- Bash/shell
- ColdFusion
- C#
- C++
- CSS
- Delphi
- Diff
- Erlang
- Groovy
- JavaScript
- Java
- JavaFX
- Perl
- PHP
- Plain Text
- PowerShell
- Python
- Scala
- SQL
- Visual Basic
- XML/HTML
×关于本编辑器
HY-Editor编辑器来自于 hyphp.cn 开发
关闭还是关闭评论列表
加载数据中...
moxiaoyan
发表于 4天前
好6666
评论列表
加载数据中...