Download the PHP package zhihe/restricted-posts without Composer
On this page you can find all versions of the php package zhihe/restricted-posts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package restricted-posts
Restricted Posts for Flarum
A Flarum extension that allows post authors to mark their posts as restricted content with visual indicators and integrated access control.
✨ Features
- 🔒 Post Marking: Post authors can mark their own posts as restricted
- 🎯 Visual Indicators: Lock icon badges appear on restricted posts
- ⚙️ Post Controls: Easy mark/unmark via post dropdown menu
- 📝 Composer Integration: Checkbox to mark posts as restricted during creation
- 🌐 Multi-language: English and Chinese (Simplified) support
- 🔗 Extension Integration: Works with money systems and access control
📋 Requirements
- Flarum 1.8.0+
- PHP 8.1+
🚀 Installation
Usage
For Post Authors
- Use the "Restricted" checkbox when creating posts
- Mark existing posts via the post dropdown menu (⋮)
- Only post authors can mark/unmark their own posts
Visual Design
- 🔒 Orange lock badge appears on the right side of post headers
- Works alongside zhihe-primary-posts bookmark badges
- Consistent styling with Flarum's design system
🔗 Integration
This extension is designed to work seamlessly with:
- zhihe-money-system: Provides the
is_restrictedflag for money-based content filtering - zhihe-primary-posts: Compatible badge positioning
- Access control systems: Integrates with permission-based restrictions
🛠️ Development
Local Development Setup
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
MIT License
🆘 Support
- Issues: GitHub Issues
- Community: Flarum Community Forum
Love this extension? Consider starring the repository and sharing it with the Flarum community! ⭐
All versions of restricted-posts with dependencies
PHP Build Version
Package Version
The package zhihe/restricted-posts contains the following files
Loading the files please wait ...