惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Schneier on Security
Schneier on Security
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
A
About on SuperTechFans
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
V
Visual Studio Blog
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
Scott Helme
Scott Helme
H
Heimdal Security Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
Jina AI
Jina AI
S
Securelist
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
量子位

小宜技术猫

幻兽帕鲁参数修改网页源代码 Windows高效图片压缩工具:90%以上压缩比的图片压缩小工具 Windows优选DNS工具:解决网页打不开和远程操作问题 积极维护防汛救灾网络秩序倡议书 萌新源API接口免费开源管理程序源码 彩虹云和小储云公告数据查询网PHP源代码 腾讯视频VIP解析源码接口PHP源代码 IP签名档PHP开源版:轻松打造网站个性签名档 解决Nginx和CDN嵌套上的请求日志记录问题
Typecho显示IP归属地插件
小宜技术猫 · 2023-06-27 · via 小宜技术猫

Typecho显示IP归属地插件是一款非常实用的插件,可以帮助用户快速了解访问者的地理位置信息。 该插件的使用非常简单,只需要在Typecho后台安装并启用即可。

在启用后,该插件会自动获取访问者的IP地址,并通过本地数据库查询该IP地址的归属地信息。

Typecho显示IP归属地插件  Typecho插件 IP归属地 第1张

使用说明

解压后修改文件夹名为 XQLocation,将插件上传至网站目录的 /usr/plugins 下,在 Typecho 后台「插件管理」处启用插件。

代码

<?php XQLocation_Plugin::render($comments->ip); ?>

如果是系统自带的评论框架,只需要这样修改

<?php XQLocation_Plugin::render($this->ip); ?>

下载地址

此内容评论后可见,你需要评论并刷新本页后查看内容

文章版权声明:除非注明,否则均为小宜技术猫原创文章,转载或复制请以超链接形式并注明出处。

发表评论

网友昵称:109514339

网友昵称:109514339

网友昵称:109514339

网友昵称:小蛋

网友昵称:8903438

2025-06-04 来自贵州 回复

[Coffee][Coffee][Coffee][Coffee]顶顶顶顶

网友昵称:8903438

网友昵称:顶顶顶

网友昵称:1175233601

网友昵称:11

网友昵称:YEMING叶铭

网友昵称:ooooooo

网友昵称:花坊有约

网友昵称:lichen360

网友昵称:大千

网友昵称:许大阳

2023-11-22 来自江苏 回复

感谢分享感谢分享

网友昵称:112

2023-11-08 来自河南 回复

好啊a 感谢分享

网友昵称:1601211152

2023-11-02 来自江西 回复

感谢分享感谢分享

网友昵称:沈史

网友昵称:吃瓜

网友昵称:11111

2023-09-25 来自安徽 回复

111111111111111111111111111

网友昵称:丶相逢既是袁

网友昵称:云菟

2023-09-11 来自浙江 回复

感谢作者

网友昵称:11111

2023-09-24 来自安徽 回复

@云菟 11111111111111111111

网友昵称:11111

2023-09-24 来自安徽 回复

@11111 22222222222

网友昵称:11111

2023-09-24 来自安徽 回复

@11111 33333333333333

网友昵称:kucat

2023-09-01 来自四川 回复

666666666[Fabulous]

网友昵称:2456392712

网友昵称:溪云

2023-08-21 来自湖南 回复

666666666

网友昵称:2357749867

2023-08-16 来自云南 回复

6666666666666666666666666

网友昵称:12345678909876

2023-08-04 来自辽宁 回复

6666666666666666

网友昵称:aa

2023-07-11 来自广西 回复

66666666

网友昵称:人类小徐

2023-07-01 来自安徽 回复

FROM_UNIXTIME(created, '%m/%d') = '{$todayDate}' and type = 'post'