MOD Description: This MOD will enable Topic Authors and Moderators to choose from a list of topic tags (i.e. prefixes) for a topic.
A Forum Administrator can set global topic tags including html for color or small images (icons).
MOD Version: 0.1.0 (i.e. Beta1)
phpBB Version: 3.0.RC1 or above
Tested on RC2
Author: Highway of Life
MOD Features:
- Admin can define a global set of topic tags that show up in all forums
- Permission setting for Topic Authors to set a topic tag, and edit a topic tag
- Permission setting for Moderators to edit/set topic tags
- Topic Tags are shown in the Quick-Mod tools for Topic Author and Forum Moderators as well as the posting page
- Topic Author and Forum Moderators can set or re-set Topic Tags when posting new topics, posting replies, or when editing posts within the topic.
- MCP Integration - Moderators can set Topic Tags for multiple topics through the Moderator Control Panel
- HTML functionality for topic prefixes, so each tag can have it’s own color or icon
- MOD Comes with multiple languages, including instructions in MODX -- see below for list
- Dutch by Patsi32
- English by Highway of Life
- Finnish by niejon
- German by porfavor
- Polish by Lew21
- Spanish by ecwpa
- Swedish by thelinx
- Admin configurable Forum-specific topic prefixes, specific set for Topic Authors and Moderators (separately)
- Admin Topic prefix override - override the global set or disable topic prefixes completely for a specific forum
- Option to allow user/moderator to set a custom topic prefix (on a per-forum basis)
Notes: If you want to setup multiple tags, use single tags to achieve this.
i.e.
- [Support]
- [Solved]
- [Support][Solved] <-- this is actually one tag, but will appear as two.
Credits: Thanks to Richard for pushing me to get this MOD built this week.
Geoffreak for the awesome automated MODX generator -- saved me quite a bit of time with all the edits.
Support Topics:
STG Support Topic
phpBB.com Support Topic
phpBBModders Support Topic
Screenshots:
Demo: http://jdh23.com/modTTG/index.php provided by jdh
MOD Download: Download
FAQ:
Q. I get the following Error:
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions_topic_tags.php on line 118: array_keys() [function.array-keys]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_topic_tags.php on line 118: array_combine() expects parameter 1 to be array, null given
Q. How do I add Topic Tags support to the Search?
A. See This post for modifications and code graciously provided by cedarrapidsboy, which I have not had the time to do.
How to install this MOD for subsilver2
1) Open the orignal install.xml file.
2) Scroll down to the styles/prosilver/mcp_forum.html instruction. Do this step exactly as it is written there, but for styles/subsilver2/mcp_forum.html, of course.
3) The next step, for styles/prosilver/posting_editor.html, is different to the original instructions though. subsilver2 does not have a posting_editor.html, so instead, do the following:
FIND
Code: Select all
value="{SUBJECT}" /></td>
</tr>
Code: Select all
<!-- INCLUDE posting_topic_tags.html -->
Code: Select all
<!-- IF S_POST_ACTION and S_TOPIC_TAGS -->
<tr>
<td class="row1" width="22%"><b class="genmed">{L_TOPIC_TAGS}:</b></td>
<td class="row2" width="78%"><select class="gensmall" name="topic_tag" id="topic_tag">{S_TOPIC_TAGS_OPTIONS}</select></td>
</tr>
<!-- ENDIF -->