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

Reply
 
Thread Tools
ThreadNav: scrolling New Posts navigation bar for Showthread Details »»
ThreadNav: scrolling New Posts navigation bar for Showthread
Version: 2.1, by nerbert nerbert is offline
Developer Last Online: Aug 2017 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 11-06-2011 Last Update: 01-17-2015 Installs: 61
DB Changes Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

ThreadNav(2.1) puts almost all the information in New Posts or Today's Posts in a compact scrolling navigation bar in the thread display page (showthread). The location in showthread depends on the user's thread viewing settings. Buttons on either end scroll the list of new posts right or left and additional information is available in a drop down box when you hover over the lower portion of the post cell. The list automatically refreshes using AJAX once a minute (default).

In Version 2.1 you can now place ThreadNav in any vBulletin page. A simple setting will put it in Forum Home (index) and it can be added to other pages with a simple template edit (See instuctions in ThreadNav settings in your AdminCP for edits).

Updated Version 2.1
I've updated this recently to make it fully compatible with updates to Thread & Forum Ignore System, if it is installed. I also got rid of the text jiggle in some browsers when you hover over a cell to display the drop box.

Features:

General:
  • Searches for New Posts or Today's Posts
  • List scrolls right or left with buttons at ends
  • Automatically refreshes once a minute (default setting)
  • Cell width adjusts automatically to fit available space
  • Hovering over lower portion of partially exposed cell
    snaps the cell into full view
  • Automatically integrates with Thread & Forum Ignore System
    if installed
In the cell for each thread:
  • Go to first unread post button (New Posts only)
  • Thread link goes to either first or last post depending
    on user settings for viewing threads
  • Name of last poster
  • Last post button
In the drop down box:
  • Date/time
  • Forum
  • Thread starter
  • Peplies
  • Views
  • Links for previewing first and last posts
User settings:
  • Turn ThreadNav off
  • Get New Posts
  • Get Today's Posts
Admin Control Panel:
  • On/off
  • Other pages to show ThreadNav
  • Set refresh interval
  • Maximum minutes ThreadNav will continue refreshing
  • Allow or disallow guests to see ThreadNav
  • Maximum number of posts to show
  • Minimum width of each post cell.
  • Excluded forums
Upgrading to version 2.0
  • Upload the new product xml file in Plugins & Products and overwrite the old file.
  • Be sure to revert all threadnav templates, including threadnav.css.
  • Some pages will require simple template edits. See the ThreadNav setting sin the Admin CP for more information.

Bugs Fixed:
  • Now compatible with vBSEO
  • All text in phrases
  • More tips on styling in threadnav.css
  • Resolved major incompatibilities with some styles
  • Miscellaneous aesthetic changes
  • Resolved misalignment of borders of cell and drop box in some styles
  • Improved closing of drop boxes when you mouse out
  • Fixed more incompatibility issues with some some styles
  • Fixed incompatibility issue with IE (GRRRRRRRRRR....)
  • Overhauled system for opening and closing drop boxes

Style is based on borders, font-color and background-colors of postbits. For styles with darker colors a note at the top of threadnav.css gives helpful styling tips. If you need to add space above or below ThreadNav see top of threadnav.css. Don't use line breaks.

Installation is simple: upload the XML file to Products and you're ready to go -- no external files or edits.

Version 2.0 was developed in vB4.2.2 but should work in any vB4 version.

Download Now

File Type: xml product-thread_nav.xml (39.5 KB, 44 views)

Screenshots

