vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Display Enhancements - Thread Preview only on Thread Title Hover (https://vborg.vbsupport.ru/showthread.php?t=124504)

Kirk Y 08-19-2006 10:00 PM

Thread Preview only on Thread Title Hover
 
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:
Code:

id="thread_title_$thread[realthreadid]"
Add before:
Code:

title="$thread[preview]"
Find in Threadbit template:
Code:

<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
Replace with:
Code:

<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 08-21-2006 02:25 AM

this looks interesting, can you post screen shots for every one to see an example before they install this mod.

thank you.

-Alex

mktrilogy 08-21-2006 02:40 AM

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 08-21-2006 03:34 AM

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 08-21-2006 11:51 AM

would be nice to see some screen shots...or a board using this mod

Kirk Y 08-21-2006 06:39 PM

I'll post some up now, I assumed it was fairly self-explanatory.

upsetter 08-22-2006 12:26 PM

:D oh thats cool, I just added it to my edition... thank you...

Snake 08-30-2006 04:15 PM

Thanks for the hack! I'll install it right away... :)

clasione 12-21-2007 02:02 PM

Awsome... Was looking for this....

xony 11-09-2009 07:34 AM

hello, it is possible to insert an image threadbit after the title and only it is this that display the previous text?

moneymakervn 05-04-2013 10:13 AM

Can't find that string in vbulletin 4.2, anyone helps pls?

Azum 07-08-2013 05:57 PM

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.


All times are GMT. The time now is 06:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00958 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete