PDA

View Full Version : Forum Display Enhancements - Thread Preview only on Thread Title Hover


Kirk Y
20 Aug 2006, 21:41
Thread Preview only on Thread Title Hover

What does this do?
Normally the Thread Preview will show if you hover anywhere in the cell containing the Thread Title. This will make it so you have to hover on the Thread Title itself to see the Thread Preview.

Instructions:
Find in your Threadbit template:
id="thread_title_$thread[realthreadid]"Add before:
title="$thread[preview]"Find in Threadbit template:
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">Replace with:
<td class="alt1" id="td_threadtitle_$thread[realthreadid]">Notes:
A few people have had some trouble understanding what exactly this modification does. In light of this, I've attached a screenshots which (hopefully) explains a little better.

upsetter
21 Aug 2006, 03:25
this looks interesting, can you post screen shots for every one to see an example before they install this mod.

thank you.

-Alex

mktrilogy
21 Aug 2006, 03:40
Screen shots pls. i Hope this is what i think it is :)

If not, I was thinking if u hover on the thread, it will give u preview 2 or first 3 thumbs if it has thumbnail pics :)

ztempuser
21 Aug 2006, 04:34
i thought this was like hover the mouse over tittle and it will show u a small box with a privew of the thread so u don't have to go into the thread to see how it looks, anyways its not

but i now know wut it is, installed *still useful*

ROTPAR
21 Aug 2006, 12:51
would be nice to see some screen shots...or a board using this mod

Kirk Y
21 Aug 2006, 19:39
I'll post some up now, I assumed it was fairly self-explanatory.

upsetter
22 Aug 2006, 13:26
:D oh thats cool, I just added it to my edition... thank you...

Snake
30 Aug 2006, 17:15
Thanks for the hack! I'll install it right away... :)

clasione
21 Dec 2007, 15:02
Awsome... Was looking for this....

xony
09 Nov 2009, 08:34
hello, it is possible to insert an image threadbit after the title and only it is this that display the previous text?

moneymakervn
04 May 2013, 11:13
Can't find that string in vbulletin 4.2, anyone helps pls?

Azum
08 Jul 2013, 18:57
Hi, to use in vB 4.2.x

--in threadbit template find:

<div class="rating{vb:raw thread.rating}<vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo" title="{vb:raw thread.preview}">

--^^^ remove bolded item so you have:

<div class="rating{vb:raw thread.rating}<vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo">

--find next:

<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>

--replace with (additional edit in bold):

<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" title="{vb:raw thread.preview}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>

That's it.