倾城于你 - Handsome
type: channel
link: https://qninq.cn/tag/Handsome/
items: Handsome主题专用友链检测插件AbnormalLinks
items: 拓展你的handsome主题评论区表情包
items: Typecho插件UserAgent之Handsome专用

Handsome主题专用友链检测插件AbnormalLinks
type: item
date: 2025-02-02T05:17:00+00:00
description: AbnormalLinks插件基于Handsome主题，可于博客后台一键批量检测友情链接的状态，并返回状态异常的友情链接，通过勾选复选框可一键将异常友链设置为无效，返回的状态异常友链可点击跳转进行人工复审。当前文章内回复可见附件为已废弃旧版插件，新版移至本文底部同名仓库及本站最新文章[post cid="275" cover="" size="small"/]特点原插件使用前端（JavaScript）使用进行链接可用性检测，准确性较低，修改后的插件借助API接口进行检测，接口源码开源，可自行部署。注意对于某些开启了特定防火墙的站点，将无法准确获取其状态码卸载插件前请先禁用插件，不要直接删除插件。下载[hide] AbnormalLinks-For-Ty-Handsome-latest.zip[/hide]开源地址wang4386/AbnormalLinks-For-Ty-HandsomeGithubLoading...

拓展你的handsome主题评论区表情包
type: item
date: 2024-07-30T10:42:00+00:00
description: [scode type="green" size=""]表情包总览[/scode]QQ3D萌宝酷安阿鲁B站::qqemoji:6::::3dqq:8::::fluent:1::::coolapk:6::::fullaru:0000::::bilibili:baiyan::::qqemoji:3::::3dqq:12::::fluent:3::::coolapk:10::::fullaru:0010::::bilibili:daku::::qqemoji:22::::3dqq:23::::fluent:9::::coolapk:12::::fullaru:0180::::bilibili:dianzan::表情包拓展前言使用Handsome主题的站长们都知道默认的阿鲁表情包数量很少，推特表情包也不好看，今天教大家拓展评论区的表情包，本篇文章如需转载请注明本文地址及本文中提及的表情包提供者 ::bilibili:shengqi::解释Handsome主题拓展表情包，主要与/usr/themes/handsome/usr路径下的OwO.json文件有关，同时需要将表情包放置在/usr/themes/assets/img/emotion目录下，此外，一些表情包仍需设置自定义CSS来调整大小。[collapse status="true" title="OwO.json格式解释"]首先在宝塔面板文件管理中找到该json文件，每一段落构成评论区的一栏表情包，每个段落之间用英文逗号隔开，最后一个段落无需英文逗号，于是按照统一格式添加json，并在表情包目录上传相应表情包即可实现表情包的增添，另外补充一点，如果你开启了静态资源cdn加速，需要将表情包同时上传到服务器本地和CDN储存assets中。[/collapse]获取[collapse status="false" title="QQ表情"][tabs][tab name="预览" active="true"][/tab][tab name="表情包"][hide]qqemoji.zip[/hide][/tab][tab name="JSON"][hide]"QQ":{ "type": "image", "name": "qqemoji", "container":[ { "icon":"1", "text":"##"}, { "icon":"2", "text":"##"}, { "icon":"3", "text":"##"}, { "icon":"4", "text":"##"}, { "icon":"5", "text":"##"}, { "icon":"6", "text":"##"}, { "icon":"7", "text":"##"}, { "icon":"8", "text":"##"}, { "icon":"9", "text":"##"}, { "icon":"10", "text":"##"}, { "icon":"11", "text":"##"}, { "icon":"12", "text":"##"}, { "icon":"13", "text":"##"}, { "icon":"14", "text":"##"}, { "icon":"15", "text":"##"}, { "icon":"16", "text":"##"}, { "icon":"17", "text":"##"}, { "icon":"18", "text":"##"}, { "icon":"19", "text":"##"}, { "icon":"20", "text":"##"}, { "icon":"21", "text":"##"}, { "icon":"22", "text":"##"}, { "icon":"23", "text":"##"}, { "icon":"24", "text":"##"}, { "icon":"25", "text":"##"}, { "icon":"26", "text":"##"}, { "icon":"27", "text":"##"}, { "icon":"28", "text":"##"}, { "icon":"29", "text":"##"}, { "icon":"30", "text":"##"}, { "icon":"31", "text":"##"}, { "icon":"32", "text":"##"}, { "icon":"33", "text":"##"}, { "icon":"34", "text":"##"}, { "icon":"35", "text":"##"}, { "icon":"36", "text":"…

Typecho插件UserAgent之Handsome专用
type: item
date: 2024-01-22T12:45:00+00:00
description: UserAgent插件一款handsome主题专用的UserAgent插件，能够显示评论者UA信息。目前已经支持Typecho1.2.1+Handsome9.2.1。食用指南操作前请做好相应备份工作此插件只适用于Handsome主题，未对其它主题优化！！！请先将插件置于Typecho的plugins目录下，且插件目录名应为UserAgent，注意大小写，否则将无法正常食用！！！修改Handsome主题，component目录下的comments.php代码文件Handsome:9.2.1 版本大概第 82 行左右修改前 <?php echo $author; ?>修改后 <?php echo $author; ?><?php UserAgent_Plugin::get_useragent($comments->agent,$comments->ip); ?>预览[album type="photos"][/album]CDNTypecho开启CDN后，可能无法获取访客真实IP，只能取得CDN节点IP，为此可以在Typecho博客网站的根目录的config.inc.php插入下面的代码：//** 防止CDN造成无法获取客户真实IP地址 */ if(isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $list = explode(',',$_SERVER['HTTP_X_FORWARDED_FOR']); $_SERVER['REMOTE_ADDR'] = $list[0]; }下载[hide] UserAgent-1.1.7.zip[/hide]开源地址https://doge.uk/coding/useragent-modify.html