We are using TP and SMF for a software development portal.
We have a board for just listing Bugs.
This acts as both a resource to the developers and as a reference for anyone reporting bugs.
We are in need of a way to create a new column in the thread view for priority of the bug. We normally could just use pics in the icon section, but we also need that for determining whether something is a bug or not.
If we have a high priority bug, we would have a 1 in the priority section, and a picture of a bug for the icon.
Once we have the new column, we would need to have the ability to sort by priority.
Currently we have the forum looking something like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.priacta.com%2Fforum%2Ftp-images%2FImage%2Fcurrentview.jpg&hash=4534b33039d83ccd1f1b3ec38e59c92c0090f3c3)
We are needing it to look something like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.priacta.com%2Fforum%2Ftp-images%2FImage%2Fmodifiedview2.jpg&hash=95fbb8f45e637ba9dbfee2a5621f45809ee53a6d)
The information on the topics is stored in the Sql Database correct?
Is there a simple way of making it store extra information with the topic data for priorities?
Once that is done, it should be a piece of cake to make it sortable by priority.
Any recommendations?
OK, This is what I have figured out,
The forum uses the database to store its information on stuff like what icon a topic uses.
I've gone into the phpMyAdmin and create a new field in smf_messages, called 'priority'.
I then went through MessageIndex.template.php in both the default and and my current theme, replacing what it looked like I'd need to to create a new column in the topic listins, that stores the info for the priority.
I also edited the SSI.php file, to creat arrays with the priority data present. It doens't look like I've managed to do anything however on the board.
Maybe I'm going about this the wrong way?
How do I create a second column similar to the topic icon column, and make it so that I can place text there?
I just realized. This is in the wrong place probably. If there's a mod out there, would you mind placing this in "Help Wanted" and rename it to "[FREE] New Sortable Column In Thread View", that would be great.
'till then, does anyone out there have any suggestions?