File Type: png tn2.png (30.9 KB, 0 views)
File Type: png tn3.png (32.1 KB, 0 views)
File Type: png tn4.png (17.3 KB, 0 views)
File Type: png tn5.png (73.4 KB, 0 views)
File Type: png tn1.png (29.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
BCP Hung, Erica1977, Nacho Vidal, sticky

Comments
  #12  
Old 11-07-2011, 12:25 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erica1977 View Post
Hmm made some more test and seems that having vbseo 3.6.0 it will not work when you click on the thread you see on first picture with arrow and doing that will take you to the second picture see the arrow on the second picture so not sure why its not letting me go to the thread.
Would any of you with vBSEO post a link to one of your threads? if I can see the structure of the link I may be able to figure this out and I can post a modified template or something..

I don't have vBSEO and don't want but I will try to get this working.
Reply With Quote
  #13  
Old 11-07-2011, 12:27 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sticky View Post
Installed and a cool mod but the preview first post / last post window doesn't really stay open. Also, any way to add a space so it doesn't appear right under banners?
It will close as soon as your mouse exits it. That's the only way to close it, otherwise it would take a button or something
Reply With Quote
  #14  
Old 11-07-2011, 12:37 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerbert View Post
It will close as soon as your mouse exits it. That's the only way to close it, otherwise it would take a button or something
It closes even when my mouse is still on it.
Reply With Quote
  #15  
Old 11-07-2011, 12:48 PM
Erica1977's Avatar
Erica1977 Erica1977 is offline
 
Join Date: Nov 2009
Location: Laramie, Wyoming
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerbert View Post
Would any of you with vBSEO post a link to one of your threads? if I can see the structure of the link I may be able to figure this out and I can post a modified template or something..

I don't have vBSEO and don't want but I will try to get this working.
Here's my site: http://uorevolution.net/forums/ username= test2011 password= test1965
Reply With Quote
  #16  
Old 11-07-2011, 12:48 PM
synseal's Avatar
synseal synseal is offline
 
Join Date: Apr 2009
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerbert View Post
Would any of you with vBSEO post a link to one of your threads? if I can see the structure of the link I may be able to figure this out and I can post a modified template or something..

I don't have vBSEO and don't want but I will try to get this working.
This is a link to a thread on my forum with vbseo

Code:
http://www.techkings.org/general-chat/30227-pc-tv.html
Reply With Quote
  #17  
Old 11-07-2011, 01:07 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sticky View Post
It closes even when my mouse is still on it.
Does it close immediately after you open it or does it stay open a while?
Reply With Quote
  #18  
Old 11-07-2011, 01:54 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the vbseo problem would one of you try this?

Copy this and replace the "threadnav_bit" template:

HTML Code:
<td style="overflow:normal;" cellspacing="0px">
	<div id="cont_{vb:raw thread.threadid}" class="container">
		<div id="title" class="title"> 
		 	<vb:if condition="$vbulletin->userinfo['tn_control']==1">
		 	<a href="showthread.php?goto=newpost">
		 		<img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase TN_first_post}" />
		 	</a>
		 	</vb:if>
		 	<a href="showthread.php?<vb:if condition="$vbulletin->userinfo['tn_control']==1">x<vb:else />p</vb:if>={vb:raw thread.lastpostid}<vb:if condition="$vbulletin->userinfo['tn_control']==2">#post{vb:raw thread.lastpostid}</vb:if>">
	          	{vb:raw thread.title}</a>
		</div>
	
		<div id="name_{vb:raw thread.threadid}" class="name" 
			onmouseover="delay('info','{vb:raw thread.threadid}');"
	                onmouseout="hideInfo(event, '{vb:raw thread.threadid}');">
		 	<a href="showthread.php?p={vb:raw thread.lastpostid}#post{vb:raw thread.lastpostid}">
		 		<img class="gotolastpost" src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase TN_last_post}" />
		 	</a>
			{vb:rawphrase TN_by} {vb:raw thread.lastposter}
		</div>
	</div>
	
	<div id="info_{vb:raw thread.threadid}" class="info" 
		onmouseout="hideInfo(event, '{vb:raw thread.threadid}');">
		<div class="infotext"> 
			{vb:raw thread.posttime}				<br>
			{vb:rawphrase TN_forum} {vb:raw thread.forumname}	<br>
			{vb:rawphrase TN_starter} {vb:raw thread.postusername}	<br>
			{vb:rawphrase TN_views}  {vb:raw thread.views}		<br>
			{vb:rawphrase TN_replies} {vb:raw thread.replycount}
		</div>
	
		<div class="buttons1">
			<a href="javascript:prevLast ('{vb:raw thread.threadid}');" style="float:right">Preview Last Post</a>
			<a href="javascript:prevFirst('{vb:raw thread.threadid}');" style="float:left">Preview First Post</a>
		</div>
	</div>

	<div id="prev_{vb:raw thread.threadid}" class="prev" 
		onmouseout="hidePrev(event, '{vb:raw thread.threadid}');">
		<div id="prevfirsttext_{vb:raw thread.threadid}" class="prevtext"> 
			{vb:raw thread.firstprev}
		</div>
		
		<div id="prevlasttext_{vb:raw thread.threadid}" class="prevtext"> 
			{vb:raw thread.lastprev}
		</div>
	
		<div class="buttons2">
			<a href="javascript:prevLast ('{vb:raw thread.threadid}');" id="prevlast_{vb:raw thread.threadid}" style="float:right;padding:0px 3px 1px;">Preview Last Post</a>
			<a href="javascript:prevFirst('{vb:raw thread.threadid}');" id="prevfirst_{vb:raw thread.threadid}" style="float:left;padding:0px 3px 1px;">Preview First Post</a>
		</div>
	</div>
