Ok. But keep in mind that I don't use anymore VB2...
However, the code posted below will work perfectly for you.
Find the $thread['title'] (I don't remember the function name, sorry) and below, add:
Code:
if (strlen($thread['title']) > 45)
{
$thread['title'] = substr($thread['title'], 0, 42) . '...';
}
That will replace the hole title, for example:
"The white dog jumps over the red deer to catch the yellow ball!"
with:
"The white dog jumps over the red deer to catch the yello..." (45 chars limit).
Sorry, but if other VB2 users know what is the function I talk about, they will tell you exacly where to place the code mentioned above.
As you see, is pretty easy.
No need to complicate your life with complex code, simple will do just great.
Regards,
Floren.