Posted by
jsmoraes on
Dec 15, 2013; 3:06am
URL: https://support.nabble.com/Option-to-solve-topics-Give-XP-tp7588566p7588763.html
Ok, I finished the code. With the following features:
1) Mark the message as question and present an icon to it.
2) Mark the message(s) as correct answer(s) and present an icon to it. More one message can be marked.
3) The author of question message can edit the subject (name or title of message, if you prefer), but can't change the status of be marked.
4) The author of answer message can edit the subject (name or title of message, if you prefer), but can't change the status of be marked.
5) Nobody see the flags that mark messages. Only Administrators can see.
6) Only Administrator can mark or unmark the message.
7) Any kind of character or sentence can be used to mark messages. (it needs changing in some lines of the code to reconize them).
8) Replies don't propagate the flags.
9) List and Thread modes don't show the flags.
10) Any image can be icons, respected the size. The files with image must be published. Inside the forum or out forum. (it needs changing in some lines of the code). If inside the forum, the gallery must has permission to be seen by anyone: registered or not.
Not developed:1) automation to insertion of flags. It must be inserted manually, by administrator.
2) automation to clear the flags. It must be deleted manually, by administrator.
3) any kind of contabilization of score, bonus or other ressources.
note:It's not the best code, and certainly it can be improved. Everyone are free to do it.
I reckon this code can be used in many others circustances than forum support.
A table with characteres, as flag, and images can mark many kind of message: important, new, admin, interrogation, attention ...
The full code was posted in NAML - free support section.
The first version, when the icon solved was at position of pinned icon, can be used to call attention to any message. Pinned or not the icon will be showed. The code to this was posted in NAML - free support section as append.


