2 Star 8 Fork 6

院主/typecho-fans插件库

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.github/workflows
AMP
APlayerAtBottom
AbbrSlug
AjaxComments
AllowIp
Announcement
AnotherLike
AntiSpam
AppStore
ArticleList
ArticleTemplate
At
Attachment
AudioPlayer
AutoBackup
AutoLaTeX
AutoSlug
AutoTags
Avatars
BackToTop
CSDN
CatClaw
CateFilter
ChangyanCallback
Ckeditor4Typecho
CodeMirror
CodeStyle
CommentFilter
CommentPush
CommentToMail
ContentIndex
Contribute
CosForTypecho
DbManager
DevTool
DownloadFile
DynamicLines
Editor
EditorMD
EmlogToTypecho
GAuthenticator
GHbutton
GeeTest
GithubCard
GithubWidgetUser
GoLinks
GoodLuck
GoogleAnalytics
GoogleCodePrettify
GravatarCache
Hermit
HighSlide
HighlightSearchKeywords
Html2Text
IQapTcha
JSON
JWPlayer
JustFeed
Keywords
KirinShiKi
LREditor
Like
Links
LoginDesigner
LoveKKComment
LoveKKWeiBo
MagikeEditor
MenuTree
MenuTree_hongweipeng
MostCache
MyPlayer
MyTagCloud
Ncache
OssForTypecho
Passport
PasteImage
PostRating
PostsCategoryChange
Prism
QNUpload
QiniuFile
RandomThumbnail
Rdog
Reposidget
RewriteRule
RoutesHelper
SCS
ShortLinks
Sinauth
Sitemap
SlantedExtend
SlimBox2
Smilies
Snowstorm
Soso
SplitArchivePage
Stat
Sticky
Subscriber
SyncPost
TEReplace
TeKit
TeStore
ThemeDemo
Tinyfader
Titleshow
TopTop
Typembed
Ueditor
Ukagaka
Update
UpdateAssistant
UploadPlugin
UpyunFile
UserSign
Version
Views
Watermark
WeChatHelper
WeChatShare
WeiboSync
XiaMiPlayer
YoduBGM
YoduPlayer
ZIP_CDN
Zan
alexarank
changyandandian
Action.php
Plugin.php
README.md
reCAPTCHA
reCAPTCHAv3
.gitignore
AUTO-UPDATE.php
README.md
TESTORE.md
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

什么是单点评论

当接入畅言云评论的网站有自己的账号系统时,想实现和云评论目前的账号体系兼容时,云评论提供以下单点登录解决方案,达到的效果为:您的网站登录了,云评论评论框自动登录;云评论评论框退出,您的网站自动退出!

具体就是网站登录好账号后,网站的畅言账号也会自动登录;或者点击畅言上边的登录点击设定好图标进入登录页面或者弹窗进行站点的登录;值得说明的是使用畅言里面的第三方登录并不会关联站点(此时就相当于站点的游客评论【未来也许能攻克,不过不太想花大量时间研究了,建议忽略哈!】)。

Typecho畅言单点登录插件

使用方法

0,提醒 这个插件是畅言云评论的单点登录插件,在使用前请确保已经引用好畅言评论,引用方法详见畅言官网https://changyan.kuaizhan.com/

1,上传并启动插件 将插件压缩包解压得到changyandandian的文件夹,将文件夹上传至typecho插件目录下(一般为usr/plugins),然后打开typecho后台,插件页面找到并启动该插件,插件设置里可设置登录页面地址或者登录弹窗调用函数(不懂也可以不填)!

2,畅言PC版设置 打开畅言PC版设置开启单点登录,上传icon图标,然后选择js弹框登录,然后在下方输入changyanlogin();;用户信息接口url填写为http://你的域名/changyan;用户退出接口url填写为http://你的域名/changyan/logout;具体如下图。

Typecho畅言单点登录插件.jpg

3,畅言WAP版设置 基本和pc版设置一样,唯一区别的是需要设置登录地址,一般设置为http://你的域名/admin/login.php即可,如下图

Typecho畅言单点登录插件.jpg

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/taotecode/typecho_fans_plugin_library.git
git@gitee.com:taotecode/typecho_fans_plugin_library.git
taotecode
typecho_fans_plugin_library
typecho-fans插件库
master

搜索帮助