Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Threadpreview Details »»
Threadpreview
Version: 1.2, by ragtek ragtek is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.8 Rating:
Released: 10-09-2007 Last Update: 10-09-2007 Installs: 18
Re-useable Code Translations  
No support by the author.

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;

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-10-2007, 05:54 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
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.
Reply With Quote
  #13  
Old 10-10-2007, 05:57 PM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

True dat, it does look a lot better. *installs*
Reply With Quote
  #14  
Old 10-10-2007, 06:10 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #15  
Old 10-10-2007, 06:35 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so
i've updated the add-on
hope now its clearer
Reply With Quote
  #16  
Old 10-10-2007, 11:03 PM
megabyte366 megabyte366 is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 10-11-2007, 02:57 AM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Reply With Quote
  #18  
Old 10-11-2007, 03:09 AM
mktrilogy mktrilogy is offline
 
Join Date: May 2006
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could ur hack also have images preview? a little thumbnails would do wonders
Reply With Quote
  #19  
Old 10-11-2007, 05:49 AM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 10-12-2007, 11:25 PM
megabyte366 megabyte366 is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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
Reply With Quote
  #21  
Old 10-13-2007, 06:23 AM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could you say me your boardurl to check it out?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05093 seconds
  • Memory Usage 2,301KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete