Adding extra information to the Last Post column

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Adding extra information to the Last Post column

mark
Is it possible to use NAML to make it so the Last Post column in at least the Category and Forum application types will show this information about the last post:

• The subject of the post.
• The poster’s avatar.
• The sub-forum the post belongs to.

If so, do I need to repeat the NAML code changes for every single sub-forum, or is it possible to do it for the whole site all at once?
Reply | Threaded
Open this post in threaded view
|

Re: Adding extra information to the Last Post column

GregChapman
mark wrote
• The subject of the post.
That's already in the Subject column - Yes, I know it's possible for a poster to edit the subject, but if it's worthy of altering then either the poster or administrator should consider moving it to become a new topic. (Unless the forum defaults have been changed the author of a post is able to move the post after making the reply. Hopefully, the poster will also include a full quote of the post to which the reply refers, so the context of the response is retained.)
• The poster’s avatar.
That would take a little coding knowledge, but entirely possible. Bear in mind that some data (e.g. sub-folder icons) is already removed from display on small screens, so you'd probably also want to implement such optional extras with caution as more and more users tend to use mobile devices.
• The sub-forum the post belongs to.
That facility is already built-in. Simply engage "Topics View"! You can even make it the default for a Forum app:
Options > Application > Change appearance > Preferences > Forum Format
It may be worth reading more about the various apps at
http://greghelp.991552.n3.nabble.com/A-Necessary-Overview-td4012836.html
then read the following pages on Loosely and Strongly structured apps.
If so, do I need to repeat the NAML code changes for every single sub-forum, or is it possible to do it for the whole site all at once?
Once you begin to investigate the usages of various macros you'll find a screen like this:

Usage of Macro Screen
As you see, you'll only need to edit the "last_post_column" macro once and its code will be applied where ever it is used.
Just a Volunteer Nabble Helper - because the nice folk at Nabble have helped me!
GregHelp - Building a set of answers to Nabble FAQs.