定制 spanjaan/wn-blogportal-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

spanjaan/wn-blogportal-plugin

最新稳定版本:2.0.0

Composer 安装命令:

composer require spanjaan/wn-blogportal-plugin

包简介

Extends Winter's Blog plugin with tags, archives, comments, view tracking, social sharing, and author features.

README 文档

README

Winter CMS License

A powerful Winter CMS plugin that extends Winter.Blog with comments, tags, archives, view tracking, social sharing, and author features.

Features

💬 Comments System

  • Hierarchical nested comments with replies
  • User authentication (Backend, Frontend, Guest)
  • Comment moderation (Approve, Reject, Spam)
  • Like/Dislike functionality
  • Author favorites - Pin important comments
  • Markdown support
  • Captcha & Honeypot spam protection
  • Comment modes: Open, Restricted, Private, Closed

🏷️ Tag Management

  • Custom tags with slugs
  • Promoted tags support
  • Tag color customization
  • Filter posts by tags

📅 Archive System

  • Archive links by year/month
  • Date-based post filtering

📊 Statistics & Analytics

  • View counter & unique visitors
  • Comment statistics
  • Post popularity tracking

🔗 Social Sharing

  • Facebook, Twitter, LinkedIn, WhatsApp
  • Share count tracking

👤 Author Features

  • Custom display names
  • Author slug & archives
  • About me section

Installation

composer require spanjaan/wn-blogportal-plugin
php artisan migrate

Components

Posts Components

Component Description
blogportalPostsByTag Display posts filtered by tag
blogportalPostsByAuthor Display posts by author
blogportalPostsByDate Display posts by date
blogportalPostsByCommentCount Posts sorted by comments
blogportalPopularPosts Most viewed posts

Comments Components

Component Description
blogportalCommentSection Full comments with form
blogportalCommentList Comments list only

UI Components

Component Description
blogportalTags List of tags
blogportalArchiveLinks Archive links
blogportalShareButtons Social share buttons

Usage Examples

Comments Section

[blogportalCommentSection]
postSlug = "{{ :slug }}"
commentsPerPage = 10
sortOrder = "created_at desc"
formPosition = "above"
==

Posts by Tag

[blogportalPostsByTag]
tagFilter = "{{ :slug }}"
postsPerPage = 10
==

Posts by Author

[blogportalPostsByAuthor]
authorFilter = "{{ :slug }}"
postsPerPage = 10
==

Posts by Date

[blogportalPostsByDate]
dateFilter = "{{ :date }}"
postsPerPage = 10
==

Popular Posts

[blogportalPopularPosts]
postsPerPage = 5
==

Tags List

[blogportalTags]
hideEmpty = 1
==

Archive Links

[blogportalArchiveLinks]
archivePage = "blog/date"
==

Share Buttons

[blogportalShareButtons]
postSlug = "{{ :slug }}"
==

Settings

Access via Settings > BlogPortal in backend:

  • Guest comments enable/disable
  • Comment moderation options
  • Like/Dislike settings
  • Markdown & Captcha
  • TOS requirement
  • Comment modes per post

Backend Features

Menu Items

  • Tags - Manage blog tags
  • Comments - Manage with moderation
  • Share Counts - Social statistics

Post Fields

  • Comments visibility
  • Comment mode (Open/Restricted/Private/Closed)

User Fields

  • Display name
  • Author slug
  • About me

Requirements

  • Winter CMS 1.2+
  • Winter.Blog plugin

统计信息

  • 总下载量: 75
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固