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)
-   -   Show Thread Enhancements - Threadpreview (https://vborg.vbsupport.ru/showthread.php?t=159915)

ragtek 10-09-2007 09:00 PM

Threadpreview
 
This is my little Add-On to add a threadpreview to the forumdisplay and the searchresults.
It doen't add any extraqueries, because the text comes direct from the "title-tag".
Result: on mouseover a "popup" opens with the text

A live preview can be seen here: http://www.developer-network.org/

Screenshot:

Attachment 70851
Updates/Changelog:
10.10.2007 Version 1.1:
  • Released and added the preview to the searchresults

Installation:

Upload the files.
If you have installed tms just install the add-on
Else: install the add-on and add to forumdisplay and search_results template before $footer this part:
Code:

<script type="text/javascript" src="clientscript/yui/yahoo.js"></script>
<script type="text/javascript" src="clientscript/yui/event-min.js" ></script>
<script type="text/javascript" src="clientscript/yui/dom-min.js" ></script>
<script type="text/javascript" src="clientscript/yui/container-min.js"></script>
<link type="text/css" rel="stylesheet" href="clientscript/yui/containerdev.css">
<script type="text/javascript" src="clientscript/ragtek_forumdisplay.js"></script>

for setting up the style:
open the container.css, search for:
Code:

.yui-tt {
        visibility:hidden;
        position:absolute;
        color:#FFFFCC;
        background-color:#222222;
        font-family:arial,helvetica,verdana,sans-serif;
        padding:2px;
        border:1px solid #FCC90D;
        font:100% sans-serif;
        width:400px;
}

and edit this part:
Code:

color:#FFFFCC;background-color:#222222;border:1px solid #FCC90D;

marcossalazar 10-10-2007 01:35 PM

Looks like this is only for vBadvanced? Is this correct?

ragtek 10-10-2007 01:36 PM

no
it is for vb ;)
you don't need vbadvanced!
why do you think this?*g*

marcossalazar 10-10-2007 01:48 PM

I think this because if you go to the forum on your demo site there is no preview link:

http://www.developer-network.org/forumdisplay.php?f=5

ragtek 10-10-2007 01:57 PM

yes it is
if you put the mouse over "very nice vbulletin addon" the box appears

Spank 10-10-2007 02:30 PM

I thought this was standard in vBulletin? I already to seem to have it.

Masiello 10-10-2007 02:34 PM

Quote:

Originally Posted by Spank (Post 1356951)
I thought this was standard in vBulletin? I already to seem to have it.

Yes it is standard in a vBulletin :)

ali7118 10-10-2007 02:40 PM

Thank you man

yoyoyoyo 10-10-2007 03:02 PM

Yes, this is standard in vb - no need to add anything else.

Ragtek - what does your addon do that vb doesn't?

ragtek 10-10-2007 03:23 PM

it's not standard

standard is just the default browser "popup" but this one shows a "nicer" popup

just look at screenshots in this post


All times are GMT. The time now is 07:48 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.02004 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_code_printable
  • (1)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