MyBB Community Forums
Show Last Posted Thread's Full Name on Index? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Show Last Posted Thread's Full Name on Index? (/thread-233985.html)



Show Last Posted Thread's Full Name on Index? - timelord - 2021-10-14

Hey there everyone. I want last posted thread's to be fully shown on index, where it shows last posted thread on forums. You know, when it pasts some number of characters, it just cuts the thread and place "..." instead, just like text-overflow:ellipsis; but I've not found anything like that in forumbit_depth2_forum_lastpost template, so I couldn't change it. Any ideas? Thanks!


RE: Show Last Posted Thread's Full Name on Index? - PARADOXP - 2021-10-14

i think it needs some core edits


RE: Show Last Posted Thread's Full Name on Index? - timelord - 2021-10-16

Any help?


RE: Show Last Posted Thread's Full Name on Index? - timelord - 2021-10-19

Anyone?


RE: Show Last Posted Thread's Full Name on Index? - HLFadmin - 2021-10-19

tl;dr Change the template to display $full_lastpost_subject.

However, I treat every new MyBB question as a learning opportunity. Many questions are beyond my skillset, but I keep trying to push that envelope. For the benefit of readers who are doing the same, here's the process I followed to come up with the answer.

This link is a great reference to MyBB, the best one I've found.
https://crossreference.mybb.de/nav.html?_variables/index.html

$lastpost_subject is defined in inc/functions_forumlist.php on line 313 and following.
It is derived from $full_lastpost_subject.

I note that the template creates a link with a title using $full_lastpost_subject, and it displays the text of the truncated $lastpost_subject.

No core edit required. Change the template to display $full_lastpost_subject.


RE: Show Last Posted Thread's Full Name on Index? - timelord - 2021-10-19

(2021-10-19, 11:32 AM)HLFadmin Wrote: tl;dr Change the template to display $full_lastpost_subject.

However, I treat every new MyBB question as a learning opportunity. Many questions are beyond my skillset, but I keep trying to push that envelope. For the benefit of readers who are doing the same, here's the process I followed to come up with the answer.

This link is a great reference to MyBB, the best one I've found.
https://crossreference.mybb.de/nav.html?_variables/index.html

$lastpost_subject is defined in inc/functions_forumlist.php on line 313 and following.
It is derived from $full_lastpost_subject.

I note that the template creates a link with a title using $full_lastpost_subject, and it displays the text of the truncated $lastpost_subject.

No core edit required. Change the template to display $full_lastpost_subject.

Thanks a lot! It was right in front of my eyes all along but couldn't see it somehow, appreciated!