</td>
@ Erica1977, Try putting a <br> at the end of the "threadnav" template to put some space below it.

If everything works here I will upload a modified xml file and you can re-install.
Reply With Quote
  #19  
Old 11-07-2011, 02:03 PM
RSNF's Avatar
RSNF RSNF is offline
 
Join Date: May 2010
Location: Florida
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RSNF View Post
Would be great if this worked for earlier versions than 4.1.6.............Nice work though.
Working fine now nice Mod great work!
Reply With Quote
  #20  
Old 11-07-2011, 02:20 PM
Erica1977's Avatar
Erica1977 Erica1977 is offline
 
Join Date: Nov 2009
Location: Laramie, Wyoming
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerbert View Post
For the vbseo problem would one of you try this?

Copy this and replace the "threadnav_bit" template:

HTML Code:
<td style="overflow:normal;" cellspacing="0px">
	<div id="cont_{vb:raw thread.threadid}" class="container">
		<div id="title" class="title"> 
		 	<vb:if condition="$vbulletin->userinfo['tn_control']==1">
		 	<a href="showthread.php?goto=newpost">
		 		<img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase TN_first_post}" />
		 	</a>
		 	</vb:if>
		 	<a href="showthread.php?<vb:if condition="$vbulletin->userinfo['tn_control']==1">x<vb:else />p</vb:if>={vb:raw thread.lastpostid}<vb:if condition="$vbulletin->userinfo['tn_control']==2">#post{vb:raw thread.lastpostid}</vb:if>">
	          	{vb:raw thread.title}</a>
		</div>
	
		<div id="name_{vb:raw thread.threadid}" class="name" 
			onmouseover="delay('info','{vb:raw thread.threadid}');"
	                onmouseout="hideInfo(event, '{vb:raw thread.threadid}');">
		 	<a href="showthread.php?p={vb:raw thread.lastpostid}#post{vb:raw thread.lastpostid}">
		 		<img class="gotolastpost" src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase TN_last_post}" />
		 	</a>
			{vb:rawphrase TN_by} {vb:raw thread.lastposter}
		</div>
	</div>
	
	<div id="info_{vb:raw thread.threadid}" class="info" 
		onmouseout="hideInfo(event, '{vb:raw thread.threadid}');">
		<div class="infotext"> 
			{vb:raw thread.posttime}				<br>
			{vb:rawphrase TN_forum} {vb:raw thread.forumname}	<br>
			{vb:rawphrase TN_starter} {vb:raw thread.postusername}	<br>
			{vb:rawphrase TN_views}  {vb:raw thread.views}		<br>
			{vb:rawphrase TN_replies} {vb:raw thread.replycount}
		</div>
	
		<div class="buttons1">
			<a href="javascript:prevLast ('{vb:raw thread.threadid}');" style="float:right">Preview Last Post</a>
			<a href="javascript:prevFirst('{vb:raw thread.threadid}');" style="float:left">Preview First Post</a>
		</div>
	</div>

	<div id="prev_{vb:raw thread.threadid}" class="prev" 
		onmouseout="hidePrev(event, '{vb:raw thread.threadid}');">
		<div id="prevfirsttext_{vb:raw thread.threadid}" class="prevtext"> 
			{vb:raw thread.firstprev}
		</div>
		
		<div id="prevlasttext_{vb:raw thread.threadid}" class="prevtext"> 
			{vb:raw thread.lastprev}
		</div>
	
		<div class="buttons2">
			<a href="javascript:prevLast ('{vb:raw thread.threadid}');" id="prevlast_{vb:raw thread.threadid}" style="float:right;padding:0px 3px 1px;">Preview Last Post</a>
			<a href="javascript:prevFirst('{vb:raw thread.threadid}');" id="prevfirst_{vb:raw thread.threadid}" style="float:left;padding:0px 3px 1px;">Preview First Post</a>
		</div>
	</div>
</td>
@ Erica1977, Try putting a <br> at the end of the "threadnav" template to put some space below it.

If everything works here I will upload a modified xml file and you can re-install.
i copy and paste the code you put here replaced it still nothing same issue and not sure exactly where your telling me to put <br> at
Reply With Quote
  #21  
Old 11-07-2011, 02:28 PM
Erica1977's Avatar
Erica1977 Erica1977 is offline
 
Join Date: Nov 2009
Location: Laramie, Wyoming
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erica1977 View Post
Here's my site: http://uorevolution.net/forums/ username= test2011 password= test1965
Did you try going to my site and go to any thread.
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 10:50 PM.


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.05463 seconds
  • Memory Usage 2,389KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_html
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete