Jump to content

Download: Topic Preview on Hover


Matt

Recommended Posts

  • Replies 76
  • Created
  • Last Reply
Posted

This is great, thanks! I also would like to request the option for it to work with the "View New Content" list, since that is also how my members go through most posts. :D

Posted

[color=#1C2837][size=2]hello all,



if my post contains a emoticon it shows the preview with link for it,


is there a way to show the image itself ?


or maybe even hide those links ?



same thing when embedding image or media [/size][/color]





+1

Great Hook though
Posted

Worked on my test forum perfectly, running on 3.1.4 but on my live site also running 3.1.4 it would not work :(

Posted

Great hook :)
I'm using Recent Topics 2.0.0 and is wondering what edits I have to add for this hook to work on it too? At the moment there is still the buttons to click on for the preview. Would be very nice if anyone could help.
The code for the topic link is the following:

							<td {$class2} class='__topic __tid{$r['topico']['tid']}' width='52%'>

								<if test="$r['topico']['state'] !='link'"><span class='topic_preview right'>{parse template="topic_popup" group="global" params="$r['topico']['tid']"}</span></if>

								<if test="$r['topico']['pinned']"><span class='topic_prefix'>{$this->settings['pre_pinned']}</span>&nbsp;&nbsp;</if>

								<if test="$r['topico']['poll_state']"><span class='topic_prefix'>{$this->settings['pre_polls']}</span>&nbsp;&nbsp;</if>

								<if test="$this->settings['topicosrecentes_movidos'] AND $r['topico']['state'] == 'link'"><span class='topic_prefix'>{$this->settings['pre_moved']}</span>&nbsp;&nbsp;</if>

								<if test="$r['topico']['topic_hasattach']">

									<a href="{parse url="app=forums&amp;module=forums&amp;section=attach&amp;tid={$r['topico']['tid']}" base="public"}" title="{parse expression="intval($r['topico']['topic_hasattach'])"} {$this->lang->words['topic_attach']}" onclick="return ipb.forums.retrieveAttachments( {$r['topico']['tid']} );">{parse replacement="t_attach"}</a>

								</if>

								<if test="istracking:|:! empty($r['topico']['trackingTopic'])">{parse replacement="watch_small"}</if>

								<b><a href='{parse url="showtopic={$r['topico']['tid']}&view=getnewpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$r['topico']['title']}'>{IPSText::truncate($r['topico']['title'],60)}</a></b><br />

								<span class='desc'>{$this->lang->words['cat_name']}:

									<foreach loop="topicsForumTrail:$r['breadcrumb'] as $i => $f">

										<a href='{parse url="{$f[1]}" template="showforum" seotitle="{$f[2]}" base="public"}'>{$f[0]}</a> <if test="notLastFt:|:$i+1 != count( $r['breadcrumb'] )">{parse replacement="f_nav_sep"}</if>

									</foreach>

								</span>

							</td>



Best regards,
Joschienne

  • 3 weeks later...
Posted

Hey, Matt... this hook is great, but I was curious. It's already been asked, but no answer was given:

HTML code is shown instead of parsed, making the preview look rather messy. Is there an easy way to make it parse the HTML?

  • 3 weeks later...
Posted

Hi,
This doesn't appear to work in 3.14 - unless I am doing something wrong (can't think what though).
Custom template doesnt appear to be the issue, as it doesn't work with the standard IPB template either.
Any suggestions?
Also, as mentioned above, it would be nice to have this work with new posts search as well as forum view - is there any chance this could be added, and the 3.14 issue looked at (if it is a 3.14 issue)

Cheers

  • 3 weeks later...
Posted

the hook doesn't work for IE users, as the window disappears when you attempt to use any of its controls...probably mouseover is not being properly handled



I get the same thing on IE8, you can not scroll as well.

I noticed that the present feature icon to the right that brought up the summary window disappears when this feature is installed. If this can not be fixed at least leave the present feature the way it was so that there is another option for the quick view window.
Posted

Hey, Matt... this hook is great, but I was curious. It's already been asked, but no answer was given:



HTML code is shown instead of parsed, making the preview look rather messy. Is there an easy way to make it parse the HTML?




+1 ! ?
  • 2 weeks later...
Posted

I accept that this is an unsupported mod, but I wondered if anyone has got this working on a custom skin? Installed it on our board (v3.1.4) and works perfectly on the default IPB skin. However we don't use that skin, we use one called "Engraved" by the guys over at IPBForumSkins and unfortunately it doesn't function on that skin. It does remove the clickable topic preview icon, just doesn't actually pop up with the preview on hover.

Any ideas where I could start looking within the templates for what is amiss?

  • 3 weeks later...
Posted

the hook doesn't work for IE users, as the window disappears when you attempt to use any of its controls...probably mouseover is not being properly handled




Disable misiny and it work....
Posted

I installed this hook but now can't see it in the list of installed hooks to be bale to disable and delete it. It is still working.

Thanks for fixing this up. Hopefully the new 3.2 version will be as slick as it is in Xenforo.

3DKiwi

  • 1 month later...
  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...