vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   DHTML Thread Preview with Per-User Option (https://vborg.vbsupport.ru/showthread.php?t=64591)

Chroder 04-30-2004 10:00 PM

DHTML Thread Preview with Per-User Option
 
What Is This?

This hack will alter the way your users view the thread previews. Instead of using vB default "title", which can be annoying, we're using a DHTML tooltip to display it. You can even customize the look of the tooltips. And remember that Mozilla bug where linebreaks show up as black squares? No more! You can actually preserve the line breaks now! And now we've moved the tooltip to a thread's post icon for easy activation, so no more annoying accidental preview popups. On top of all that, your users can just disable the whole thing if they don't like it!


Hack Overview

  • vB Version: 3.0.1
  • overLIB Version: 4.00
  • New files: overLIB library
  • New Profile Fields: 1
  • Files to modify: 1
  • Templates to modify: 2
What You Need

All you need is the overLIB. You can download it from this page. To get more functionality and customization, you can read the online manual.


Downloads / Thing to look at
- The package that contains the instructions.
- A screenshot (uploading images doesn't want to work for me...)
- Live example (hover over the post icons)

SaN-DeeP 05-01-2004 12:56 AM

nice hack :)

i like the idea.
and excellent placing of THE words.

people are really CREATIVE

Sandy...

FleaBag 05-01-2004 01:47 AM

I like this - will have to look into overLIB. Nice work. :)

Chroder 05-01-2004 02:18 AM

Thanks guys :)

thuffner 05-01-2004 08:12 AM

Used to use overLIB on my site a long time ago. I enjoyed it, and it worked well for me. Looks like you have done the same with this hack. Good job! :)

SmartGnome 05-01-2004 09:29 AM

The following error occurred when attempting to evaluate this template:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/virtual/site1/fst/var/www/smarty/forum/includes/adminfunctions_template.php(3037) : eval()'d code on line 3

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

What did I doing wrong :disappointed:

Scrub 05-01-2004 11:02 AM

Which template you editing when you get that error? :p

floleb7 05-01-2004 12:06 PM

if there isn't post icon ?

Chroder 05-01-2004 03:28 PM

Quote:

Originally Posted by floleb7
if there isn't post icon ?

If you've turned them off then your SOL :p If the user didn't select one, then it automatically inserts a default one.

I couldn't think of anywhere else to put it. Maybe the post indicators are a better place.

SmartGnome 05-01-2004 04:13 PM

Quote:

Originally Posted by Scrub
Which template you editing when you get that error? :p

The one mentioned in the instructions "threadbit" :ermm:


All times are GMT. The time now is 07:32 AM.

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.01092 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)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