花晨月夕
专注web开发,可开发网站、小程序、app、oa、erp等各种系统
Laycenter,用户积分不足时,文章刷新提示积分不足,但文章还是会被刷新
2023-03-11 08:59:11
@Md再更新试一下
2023-03-03 14:22:42
用户中心配置-文章发布
[img]https://kfuu.cn/zb_users/upload/2023/03/20230303142240167782456053520.png[/img]
2023-02-25 13:34:29
这需要frp客户端和nginx配合来实现跳转
你的nginx并不知道用户实际访问是http还是https,因为frp客户端在连接到内网的web服务器时都是通过80端口,所以只需要想办法告诉nginx用户是通过http还是https问题问题就能解决了
可以在frp客户端上配置加一个请求头,告诉nginx用户是用http访问的
加入配置 header_X-From-ssl = no
比如某个站点的配置修改后是这样的
[code:frp]type = http
local_ip = 192.168.2.211
local_port = 80
header_X-From-ssl = no
custom_domains = abc.net,www.abc.net
use_encryption = true
use_compression = true[/code]
然后重启frp客户端
在web服务器nginx配置中加入
[code:nginx]if ($http_x_from_ssl = 'no'){
return 301 https://$host$request_uri;
}[/code]
判断是否有在frp中自定义的请求头,如果有则代表是用http访问,那么就301跳转到https协议的网址
保存之后重启nginx
2023-02-23 08:54:10
在kodcloud官方下载原版程序 https://kodcloud.com/download/
将压缩包中的plugins\zipView文件夹上传到KOD文件管理插件 目录 zb_users/plugin/KODExplorer/KODExplorer/plugins/
打开文件 zb_users/plugin/KODExplorer/KODExplorer/data/system/system_setting.php
大概在93行位置加入以下代码
[code:javascript],
"zipView": {
"id": "zipView",
"regiest": {
"user.commonJs.insert": "zipViewPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "zip,tar,gz,tgz,ipa,apk,rar,7z,iso,bz2,zx,z,arj,epub",
"fileSort": 10
}
}[/code]
[img]https://kfuu.cn/zb_users/upload/2023/02/20230223085334167711361474435.png[/img]
之后刷新页面即可恢复zip相关功能
2023-02-23 07:52:22
[img]https://kfuu.cn/zb_users/upload/2023/02/20230223075221167710994122060.png[/img]
2023-02-13 21:09:49
@高地把你使用的代码
.square-thumb .entry-media .placeholder {
padding-bottom: 150%!important;
}
改为
[code:css].square-thumb:not(.single) .entry-media .placeholder {
padding-bottom: 150%!important;
}[/code]
2023-02-13 21:06:58
@高地[code:css].article-content .post-album {background-color: transparent;}
.article-content .post-album li {width: 25%;}[/code]