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

FreshFroot 10-10-2007 04:54 PM

Quote:

Originally Posted by yoyoyoyo (Post 1356970)
Yes, this is standard in vb - no need to add anything else.

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

basically his does the same job, except the design is better as it stands out more and his seems to place more data (text) into the box, than the default vBulletin one.

Spank 10-10-2007 04:57 PM

True dat, it does look a lot better. *installs*

ragtek 10-10-2007 05:10 PM

hi
tommorow comes a new version out, where the stylepart will be easier...
so pls stop asking per icq/pm how it can be set up :)

thx

ragtek 10-10-2007 05:35 PM

so
i've updated the add-on
hope now its clearer

megabyte366 10-10-2007 10:03 PM

need a little help here.... upload all the files to the dir... do not have the tms installed.. so did it the manually way.. install the code to forumdisplay and search_results and install the product file....

went to the board and i can't get anything to show up... any idea's
thanks

ChurchMedia 10-11-2007 01:57 AM

Nice work! I'm going to replace "TCattitude's improved thread preview" hack with yours. Yours looks a lot better, easier to install and the way box pops up is very cool.

:)

mktrilogy 10-11-2007 02:09 AM

could ur hack also have images preview? a little thumbnails would do wonders :)

ragtek 10-11-2007 04:49 AM

no not realy
as i said this just shows the title-tag and here are no imgs at the moment
but as i have seen, html is working in the box ( when you look here: http://www.developer-network.org/forumdisplay.php?f=5 the test thread, it shows a textbox)
so maybe i find a way to show the imgs also

megabyte366 10-12-2007 10:25 PM

<font size="2">Need some help!, please.</font>

I do not have tms installed .. so i did it the manual way.
Upload the files to the dir that you said to... imported the the product file.
and edit the temp..

when i go to the board can not get it to work.. need so help...
thanks

ragtek 10-13-2007 05:23 AM

could you say me your boardurl to check it out?


All times are GMT. The time now is 12:26 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.02074 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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