Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Years, 4 Months, 4 Weeks ago Post Titles
#1
Solved: 2 Years, 4 Months, 4 Weeks ago
Hi,

If a user has a post title that is really long, example: This is my really fantastic awesome yet boring Post Title

You see it on the actual post as: This is my really fantastic awesome yet boring Post Title



NOW, when said user's long post title shows up on the forums index, portal and search, it is displayed like:

This is my really fantasti...



There is a letter character limit set for display for long post titles. where do I edit the letter count set to display on post titles?

I'd appreciate it if anyone can point me in the right direction.

I need it something like:


This is my real...
Hey man, what's up?
Reply
#2
Solved: 2 Years, 4 Months, 4 Weeks ago
Open the inc/functions_forumlist.php file and find this bit;


if(my_strlen($lastpost_subject) > 25)
{
$lastpost_subject = my_substr($lastpost_subject, 0, 25)."...";
}

Change the two 25's to whatever length you want to change it to.

That will work in the index for the "Last Post" section. Not sure about other parts.
Reply
#3
Solved: 2 Years, 4 Months, 4 Weeks ago
The solution you provided was site wide, it worked for everything I needed, So grateful, thank you +1
Hey man, what's up?
Reply
#4
Solved: 2 Years, 4 Months, 4 Weeks ago
(01-23-2017, 12:09 AM)Michael2014 Wrote: The solution you provided was site wide, it worked for everything I needed, So grateful, thank you +1

Ah right cool! No problem, glad to help Smile
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)