I'll try to make it a bit general (hopefully). We use XThreads functions here, (the hard things is done by XThreads
), so maybe we can use it for other XThreads applications.
Try this (attached - modify it as our needs).
Edit the file, find and and modify the value:
Edit mnxt_mrtxpd_threads and/or mnxt_mrtxpd_threads_thread templates as our needs.
By default, we can find thread subject inside the mnxt_mrtxpd_threads_thread.
Use {$thread['profilelink']} for thread author username (linked to profile).
In the template, we can use {$threadfields['key']} for non attachments fields (description, category and etc), and {$threadfields['key']['item']} for attachments fields (image and/or files).
We can use something like this if we want the thumbnail displayed in the side box has a different size with the thumbnail displayed in threadlist/showthread:
Modify it as our needs, depends on the Key for our image custom fields. And make sure that the thumbnail size is in our Image Thumbnail Generation list settings (or we can add it there, and run the Rebuild XThreads Attachment Thumbnails tools).
{$forumurl_q} followed by filtertf_key will lead us to the forumdisplay (filtered).
Use {$thread['rank']} for the rank.
If we want to use image for the rank, we can use it something like this:
Then upload hottest_threads_1.png, hottest_threads_2.png, hottest_threads_3.png and etc, depends on the limit, where 1 is the hottest threads.
Please tell me if there is something wrong with the code. I'm still learning.