vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Improved Thread Preview (https://vborg.vbsupport.ru/showthread.php?t=153835)

TCattitude 07-29-2007 10:00 PM

Improved Thread Preview
 
Tags: improved, thread, preview, hover, mouse, enhance, tooltip.

?What this do?:
vBulletin already have a thread preview. But only works fine
with IE, and: i don't use IE.
Mozilla Firefox (gecko engine) shows only some characters for
the preview, and not the limit that you put on admincp in
"Length of Thread Preview Text" inside of Forum Display
Options.

So, this simple tooltip imitates the behavior of the "title-preview" (the vb's default), but it display all the char limit that you specify in length preview options.
Full working and tested in Firefox, Netscape, Opera and IE.
See and example jpg attached in the zip file.


Options: no one. You just simple adjust the "Length of Thread Preview Text" in admincp -> vboptions -> forum display options, like before.

Customize:
By default, improve thread preview imitate the vb's default preview, so you see the same white-box when you put your mouse-cursor in a thread title... obviously, with multiple lines and a lot of characters more than the "title-preview" shows.

But, you can make it look like one of the examples here:
http://www.walterzorn.com/tooltip/tooltip_e.htm
...because this mod uses that javascript for tooltip (you can donate him if you like this, really).
With basic html knowledge you can make you thread preview look like this:
http://www.walterzorn.com/tooltip/extensions.htm
...like a balloon (you need to download and put in your "clientscript" folder that extensions yourself, and clone the "forumdisplay template edit" and put the javascript's extension name in there too; its easy, just html).
You can even parse images in the new thread preview (read the documentation in the developer's page).

So i just give the very basic for this mod, with standard colors and simple... but cool too ;)

Installation:
1.- Upload the javascript (tc_coolthreadpreview.js) to your /forum/clientscript/ folder.

2.- If you have installed Andreas's TMS:
https://vborg.vbsupport.ru/showthread.php?t=152931
...you can simple install it:
Go to your admincp -> Plugins & Products -> Manage Products ->
[Add/Import Product] -> and import product-tc_improvedthreadpreview160.xml
That's all. No template edits. Up and running.

If you don't have installed TMS, check this file inside the zip:
ITP160_templateedits-from-TMS.txt
Follow it, and do the template edits.

3.- Done!.

Keep an eye on the third template edit (the first edit to threadbit template); that's is THE EDIT. If you want to customize your new thread preview, put the vars in THE EDIT. You need to check the developer's page to find the documentation, vars and how to play with them (just if you want to customize!).

Upgrade:
If you was using the version 1.5 of this mod, simple uninstall it (remove the plugin), and revert the old template edits. Then install this version as normal.

That's all.
If you like it, download it, and use it... please: mark as installed.

Have fun ;)

Subah 07-30-2007 10:04 PM

Thanks

FreshFroot 07-30-2007 11:42 PM

a VERY good hack mate :D

thank you ;)

Snort_2005 07-31-2007 01:58 AM

<3

Thanks! *installs*

projectego 07-31-2007 08:53 AM

[high]* projectego clicks install :D[/high]

titorevolu 07-31-2007 09:55 PM

titorevolu click install

SCRIPT3R 08-04-2007 12:14 AM

Quote:

Originally Posted by TCattitude
You can even parse images in the new thread preview (read the documentation in the developer's page).

are you referring to embedded images within the post? i cannot find information on this.

Free-D 09-01-2007 07:17 PM

Working but does not showing text :(

http://img509.imageshack.us/img509/2065/111yo5.png

perfphysio 10-20-2007 06:54 PM

This mod is not working in 3.6.8 when the user is not logged in. Instead a small empty box displays. Once logged in it is working fine again. My admin CP tells me that this product is not designed for the current version so maybe we need an update?

Any ideas,

see attached screen shot

yoyoyoyo 10-31-2007 05:07 PM

Quote:

Originally Posted by perfphysio (Post 1364541)
This mod is not working in 3.6.8 when the user is not logged in. Instead a small empty box displays. Once logged in it is working fine again. My admin CP tells me that this product is not designed for the current version so maybe we need an update?

Any ideas,

see attached screen shot

yep same here


All times are GMT. The time now is 07:27 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.01108 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete