Hover text mod to see most recent reply

Started by MRM4, March 01, 2007, 08:51:53 AM

Previous topic - Next topic

MRM4

I'm sorry if this exists and I didn't see it. I'm looking for a mod that will allow each user to see the most recent reply by hovering over the link of the thread without actually going into that thread. That allows the user to see whether they want to read the topic or not.

Kays

There's a mod to show first message preview, but that's not what you're looking for.

To do what you want only requires a small change in the skin files.

In the folder of the skin you wish to add this to. Open MessageIndex.template.php and find a line which looks like this:

Code (find) Select
<a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a>


and replace it with.

Code (replace) Select
<a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $topic['last_post']['preview'], '" style="float: right;" /></a>


This will show a preview of the last post if you hover over the last post icon.


If that line isn't quite the same what you need to do is to replace:

title="', $txt[111],

with

title="', $topic['last_post']['preview']

And remember to back up your files before making any changes.

Hope this is of some help.:)

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Advertisement: