View Single Post
  #31  
Old 11-07-2011, 03:23 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
Just thought of something.

This might work as a replacement for "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?t={vb:raw thread.threadid}&amp;<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?t={vb:raw thread.threadid}&amp;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>
Ok it works now the only problem i am running into is on btech style it dont look right it only looks right on style seamus red and seamus orange and default can you log back on change the style to btechred
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02836 seconds
  • Memory Usage 1,790KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete