vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Improved Thread Preview 1.0 (https://vborg.vbsupport.ru/showthread.php?t=91180)

TCattitude 06-26-2005 10:00 PM

Improved Thread Preview 1.0
 
¿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 DHTML replace the actual thread preview for a
working one in FF1+ (and netscape) IE5+ and Opr7+

See and example jpg attached to the zip file.
The colors and font size are automatic set direct from the
style of your board. The lenght of the preview (in
characters) are controlled from the same setting of the old
threads preview inside the AdminCP.

sabret00the 06-27-2005 02:40 PM

sounds good, can have you got a firefox screenshot?

TCattitude 06-27-2005 02:46 PM

Quote:

Originally Posted by sabret00the
sounds good, can have you got a firefox screenshot?

That screenshot is from firefox :rolleyes:

Princeton 06-27-2005 02:48 PM

good effort but I would like to point out that this will actually BLOAT your forumdisplay...
  1. bandwidth will definately increase (will only hurt if you have many hits to forumdisplay)
  2. browser rendering time will increase (extra html code will slow the rendering of forumdisplay on client side)

TCattitude 06-27-2005 02:54 PM

Quote:

Originally Posted by princeton
good effort but I would like to point out that this will actually BLOAT your forumdisplay...
  1. bandwidth will definately increase (will only hurt if you have many hits to forumdisplay)
  2. browser rendering time will increase (extra html code will slow the rendering of forumdisplay on client side)

My first attempt hack.
So... I kill myself right now :nervous:

Princeton 06-27-2005 03:01 PM

every day we learn something new

my intentions wasn't to put the hack down ... but to make you aware of the issues

the hack could still be used on sites that do not have high traffic

sabret00the 06-27-2005 03:43 PM

sorry nevermind i get what you mean now.

jrofosho 06-27-2005 05:03 PM

i installed it and the page loads quick. good work

Zachery 06-27-2005 05:18 PM

Sorry, thats just not true, it does work with firefox, the problem is Firefox has a rendering issue with the alt tag :p

TAke it up with the firefox devs

Mr. Brian 06-27-2005 05:29 PM

*Brian Click Install*

Elmer 06-28-2005 05:52 AM

Quote:

Originally Posted by TCattitude
My first attempt hack.
So... I kill myself right now :nervous:

omg you just steal works from others, what a shame on you.

Could you tell us what did you change to those JS files? I could tell you every single change made to them.

oooh well...

Kirk Y 07-10-2005 05:14 AM

Quote:

Originally Posted by Elmer
omg you just steal works from others, what a shame on you.

Could you tell us what did you change to those JS files? I could tell you every single change made to them.

oooh well...

Was that really necessary? Couldn't you have just PM'd TC?

I like this Thread Preview better than the standard one... aside from the bandwidth and rendering time concerns.

drumforum 07-12-2005 10:58 PM

Thanks for that man :)
*Install

One thing though, to make this work for your search results:

## In template search_results

FIND:
Code:

<body>
ADD BELOW:
Code:

<!-- TCattitude's improved thread preview -->
<DIV id="tcthreadpreview" style="visibility:hidden;position:absolute;z-index:1000;top:-100"></DIV>
<!-- / TCattitude's improved thread preview -->


JMH11788 08-01-2005 09:48 PM

Nice hack...thanks a lot.

Quillz 09-11-2005 06:44 PM

I just installed this hack. Works perfectly! Thanks for it.

jrofosho 10-13-2005 06:03 PM

3.0.5?

I would love this hack for the new vB

ForeverForums 04-18-2006 10:46 PM

Does this display images too or just text ?


All times are GMT. The time now is 07:40 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.01300 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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