I´m about to build a simple topic tagging system based on bbcode.
First off, is there any out there?
I´ve searched around but could not find any, please post a link if you know some.
I would like to give my users the ability to tag topics. It would be a simple bbcode e.g:
Code: Select all
[taggert]My tag[/taggert]
The thing I would like to have help with is that I want the bbcode to be shown around the subject title, not in the text message. Im thinking of fetching this unique bbcode and assign it to a new template variable and then add this variable in viewtopic_body.html.
Example:
In viewtopic (in assign_vars):
Code: Select all
'TOPIC_TAG' => (fetch the data of [taggert] bbcode if any, and place it in a variable),
Code: Select all
<html>{TOPIC_TITLE} - {TOPIC_TAG}</html>