News:

Wondering if this will always be free?  See why free is better.

Main Menu

MessagePreviewOnMouseOver

Started by snork13, February 03, 2006, 12:39:52 AM

Previous topic - Next topic

MothMan

I downloaded the package, opened up the archive file with Winzip, WinRAR, etc, opened the package-info.xml file.

Find:

<install for="1.1.4">

Replace with:

<install for="1.1.4, 1.1.6">


Find:

<uninstall for="1.1.4">

Replace with:

<uninstall for="1.1.4, 1.1.6">

Save the package-info-xml file and make sure the archive is updated with this new copy.

Then upload and install that package as you normally would.

*note:  I have nothing to do with this mod, and only know a wee bit about this stuff... so if something about this mod actually breaks 1.1.6, it's not my fault.  lol  I did install it on our 1.1.6 forum and so far it's working great.

stingerman


Cheewy

would you please update this for version 1.1.6 ?

Ron Jeremy

First,sorry for my bad english. Snork13 can you reform this mod and integrate this css http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm# in mod. I need something like this: when i cross over the topic i would like to show me a thumbnail of the first picture in that topic.

choloman05

Bump for updating for 1.1.7.   I really like this mod.  Simple, but very useful.

kyle007

Thx ! Works like a charm on 1.1.7  8)

Adish - (F.L.A.M.E.R)

i cannot find this code in the "Classic" Theme.

echo '
', $topic['is_sticky'] ? '<b>' : '' , '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], '</span>', $topic['is_sticky'] ? '</b>' : '';


It should be in the messageindex.template.php.... can you help please..

rarach

#247
I apologize if this has been discussed prior to my posting, but I thought maybe this could be a different situation.

I just installed this mod onto my forum, and it worked the first few times I hovered over topics, but then it stopped working. It no longer will show the text when hovering.

Any ideas regarding what could be happening here?

[edit]

Alright, so I have been noticing that the mod is working on occasion. Sometimes it will show the hover text, but more so it doesn't. I'm not sure what the problem is.. since it does work on occasion. It seems to be that the only time that the hover text appears is in the all unread topics page, but not in the regular sections of the forum.

Also, I'm using 1.1.7

PalmBeachPreps


Adish - (F.L.A.M.E.R)

Hellooow... anyone gonna help please..? Echoo!

unrelenting

Quote from: F.L.A.M.E.R on December 06, 2008, 10:46:00 AM
i cannot find this code in the "Classic" Theme.

echo '
', $topic['is_sticky'] ? '<b>' : '' , '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], '</span>', $topic['is_sticky'] ? '</b>' : '';


It should be in the messageindex.template.php.... can you help please..

If this is the 1.x version then this might help. I have an old classic theme that I don't use anymore that I believe I added this mod to. This is the section that would have been altered. Compare it to yours and see if it helps.


foreach ($context['topics'] as $topic)
{
echo '
<tr>
<td class="windowbg2" valign="middle" align="center" width="5%">
<img src="', $settings['images_url'], '/topic/', $topic['class'], '.gif" alt="" /></td>
<td class="windowbg2" valign="middle" align="center" width="4%">
<img src="', $settings[$context['icon_sources'][$topic['first_post']['icon']]], '/post/', $topic['first_post']['icon'], '.gif" alt="" border="0" align="middle" /></td>
<td class="windowbg" valign="middle" width="42%">
<span title="', $topic['first_post']['preview'], '">', $topic['first_post']['link'], '</span> ', $topic['new'] && $context['user']['is_logged'] ? '<a href="' . $scripturl . '?topic=' . $topic['id'] . '.msg' . $topic['new_from'] . '#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt[302] . '" border="0" /></a>' : '', ' <span class="smalltext">', $topic['pages'], '</span></td>
<td class="windowbg2" valign="middle" width="14%">
', $topic['first_post']['member']['link'], '</td>
<td class="windowbg" valign="middle" width="4%" align="center">
', $topic['replies'], '</td>
<td class="windowbg" valign="middle" width="4%" align="center">
', $topic['views'], '</td>
<td class="windowbg2" valign="middle" width="22%">
<span class="smalltext">', $topic['last_post']['time'], '<br />', $txt[525], ' ', $topic['last_post']['member']['link'], '</span></td>';

// Show the quick moderation options?
if (!empty($options['display_quick_mod']))

selorian

I have the Look But No Read mod installed with a selection of boards guests are able to see topics but not able to read them.  With this mod installed, they are still able to hover over the title and see the preview members see.  Is there any easy way to make it where only members are able to see the preview?  I've tried a few different things but so far I've had no luck.

Adish - (F.L.A.M.E.R)

<td class="windowbg" valign="middle" width="42%">
<span title="', $topic['first_post']['preview'], '">', $topic['first_post']['link'], '</span> ', $topic['new'] && $context['user']['is_logged'] ? '<a href="' . $scripturl . '?topic=' . $topic['id'] . '.msg' . $topic['new_from'] . '#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt[302] . '" border="0" /></a>' : '', ' <span class="smalltext">', $topic['pages'], '</span></td>


@unrelenting

Great thanks to you, thats the code which was to be added in the place where you have shown. I just did it and it works perfectly. Thank you again.

qubbah

#253
how can we put the horizontal line between the topic and msg? also in different background for each other?

Anybody can make msg preview on mouse over like PHPFusion one.



There is a topic section at the top and the bottom there is a preview content.

jazelle_rae

how do i install these on other themes? thanks

Kindred

qubbah,

you would have to experiment with the CSS

Jazelle,

You will have to manually edit the other themes' messageindex.template.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

AlaStar

Nice Mod! Thanks snork13 ;)

Quote from: Sarge on February 15, 2008, 05:05:54 AM
Quote from: dadann on April 02, 2007, 04:18:41 AM
OK.
On firefox :


On Internet Explorer :


If anyone is having too short message previews (tooltips) in Firefox and Mozilla but normal length in Internet Explorer, you need to be aware that this is a Firefox/Mozilla bug, not a mod issue. What happens is that the text in the title attribute (used by the mod to display message previews) gets truncated. This is a known bug and is fixed in Firefox 3.0 alpha4, I believe.

A workaround in Firefox 2 is to install an add-on to fix the issue. Long Title is such an add-on.

I have firefox 3.0.5 and it's works the same way firefox 2.0.0.16, how can I solved this ?

I have a sugestion for a next version that this works also on table of recent posts  :P

1000bech

I have a little problem, the preview shows the BBC tags and i'm using the registered links mod, so guests can see links in the preview what is not a good thing...

Anyone with a solution?

Kindred

not really...   it's a case of conflicting mods...

I suppose you could check permissions before displaying the mouseover preview.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Dark Knight RC

Don't appear the "..." here, somebody can help me?

Advertisement: