Download the PHP package zhihe/primary-posts without Composer
On this page you can find all versions of the php package zhihe/primary-posts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zhihe/primary-posts
More information about zhihe/primary-posts
Files in zhihe/primary-posts
Download zhihe/primary-posts
More information about zhihe/primary-posts
Files in zhihe/primary-posts
Vendor zhihe
Package primary-posts
Short Description Mark posts as primary content for serialized stories and multi-chapter discussions
License MIT
Homepage https://github.com/echolocked/zhihe-primary-posts
Package primary-posts
Short Description Mark posts as primary content for serialized stories and multi-chapter discussions
License MIT
Homepage https://github.com/echolocked/zhihe-primary-posts
Please rate this library. Is it a good library?
Informations about the package primary-posts
Zhihe Primary Posts Extension
A Flarum extension that allows marking posts as primary content, perfect for serialized stories, tutorials, guides, and any multi-part content.
Features
- Primary Post Marking: Mark posts as "primary content" vs comments/discussions
- Visual Indicators: Bookmark badges on primary posts for easy identification
- Smart Filtering: Toggle between "Show All" and "Primary Only" views
- Author Controls: Mark/unmark controls in post dropdown menus
- Composer Integration: Checkbox for marking posts as primary during creation
- Bilingual Support: Chinese (Simplified) and English translations
Perfect for:
- 📚 Serialized stories and episodic content
- 📖 Tutorials and educational series
- 🛠️ Development logs and progress updates
- 📝 Guides and documentation
- 🎯 Any multi-part content where you want to distinguish main content from discussions
Requirements
- Flarum 1.8.0+
- PHP 8.1+
Installation
Install with Composer:
Enable the extension:
Usage
For Authors
- Creating Posts: Check the "Primary" checkbox when creating discussions or replies to mark them as primary content
- Managing Posts: Use the dropdown menu (three dots) on posts to mark/unmark as primary
For Readers
- Filtering: Use the sidebar toggle button to switch between "Show All" and "Primary Only" views
- Visual Cues: Primary posts display a bookmark icon in the header
Database Schema
The extension adds two columns to the posts table:
is_primary: Boolean flag for primary contentprimary_number: Sequential numbering for primary posts (future feature)
Development
Building Frontend Assets
File Structure
License
MIT License - see LICENSE file for details
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
Support
- Issues: GitHub Issues
- Documentation: This README
- Discussions: Flarum Community
Making every post count 🔖✨
All versions of primary-posts with dependencies
PHP Build Version
Package Version
Requires
flarum/core Version
^1.8.0
The package zhihe/primary-posts contains the following files
Loading the files please wait ...