切换风格

默认 晚霞 雪山 粉色心情 伦敦 花卉 绿野仙踪 加州 白云 星空 薰衣草 城市 简约黑色 简约米色 龙珠
HYBBS用户修改头像功能增强插件
 2997     12
发表于 1个月前 |

由于HYBBS自带头像修改每次修改完都不能实时更新,需要清除浏览器缓存才能正常显示,所以开发了一个小插件解决这个问题,插件安装开启即可使用,支持自定义用户默认头像,如果你是模板开发者使用此插件,在模板调用时请使用以下两个函数:

//请使用这两个函数
$this->avatar($uid);
M("User")->avatar($uid);
//以下函数为HYBBS内置函数插件无法替换所以不建议使用:
get_avatar($uid);//不建议使用,否则头像无法显示

发表于 1个月前 |

6666666666

发表于 1个月前 |

爱死你了老哥

发表于 1个月前 |

66666

发表于 1个月前 |

就是这样

发表于 1个月前 |

大牛窝模板怎么使用啊

发表于 1个月前 |

不错

发表于 1个月前 |

kk

发表于 13天前 |

下载

发表于 13天前 |

11111

发表于 5天前 |

牛逼

发表于 4天前 |
HY-Editor×

插入图片

添加
    .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}取消插入图片
    ×

    插入跳转链接

    当前页面打开新窗口打开关闭插入
    • sans-serif
    • 宋体
    • 微软雅黑
    • 楷体
    • 黑体
    • 隶书
    • andale mono
    • arial
    • arial black
    • comic sans ms
    • impact
    • times new roman
    • x-small
    • small
    • medium
    • large
    • x-large
    • xx-large
    • xxx-large
    • 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 开发

    关闭还是关闭


    发表于 4天前 |

    好6666

    GMT+8, 2024-07-27 15:52:09 运行耗时 0.0075 秒.

    Powered by HYBBS 2.3.4

    © 2016-2019 HYBBS

    返回顶部