Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Full thread titles on index page
#1
Not Solved
I'd like the full thread titles to show on the index page instead of as now being cut short and ... added if they are considered too long. How do I go about this?

As an example, this is how it looks now:

Why am I Unhappy Right
No...

It makes no sense not to have:

Why am I Unhappy Right
Now?
Reply
#2
Not Solved
~/inc/functions_forumlist.php#L298-L301
if(my_strlen($lastpost_subject) > 25)
{
$lastpost_subject = my_substr($lastpost_subject, 0, 25)."...";
}

you can change characters number from 25 to 75 (or 100 / 120)
Reply
#3
Not Solved
Thanks!

That worked fine!

And how do I do the same thing for the threads in the Portal?
Reply
#4
Not Solved
~/portal.php#L377-L380
if(my_strlen($thread['subject']) > 25)
{
$thread['subject'] = my_substr($thread['subject'], 0, 25) . "...";
}
you can follow the same method as suggested above
Reply
#5
Not Solved
Thank You for quick and excellent answers!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)