Topic Prefixes for phpBB 3.1
This extension aims to add topic prefix functionality to phpBB 3.1 boards.
Important notes:
- This extension requires PHP 5.4 or greater. It will NOT work on 5.3 or below. This is due mainly to some new syntax features as well as a new data type I am using. Specifically, for the techies reading this, I am using traits as well as the new array syntax (
[1,2,3]
instead ofarray(1,2,3)
). These are not backward compatible and will cause errors on any server using a version of PHP that is less than 5.4. - Do NOT use this on a live board. I provide limited support for BETA extensions, but cannot be held liable for anything that goes wrong because of this extension.
Please provide feature requests, functionality suggestions, etc. in this topic. While I do want to cater to those who will be using this extension, I am trying to keep it fairly lightweight. I am adding events, along with documentation for making your own extension use or extend mine.
Planned Features:
(Note: not all of these are necessarily complete, but they are planned for the first release, unless any are not yet possible due to limitations in phpBB core).
- Manage topic prefixes in the ACP
- Restrict prefixes to certain forums and for use by certain users or groups
- Multiple prefixes may be applied to a single topic
- Standard and custom BBCode is allowed for styling prefixes
- Tokens can be used for dynamic prefixes (e.g. {POSTER} for username of poster, {DATE} for the date/time the prefix was added). Tokens may be added by other extensions, or may be requested for core inclusion.
- Prefixes show in many locations across the board (viewforum, viewtopic, search, mcp). The list of locations will expand as the necessary template and PHP events are included into the phpBB codebase.
- Click on a prefix in viewforum to filter on topics that have that prefix