View Single Post
  #3  
Old 03-08-2013, 02:17 PM
Nerror Nerror is offline
 
Join Date: Sep 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah very nifty, thanks, so it looks like it's the search_threadbit template.

--------------- Added [DATE]1362759838[/DATE] at [TIME]1362759838[/TIME] ---------------

Hrm can't get the formatting right. If I just move this part up above the threadstats part:

Code:
		<div class="threadpostedin td alt">
			<p>
				{vb:rawphrase forum}:<br /><a href="{vb:link forum, {vb:raw thread}, null, 'forumid', 'forumtitle'}" title="{vb:raw thread.forumtitleclean}">{vb:raw thread.forumtitle}</a>
			</p>
			
		</div>
I end up with 2 rows with the Inline Mod check-box still attached to the end of the threadpostedin part and the other two in a row below. Is it the CSS I need to change as well then?

Edit: The search.css has the following in the threadbit section, but I am just not knowledgeable enough to see what and how to change it.
Code:
.threadbit {
	position: relative;
}

.threadbit .threadinfo, .threadbit .threadpostedin, .threadbit .threadstats, .threadbit .threadlastpost {
}

.threadbit .threadinfo {
	width: 45%;
	overflow:hidden;
}

.threadbit .threadinfo.forum {
	width: 100%;
}

.threadbit .deleted .threadinfo {
	width: 60%;
	overflow: hidden;
}

.threadbit .threadtitle {
	height: {vb:math {vb:stylevar big_fontSize}*{vb:stylevar line_height}};
	overflow: hidden;
}

.threadbit .searchdescription {
	height: {vb:math {vb:stylevar mid_fontSize}*{vb:stylevar line_height}};
	overflow: hidden;
}

.threadbit .threadpostedin {
	max-width: 19.9%;
	width: 8888px; /* fix for 32497 , weird but working */
	font-size: {vb:stylevar mid_fontSize};
	padding: {vb:math {vb:math {vb:stylevar threadbit_iconsize.height}{vb:stylevar threadbit_iconsize.units} + {vb:stylevar padding} - {vb:math {vb:stylevar mid_fontSize}*{vb:stylevar line_height}*2}}/2} 0;
	height: {vb:math {vb:stylevar mid_fontSize}*{vb:stylevar line_height}*2};
}

.threadbit .threadpostedin p {
	display:block;
	float: {vb:stylevar left};
	margin-{vb:stylevar left}: 1em;
	clear: both;
	font-size: {vb:stylevar mid_fontSize};
	height: {vb:math {vb:stylevar mid_fontSize}*{vb:stylevar line_height}*2};
	overflow: hidden;
}

.threadbit .threadstats {
	width:15%;
	padding-top: {vb:math {vb:math {vb:stylevar threadbit_iconsize.height}{vb:stylevar threadbit_iconsize.units} + {vb:stylevar padding} - {vb:math {vb:stylevar mid_fontSize}*{vb:stylevar line_height}*2}}/2};
	word-wrap: break-word;
}
.threadbit .threadreplies {
	padding: {vb:math {vb:math {vb:stylevar threadbit_iconsize.height}{vb:stylevar threadbit_iconsize.units} + {vb:stylevar padding} - {vb:math {vb:stylevar mid_fontSize}*{vb:stylevar line_height}}}/2} 0;
}

.threadbit .threadptstats, .threadbit .threadsgstats {
	padding: {vb:math {vb:math {vb:stylevar threadbit_iconsize.height}{vb:stylevar threadbit_iconsize.units} + {vb:stylevar padding} - {vb:math {vb:stylevar mid_fontSize}*{vb:stylevar line_height}*3}}/2} 0;
}

.threadbit .threadstats li {
	margin-{vb:stylevar right}:20%;
}

.threadbit .threadlastpost, .threadbit .threaddeleted {
	width:20%;
	padding-{vb:stylevar left}:0;
	font-size:{vb:stylevar mid_fontSize};
}

.threadbit .threadlastpost dd {
	margin:0 20px 0 20px;
	height: {vb:math {vb:stylevar mid_fontSize}*{vb:stylevar line_height}};
	overflow: hidden;
	white-space:nowrap;
}

.threadbit .threaddeleted {
	padding-top: {vb:math {vb:math {vb:stylevar threadbit_iconsize.height}{vb:stylevar threadbit_iconsize.units} + {vb:stylevar padding} - {vb:math {vb:stylevar mid_fontSize}*{vb:stylevar line_height}*2}}/2};
}

.threadbit .threaddeleted .deletedby, .threadbit .threaddeleted dl.stats.deletereason {
	margin-{vb:stylevar left}: 20px;
}

.threadbit .threadimod input {
	position: absolute;
	{vb:stylevar right}: 1em;
	top: 0;
}
--------------- Added [DATE]1362765265[/DATE] at [TIME]1362765265[/TIME] ---------------

--------------- Added [DATE]1362765359[/DATE] at [TIME]1362765359[/TIME] ---------------

Solved! It's good to have friends who know more about this stuff.

I moved the threadpostedin section as described above, and then all I had to do was to add the following to additional.css:
Code:
.threadbit .threadpostedin {
    float: left;
}
.threadbit.sgbit .threadpostedin {
    float: left;
}
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01159 seconds
  • Memory Usage 1,792KB
  • 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
  • (3)bbcode_code
  • (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