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 05-02-2004 02:24 PM

Quote:

Originally Posted by msimplay
just realised that the dhtml tooltips missing for when u search posts
could we add it to that ?

ps how do i remove the preview altip from thread title on forum display

also i wasn't sure wether to ask here or in the vbadvanced forum
but i'd also like to intergrate this with last posts block for Vbadvanced somehow :o

excellent hack idea by the way
the thread previews get annoying when they don't have html stripped in the thread preview alt tip

Oh yeah, forgot to specify to take out the title on the cell ;)

In threadbit temlpate, find:
HTML Code:

<td class="alt1Active" id="t$thread[threadid]" title="$thread[preview]">
Replace:
HTML Code:

<td class="alt1Active" id="t$thread[threadid]">
(Thus deleting the title part ;).

I'll update the main package later, and I'll try and find out how to put it into the search as well.

msimplay 05-02-2004 02:47 PM

Quote:

Originally Posted by Chroder
Oh yeah, forgot to specify to take out the title on the cell ;)

In threadbit temlpate, find:
HTML Code:

<td class="alt1Active" id="t$thread[threadid]" title="$thread[preview]">
Replace:
HTML Code:

<td class="alt1Active" id="t$thread[threadid]">
(Thus deleting the title part ;).

I'll update the main package later, and I'll try and find out how to put it into the search as well.

thanks :D

djohn 05-02-2004 03:27 PM

There is a similar hack for IPB, exept for the hover thingie is only displayed when your mouse is over the topic name. It prooved to be very practical, and the users liked it. How can i do the same with this hack?

Chroder 05-02-2004 05:18 PM

Most of the complaints about the topic preview is about how it's annoying, so that's why I moved it away from the topic title. If you want it on the topic title then you might as well just enable the default topic preview.

My users like it on the icon because if they want a preview, then they just hover over it. No delays, no "sticky" tooltips etc.

msimplay 05-02-2004 05:32 PM

Quote:

Originally Posted by Chroder
Most of the complaints about the topic preview is about how it's annoying, so that's why I moved it away from the topic title. If you want it on the topic title then you might as well just enable the default topic preview.

My users like it on the icon because if they want a preview, then they just hover over it. No delays, no "sticky" tooltips etc.

yeh i was thinking about moving it onto the thread title but looking at the nature of the dhtml being instant once its loaded
would become very annoying when mousing over titles so i actually prefer it on the post icons aswell now :D

Chroder 05-02-2004 05:41 PM

You could use a delay, but that kinda defeats the purpose IMO.

msimplay 05-06-2004 10:50 PM

any news on adding this to search posts ?

msimplay 10-24-2004 03:57 PM

**bump** same as the last time

msimplay 10-24-2004 04:15 PM

Quote:

Originally Posted by msimplay
**bump** same as the last time

ok found the answer

HTML Code:

FIND in search_results :

$headinclude

HTML Code:

ADD AFTER in search_results :

<if condition="$bbuserinfo[field5] != 'No'">
    <script language="javascript" src="clientscript/overlib/overlib.js"></script>
    <script language="javascript">
    function doPreview(txt)
    {
        return overlib(txt, FGCOLOR, '#F3F6FA', BGCOLOR, '#000000', TEXTSIZE, '8pt', TEXTCOLOR, '#000000');
    }
    </script>
</if>

HTML Code:

FIND in search_results :

</body>
</html>

HTML Code:

BEFORE ADD in search_results :

<if condition="$bbuserinfo[field5] != 'No'"><div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div></if>


This will give the same ability in search results
none of that was my code i just copied and pasted in the right templates :)

hope thats useful to others

zurih 12-28-2004 05:23 PM

anyone knows how can I change the preview from the icon to the other icon in the left? (new post, old post, etc icon)

thanks


All times are GMT. The time now is 06:59 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.01116 seconds
  • Memory Usage 1,749KB
  • 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
  • (8)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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