Skip to content

Instantly share code, notes, and snippets.

View wdssmq's full-sized avatar
💭
mizu-code-cold

沉冰浮水 wdssmq

💭
mizu-code-cold
View GitHub Profile
@wdssmq
wdssmq / tpure_MemberAvatar.php
Created July 17, 2024 06:22
tpure_MemberAvatar
<?php
// 头像优先级
function tpure_MemberAvatar($member, $email = null)
{
global $zbp;
// 先拿到系统头像,包括其他插件返回的
$avatar = $member->Avatar;
// 判断是否包含 zb_users/avatar/0.png
{
"vars": {
"@gray-base": "#000",
"@link-color": "#333",
"@link-hover-color": "#E3411E",
"@font-family-sans-serif": "\"Microsoft YaHei\", Tahoma, Arial, Sans-Serif",
"@font-size-base": "13px",
"@line-height-base": "1.5384615",
"@screen-lg-min": "1440px",
"@container-sm": "100%",