Welcome, Guest. Please Login or Register.
November 21, 2017, 03:21:07 AM
Home Help Search Login Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Topic: Shorten last Post display on Index « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Shorten last Post display on Index  (Read 3882 times)
Hort
Noobie
*
Posts: 14


I'm a llama!


Shorten last Post display on Index
« on: March 16, 2004, 01:11:28 PM »
Reply with quote

Hi,

is there a way to shorten the number of letters shown of the last post's title on the Boardindex in the far right column (Last Post)?

Thanks

Hort
Logged
Hort
Noobie
*
Posts: 14


I'm a llama!


Re:Shorten last Post display on Index
« Reply #1 on: March 21, 2004, 05:21:04 AM »
Reply with quote

Hi,

I still need to shorten the number of letters  shown as the last post display in the right-side column  ???

Anyone know how I can do that?
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...


WWW
Re:Shorten last Post display on Index
« Reply #2 on: March 21, 2004, 07:06:48 AM »
Reply with quote

Well, I looked at this, but wasn't sure what you wanted...

So what exactly is too long for you? Like the date/time (where there's always the possibility of changing the default format) or the post subject?

Edit:

I still need to shorten the number of letters  shown as the last post display in the right-side column  ???

* Peter Duggan needs some more sleep! ::)
« Last Edit: March 21, 2004, 07:08:59 AM by Peter Duggan » Logged

Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...


WWW
Re:Shorten last Post display on Index
« Reply #3 on: March 21, 2004, 07:19:13 AM »
Reply with quote

Search BoardIndex.php for:

Code: [Select]
$subject = (strlen($subject) > 20)? htmlspecialchars(substr($subject, 0, 20) . '...'):htmlspecialchars($subject);
And change the two '20's to whatever you want.
Logged

Hort
Noobie
*
Posts: 14


I'm a llama!


Re:Shorten last Post display on Index
« Reply #4 on: March 21, 2004, 09:35:53 AM »
Reply with quote

Hi,

thanks!   :D

That was what I meant.

Hort
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Topic: Shorten last Post display on Index « previous next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.0.12 | SMF © 2016, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.117 seconds with 19 queries.