Customizing SMF > Now Available

MouseOver: topic preview!

<< < (22/22)

avf:
love this one !

Does it work on 1.1.5 ?
thanks
avf

ddabcd277:
Hello,

Don't like to write in very old topics but I love the idea discussed here.  :)

Can someone explain how preview topic can be achived in SMF 2.0.1.?

Many Thanks,

Douglas:
Okay, I was looking to get this implemented on my own forums... and figured out how to do this.  This works for both 2.0.1 AND 2.0.2.

First, in index.template.php (must be done for each theme folder separately), find

--- Code: ---$settings['message_index_preview']
--- End code ---
and set false to true.

Next, in MessageIndex.template.php (must be done for each theme folder that has this file), find

--- Code: ---<span id="msg_' . $topic['first_post']['id'] . '">
--- End code ---

Change it to

--- Code: ---<span id="msg_' . $topic['first_post']['id'] . '" title="', $topic['first_post']['preview'], '">
--- End code ---

Congrats, you now have this enabled for your SMF 2.0.1 / 2.0.2 forums!

ForumACK:

--- Quote from: Douglas on August 19, 2012, 10:37:37 AM ---Okay, I was looking to get this implemented on my own forums... and figured out how to do this.  This works for both 2.0.1 AND 2.0.2.

First, in index.template.php (must be done for each theme folder separately), find

--- Code: ---$settings['message_index_preview']
--- End code ---
and set false to true.

Next, in MessageIndex.template.php (must be done for each theme folder that has this file), find

--- Code: ---<span id="msg_' . $topic['first_post']['id'] . '">
--- End code ---

Change it to

--- Code: ---<span id="msg_' . $topic['first_post']['id'] . '" title="', $topic['first_post']['preview'], '">
--- End code ---

Congrats, you now have this enabled for your SMF 2.0.1 / 2.0.2 forums!

--- End quote ---

thanks!

Navigation

[0] Message Index

[*] Previous page

Go to full version