Customizing SMF > Now Available

MouseOver: topic preview!

<< < (4/22) > >>

soapbath:
This don't work in classic template :( And I can't seem to get it to work it in.. would there be a code for classic template?

soapbath:
Anyone?

Jerry:
yes it would be in the classic template files instead of default Themes folder.

Oldiesmann:
I wish I had thought about that when someone asked me to do this. I did it by adding the title to the first post link in MessageIndex.php. Works just as well either way though.

spiros:
I have applied this change but nothing happened. I have also tried to find


--- Code: ---', $topic['first_post']['link'];
--- End code ---

but the most relevant string I found was


--- Code: ---$started = $topic['first_post']['member']['id'] == $ID_MEMBER;
--- End code ---

I am using SMF 1.0, default template


--- Quote from: [Unknown] on October 15, 2004, 03:55:32 PM ---Bloody.... grr... find, MessageIndex.php:


--- Code: --- $row['firstBody'] = substr($row['firstBody'], 128) . '...';
$row['lastBody'] = strip_tags(strtr(doUBBC($row['lastBody'], $row['lastSmileys']), array('<br />' => '&#10;')));
if (strlen($row['lastBody']) > 128)
$row['lastBody'] = substr($row['lastBody'], 128) . '...';
--- End code ---

Replace:


--- Code: --- $row['firstBody'] = substr($row['firstBody'], 0, 128) . '...';
$row['lastBody'] = strip_tags(strtr(doUBBC($row['lastBody'], $row['lastSmileys']), array('<br />' => '&#10;')));
if (strlen($row['lastBody']) > 128)
$row['lastBody'] = substr($row['lastBody'], 0, 128) . '...';
--- End code ---

Will be resolved in the next release.

-[Unknown]

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version