Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Improved Thread Preview 1.5 Details »»
Improved Thread Preview 1.5
Version: 1.00, by TCattitude TCattitude is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-27-2005 Last Update: Never Installs: 46
Uses Plugins Template Edits
Additional Files  
No support by the author.

New version HERE:
https://vborg.vbsupport.ru/showthread.php?t=153835

Just a port of this:
https://vborg.vbsupport.ru/showthrea...threadid=91180
...now for vb 3.5.
jrofosho ask to port it, and... here it is. Thanks to him for the help on testing the mod.

Improved Thread Preview 1.5: 6 template mods, 1 plugin, 2 new javascripts files (to clientscript folder)

Show Your Support

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

Comments
  #12  
Old 10-30-2005, 09:06 PM
mvigod mvigod is offline
 
Join Date: Dec 2001
Location: Jersey
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
Yeah, didn't think about it
I think this one is only 17kb or so and has lots of functionality.

http://migoicons.tripod.com/demo.htm
Reply With Quote
  #13  
Old 10-30-2005, 09:59 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea that one's cool
Reply With Quote
  #14  
Old 11-01-2005, 01:36 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I configure it so that ALL the tooltips of my page are like these?
Reply With Quote
  #15  
Old 11-01-2005, 11:56 PM
rossco_2005's Avatar
rossco_2005 rossco_2005 is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Great mod!

Just one suggestion, fix the instructions at the template edits...the <script> tags and <div> tags in some places are capatalized when they shouldn't be...proper xhtml. :P
Reply With Quote
  #16  
Old 11-09-2005, 02:57 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tcat - thanks for this. i suggest just cutting and pasting the description of this hack from your other thread so others don't have to click on the link. it seems short enough.
Reply With Quote
  #17  
Old 11-09-2005, 03:23 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice addition, but WAY too many template edits for me...dont like editing too many.....
Reply With Quote
  #18  
Old 01-19-2006, 09:53 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I have installed a while back was working great but i have upgraded VB and now i have 2 previews, yours and the standard, how do i get rid of the standard 1 and just use yours please?
Reply With Quote
  #19  
Old 01-20-2006, 05:22 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know the answer to my question please?
Reply With Quote
  #20  
Old 01-23-2006, 08:43 PM
TCattitude's Avatar
TCattitude TCattitude is offline
 
Join Date: Oct 2004
Location: Chile
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You miss this edit:
Quote:
## Template threadbit

Find:
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">

Replace with:
<!-- TCattitude's improved thread preview -->
<td class="alt1" id="td_title_$thread[realthreadid]">
<!-- / TCattitude's improved thread preview -->
That title="$thread[preview]" is the default vb preview.
Reply With Quote
  #21  
Old 01-23-2006, 08:52 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have just searched that template for the word preview and only your hack modifications show up...

The default text has been changed to yours...
Here is my threadbit

Code:
<!-- TCattitude's improved thread preview -->
<script type="text/javascript">
<!--
var THREAD_PREVIEW = "$thread[preview]";
var THREAD_ID = "$thread[threadid]";
// -->
</script>

<SCRIPT language="JavaScript1.2" src="clientscript/tcthreadpreview_style.js" type="text/javascript"></SCRIPT> 
<!-- / TCattitude's improved thread preview -->
<tr>
	<td class="alt1" id="td_status_$thread[realthreadid]">
		$thread[openclose_editable]
		<img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_status_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
	</td>
	<if condition="$show['threadicons']">
		<td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>
	</if>
	<if condition="$show['threadprefix'] == 2">
		<td class="alt1" align="$prefixalign" nowrap="nowrap"><if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if></td>
	</if>
	<!-- TCattitude's improved thread preview -->
	<td class="alt1Active" id="td_title_$thread[realthreadid]" title="$thread[preview]" onmouseover="this.className='alt2Active'" onmouseout="this.className='alt1Active'">
<!-- / TCattitude's improved thread preview -->

		$thread[title_editable]
		<div>
			<span style="float:$stylevar[right]">
				<if condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
				<if condition="$show['paperclip']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /> </if>
				<if condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /> </if>
<if condition="$personalsticky"> <img class="inlineimg" src="$stylevar[imgdir_misc]/mystickypin.gif" alt="$vbphrase[sticky_thread]" /> </if>
				<if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
			</span>
			<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
			$thread[movedprefix]
			<if condition="$show['threadprefix'] == 1">
				<if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if>
			</if>
			$thread[typeprefix]
			$thread[moderatedprefix]
			<!-- TCattitude's improved thread preview -->
                        <if condition="$show['gotonewpost']">
				<strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]" onMouseOver="stm(Text[$thread[threadid]],Style[2])" onMouseOut="htm()">$thread[threadtitle]</a></strong>
			<else />
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" target="_blank"><img src="$stylevar[imgdir_misc]/new_window.gif" alt="New Window" width="16" height="16" border="0"></a>
				<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"  onMouseOver="stm(Text[$thread[threadid]],Style[2])" onMouseOut="htm()">$thread[threadtitle]</a>
			</if>
<!-- / TCattitude's improved thread preview -->
			<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
		</div>
	
		<div class="smallfont">
			<if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
			<if condition="$show['guestuser']">
				$thread[postusername]
			<else />
				<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
			</if>
		</div>
		
		<if condition="$show['unsubscribe']">
			<div class="smallfont">
				<a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[reply]</a> |
				<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[unsubscribe]</a>
			</div>
		</if>
		
	</td>
	
	<if condition="$show['threadmoved']">
	<td class="alt2" align="center">-</td>
	<else />
	<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
		<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">
			$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
			<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>  <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
		</div>
	</td>
	</if>
	
	<if condition="$show['notificationtype']">
		<td class="alt1"><div class="smallfont">
			<label for="sub$subscribethread[$threadid]">$thread[notification]</label>
		</div></td>
		<td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
	<else />
		<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="#" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
		<td class="alt2" align="center">$thread[views]</td>
			
		<if condition="$show['forumlink']">
			<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
		</if>
	</if>
	
	<if condition="$show['inlinemod']">
		<td class="alt1">
			<input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
		</td>
	</if>
</tr>
Quote:
Originally Posted by TCattitude
You miss this edit:


That title="$thread[preview]" is the default vb preview.
Reply With Quote
Reply


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 03: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.05347 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (3)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
  • (3)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_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