⭐
wuxianucw / partiallypassword Goto Github PK
View Code? Open in Web Editor NEWTypecho 文章部分加密插件(PartiallyPassword)支持对某一篇文章的特定部分创建密码,访客需要正确输入密码才能查看内容。
License: MIT License
Typecho 文章部分加密插件(PartiallyPassword)支持对某一篇文章的特定部分创建密码,访客需要正确输入密码才能查看内容。
License: MIT License
Typecho 开发版的默认渲染器和部分外置渲染器在内联 HTML 时已经不再需要 !!!
标记,此时会有多余的 !!!
,影响展现。
Bug 描述
开启插件后“独立页面”报错;“独立页面”编辑器中无“自定义字段”块
如何触发
开启插件后打开 某个 已编辑的 独立页面,其中有使用“AccessoriesPro插件”的项目,报错显示:
‘’‘
Warning: require(/www/wwwroot/macbeats.win/usr/plugins/AccessoriesPro/templates/item/.php): failed to open stream: No such file or directory in /www/wwwroot/macbeats.win/usr/plugins/AccessoriesPro/Widget/Item.php on line 118
Fatal error: require(): Failed opening required '/www/wwwroot/macbeats.win/usr/plugins/AccessoriesPro/templates/item/.php' (include_path='.:') in /www/wwwroot/macbeats.win/usr/plugins/AccessoriesPro/Widget/Item.php on line 118
’‘’
环境信息
本意是想在独立页面中使用部分加密的效果,但似乎插件没有考虑在独立页面中使用的情况?希望能得到帮助,谢谢!
转换时没有加锁,多个实例同时运行时会出现严重问题。
您好抱歉打扰您了,typecho在升级更新为1.2.0版本、handsome主题9.0.2后,加密插件在输入正确密码后跳转白屏,再次刷新后回到需要重复输入密码的状态,请问是插件需要更新吗还是个人设置出错了
Warning: Undefined array key "action" in /www/wwwroot/typecho/usr/themes/handsome/libs/Request.php(222) : eval()'d code on line 1
Warning: Undefined array key "action" in /www/wwwroot/typecho/usr/themes/handsome/libs/Request.php(222) : eval()'d code on line 1
Warning: Undefined array key "action" in /www/wwwroot/typecho/usr/themes/handsome/libs/Request.php(222) : eval()'d code on line 1
Warning: Undefined array key "action" in /www/wwwroot/typecho/usr/themes/handsome/libs/Request.php(222) : eval()'d code on line 1
Warning: Undefined array key "action" in /www/wwwroot/typecho/usr/themes/handsome/libs/Request.php(222) : eval()'d code on line 1
Warning: Undefined array key "type" in /www/wwwroot/typecho/usr/themes/handsome/component/header.php on line 10
Warning: Undefined array key "type" in /www/wwwroot/typecho/usr/themes/handsome/component/header.php on line 10
Bug 描述
在输出独立页面列表(导航栏使用),或“上一篇”“下一篇”时,尽管只是输出标题,但该插件仍然被调用并处理content text,并且会输出插件的 header,footer,浪费了计算资源和带宽。其实只有当页面或文章的正文需要输出时,才需要调用该插件以及输出 header,footer
预期的改进:
仅当必要时(即输出摘要或全文时),才运行插件的核心替换逻辑,否则该插件不产生实际作用。
思路:
插件不要插到filter
,而是插到excerptEx
, contentEx
即可。
能不能像现在主流的在加密的位置实现渐变色过度,半遮盖最后免密的部分
最新版typecho release下载最新版插件,文章显示代码,不加密
插件已正确启用,但是无效
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.