Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2008, 10:40 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need Help with Custom Search Results Page

I am recoding a custom search results page that looks like the search results page from world of warcraft.com forums but i either need a little help or some variables to get it fixed if anyone can help with the search/search results variables i would greatly appreciate it it uses javascript to post a post preview on the same page as all the results upon clicking on a different post. I got the styleing part done but no matter what i do the preview part only displays the oldest post in the results. The page uses hooks and conditionals and code in both search_results and search_results_bit templates I hope someone can help with this anyone who can help i can make a temporary admin to my site. This is the world of warcraft forums page i am talking about http://forums.worldofwarcraft.com/se...archText=guild i got the layout worked out just trying to get the java working and for some reason my search results page is shooting errors at me
someone please help
Reply With Quote
  #2  
Old 07-04-2008, 10:44 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i got rid of the errors on the beginning of the page but i cant get the post preview to display when i click a post in the results and when i click the errors come back.
Code:
<!-- Alternating Row Config, Don't Modify! -->
<if condition="!isset($altrow)">
    <if condition="$altrow = 0"></if>
</if>
<if condition="++$altrow % 2 == 0">
	<if condition="$postshell00 = 'postshell21'"></if>
	<if condition="$postingcontainer00 = 'postingcontainer21'"></if>
	<if condition="$post0 = 'post2'"></if>
	<if condition="$postf0 = 'postf2'"></if>
<else />
	<if condition="$postshell00 = 'postshell11'"></if>
	<if condition="$postingcontainer00 = 'postingcontainer11'"></if>
	<if condition="$post0 = 'post1'"></if>
	<if condition="$postf0 = 'postf1'"></if>
</if>
<!-- / Alternating Row Config -->


		<script type="text/javascript">
		//<![CDATA[
		postIdArray[$altrow]="$post[postid]";
		//]]>
		</script>


<div id="$postshell00" style="cursor: pointer;" onclick="javascript:switchPost($post[postid], '/showthread.php?p=$post[postid]')" onmouseover="javascript:hilightPost($post[postid])" onmouseout="javascript:restorePost($post[postid])">
	
	<div class="resultbox">
		<div class="postdisplay">
			<div class="border">
				<div class="$postingcontainer00">
					<div class="insert">
<div id="resultsContainer">
	<div class="resultbox"><!-- search results container -->
		<div class="$post0">
			<div class="$postf0">
				<div class="floatRight">
					<div id="miniText$post[postid]" class="miniText"><img src="/images/{imglang}/button-preview-post.gif" border="0" alt="" />
					</div>
				<div class="searchArrow" id="searchArrow$post[postid]"></div>
				<img src="/images/icons/arrow.gif" border="0" alt="" style="position:relative; top:7px;" />
				</div>
		<div id="colorMod$post[postid]" class="excerptPadd">
			<div class="breakWord">
			<ul>
				<li><span><a href="showthread.php?$session[sessionurl]p=$post[postid]$post[highlight]#post$post[postid]">$post[posttitle]</a></span><br />
				<span class="blue" style="font-size:11px;">
				$vbphrase[posted_by] <if condition="$post[userid]"><a href="member.php?$session[sessionurl]u=$post[userid]">$post[username]</a><else /><b>$post[username]</b></if> on $post[postdate]<if condition="!$show['detailedtime']"> $post[posttime]</if></span>			
				</li>
				<li class="summary"><span><i>$post[pagetext]</i></span>
				</li>
			</ul>
			</div><!-- end break -->
		</div>
	</div>
</div>

	</div><!-- end search results container -->
</div>
					</div><!-- end insert -->
				</div><!-- end innercontainer -->
			</div><!-- end border -->
		</div><!-- end postdisplay -->
	</div><!-- end resultbox -->
</div><!-- End div postshell -->









<!--<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin:$stylevar[cellpadding]px 0px $stylevar[cellpadding]px 0px" id="post$post[postid]">
<tr>
	<td class="thead" style="font-weight:normal">
		<if condition="$show['inlinemod']">
			<input type="checkbox" name="plist[$post[postid]]" id="plist_$post[postid]" style="float:$stylevar[right]; vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="1" <if condition="$show['disabled']">disabled="disabled"</if> />
		</if>
		<span style="float:$stylevar[right]">
			$vbphrase[forum]: <a href="forumdisplay.php?$session[sessionurl]f=$post[forumid]">$post[forumtitle]</a>
		</span>
		<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[post_statusicon].gif" alt="" border="0" />
		$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
	</td>
</tr>
<tr>
	<if condition="$show['moderated']">
	<td class="alt2">
	<else />
	<td class="alt1">
	</if>			
		<div class="smallfont" style="float:$stylevar[right]">
			$vbphrase[replies]: <strong>$post[replycount]</strong>
		</div>
		<div>
			<img class="inlineimg" src="$stylevar[imgdir_statusicon]/thread$post[statusicon].gif" alt="" border="0" />
			$post[typeprefix] <a href="showthread.php?$session[sessionurl]t=$post[threadid]$post[highlight]"><strong>$post[threadtitle]</strong></a>
		</div>
		<div class="smallfont" style="float:$stylevar[right]">
			$vbphrase[views]: <strong>$post[views]</strong>
		</div>
		<div class="smallfont">
			$vbphrase[posted_by]
			<if condition="$post[userid]"><a href="member.php?$session[sessionurl]u=$post[userid]">$post[username]</a><else />$post[username]</if>
		</div>
		
		<div class="alt2" style="margin:$stylevar[cellpadding]px 0px $stylevar[cellpadding]px 0px; padding:$stylevar[cellpadding]px; border:2px groove">
			<div class="smallfont"><em>
				<if condition="$post[posticon]"><img class="inlineimg" src="$post[posticonpath]" alt="$post[posticontitle]" border="0" /></if>
				<a href="showthread.php?$session[sessionurl]p=$post[postid]$post[highlight]#post$post[postid]">$post[posttitle]</a><br />
				<br />
				$post[pagetext]
			</em></div>
		</div>
		
		<if condition="$show['moderated']">
			<div style="float:$stylevar[right]"><img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /></div>
		</if>
		
		<if condition="$show['deleted']">
		<div style="float:$stylevar[right]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" /></div>
		<div class="smallfont">
			<phrase 1="member.php?$session[sessionurl]u=$post[del_userid]" 2="$post[del_username]">$vbphrase[message_deleted_by_x]</phrase>
			<if condition="$post['del_reason']">$vbphrase[reason]: <em>$post[del_reason]</em></if>
		</div>
		</if>		
	</td>
</tr>
</table>-->
this is the search_results_postbit template recoded i think the error is somewhere in here but i am not sure
Reply With Quote
  #3  
Old 07-04-2008, 10:45 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] -&gt; $vbphrase[search_results]</title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
</head>
<body {forcestyle}>
$header
$navbar

<!-- Change to correct user profile field id's if needed -->
<if condition="$pf_race = $post['field33']"></if>
<if condition="$pf_class = $post['field29']"></if>
<if condition="$pf_pvprank = $post['field35']"></if>
<if condition="$pf_level = $post['field31']"></if>
<if condition="$pf_guild = $post['field36']"></if>
<if condition="$pf_realm = $post['field37']"></if>
<!-- Change to correct user profile field id's if needed -->

<!-- Navbar TBC Styling closer -->
</div>
<!-- / Navbar TBC Styling closer -->


<script type="text/javascript">
	//<![CDATA[
	var objGlobal;
	var startContainerHeight=0;
	var topPadding=365;
	if(Browser.safari)
		topPadding=240;
	var topScrollLocation=0;
	
	function floater(){
		try{
		var scrollTopValue=document.documentElement.scrollTop;
		if(Browser.safari)
			scrollTopValue=document.body.scrollTop;
		var divHeight=document.getElementById("floatingContainer"+previousPost).offsetHeight;
		var browserHeight=document.documentElement.clientHeight;
			if(scrollTopValue>topPadding && divHeight<browserHeight){
				if((scrollTopValue+divHeight)<(document.body.offsetHeight-260))
					objGlobal.style.top=scrollTopValue-topPadding+"px";
			}else{
				objGlobal.style.top="0px";
			}
		}catch(err){ }
	}
	
	function init(){
		objGlobal = document.getElementById("floatingContainer2");
		window.onscroll=floater;
		switchPost(postIdArray[0])
	}
	
	function testFunc(){
		alert(objGlobal.style.top)
		objGlobal.style.top=200+"px";
	}
	
	var previousPost=0;
	var previousBg=1;
	
	function hilightPost(postId) {
		var obj;
		if(postId != previousPost && postId != 0){
			obj = document.getElementById("colorMod" + postId);
			obj.style.backgroundColor="#0D242D";
		}
	}
	
	function restorePost(postId) {
		var obj;
		if(postId != previousPost && postId != 0){
			obj = document.getElementById("colorMod" + postId);
			obj.style.backgroundColor="transparent";
		}
	}
	
	function switchPost(postId, linkId) {
		var obj;
		if (postId == previousPost) {
			document.location.href=linkId;
		}else{
			if(previousPost) {
				obj = document.getElementById("colorMod" + previousPost);
				// added to avoid javascript error for no search results
				if (obj == null) {
					return;
				}
				obj.style.backgroundColor="transparent";
				
				obj = document.getElementById("floatingContainer" + previousPost);
				obj.style.display="none";		
				
				obj = document.getElementById("searchArrow" + previousPost);
				obj.style.visibility="hidden";
				
				obj = document.getElementById("miniText" + previousPost);
				obj.innerHTML='<img src="/images/en_US/button-preview-post.gif" border="0" alt="" />';
			}
	
			obj = document.getElementById("searchArrow" + postId);
			// added to avoid javascript error for no search results
			if (obj == null) {
				return;
			}
			obj.style.visibility="visible";
			obj = document.getElementById("floatingContainer" + postId);
			obj.style.display="block";
			obj = document.getElementById("colorMod" + postId);
			obj.style.backgroundColor="#063449";
			obj = document.getElementById("miniText" + postId);
			obj.innerHTML='<img src="/images/en_US/button-jumpto-post.gif" border="0" alt="" />';
	
			var divHeight=document.getElementById("floatingContainer"+postId).offsetHeight;
	
			if(startContainerHeight==0)
				startContainerHeight = document.getElementById("searchbackground").offsetHeight;
			
			obj = document.getElementById("floatingContainer");
	
			if(!Browser.opera)
			if (divHeight > startContainerHeight){
				obj.style.height=divHeight+"px";
				obj = document.getElementById("searchbackground");
				obj.style.height=divHeight+"px";
			}else{
				obj.style.height=startContainerHeight+"px";
				obj = document.getElementById("searchbackground");
				obj.style.height=startContainerHeight+"px";			
			}
			
			//alert(obj.style.height)
			previousPost = postId;
			floater();
			//testFunc();
		}
	}
	
	function checkSearchField(){
		textSearch = document.searchForm.searchText.value;
		characterName = document.searchForm.characterName.value;
		return true;
	}
	//]]>
	</script>



<div id="cover" style="position:absolute; z-index:999999; top:0px; right:10px; width:300px; height:3000px; display:none; background-color:red;"></div>

<div id="topicheader">
	<div style="float: right;">
	<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="/images/{imglang}/forum-index.gif" width="104" height="41" border="0" alt="" /></a>
	</div>
	
	<div id="topicview" style="margin-top: 14px;">
		<ul>
			<li><span title="Current time"><small><font color="white">
				&nbsp;<a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a>
			<if condition="$action == 'process'">
				<if condition="$displayWords">$vbphrase[key_words]: $displayWords</if>
				<if condition="$displayWords AND $displayUsers">; </if>
				<if condition="$displayUsers">
					<if condition="$starteronly">$vbphrase[threads_started_by]<else />$vbphrase[posts_made_by]</if>: $displayUsers
				</if>
			<else />
				<if condition="$action == 'getnew'">$vbphrase[new_posts_nav]<else />$vbphrase[posts_from_last_day]</if>
			</if>
			<if condition="$displayForums">
				; $vbphrase[forum]: $displayForums <if condition="$childforums">$vbphrase[and_child_forums]</if>
			</if>
			| $datenow $timenow&nbsp;</font></small></span>
			<if condition="$displayCommon">&nbsp; - &nbsp;$vbphrase[words_very_common]: $displayCommon</if>
			</li>
		</ul>
	</div>
</div>

<!-- Paging -->
<div id="paging">
	<div class="rpage">
	<span style="float:right; font-size:10px">
		<if condition="$show['results']">
			<phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]; </phrase>
		</if>
		<if condition="$show['generated']">
			<phrase 1="$searchtime" 2="$searchminutes">$vbphrase[search_took_x_seconds_gen_y_mins]</phrase>
		<else />
			<phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
		</if>
	</span>
	<span>
		<if condition="$pagenav">
		<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				$pagenav
			</tr>
		</table>
		</if>
	</span>	
	</div>
</div>

<!-- // begin search results disply -->
<!-- // start search content -->
<div id="searchcontainer"><!-- search container -->
	<table cellspacing="0" cellpadding="0" border="0" width="100%" style="min-width: 920px;">
		<tr>
			<td width="50%" valign="top">

<!--[if IE]>
<div style="width: 450px;"><img src="/images/pixel.gif" /></div>
<![endif]-->
	<div style="position: relative; display: block; width: 100%;">
		<div style="margin: 0 auto; position: relative; width: 420px;">
			<div class="searchbanner"><img src="/images/{imglang}/title-search-results.gif" style="position: absolute; top: 7px; left: 120px;" border="0" title="Search Results" alt="search-results" />
			</div>
		</div>
	</div>
	<div id="searchbackground">
		<div class="right">
<!--[if IE]>
<img src="images/pixel.gif" alt="" width="1" height="240" align="left" />
<![endif]-->









<if condition="$colspan_increment OR $threadcolspan++"></if>

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="forumid" value="$forumid" />

	
<script type="text/javascript">
//<![CDATA[
	var postIdArray = new Array;
//]]>
</script>


<if condition="$search['showposts']">
	$searchbits
<else />

<table width="95%" class="tborder" cellpadding="0" cellspacing="0" border="0" align="center" id="threadslist">
$announcebits
<tr>
	<td class="thead" style="text-align: center;"><img src="/images/icons/flag.gif" border="0" width="18" height="13"alt="forum-flag" title="Flags" /></td>
	<td class="thead">$vbphrase[thread]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[thread_starter]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
	<td class="thead" align="center">$vbphrase[forum]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
	
	<if condition="$show['inlinemod']">
		<if condition="$show['popups']">
			<td class="thead" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
		<else />
			<td class="thead" align="center">
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
			</td>
		</if>
	</if>
</tr>

	<if condition="!$show['results']">
	<!-- show no threads message -->
	<tr>
		<td class="alt1" colspan="$threadcolspan" align="center">
			<div style="padding: 16px">
				<strong>$vbphrase[no_unread_threads]</strong>
			</div>
		</td>
	</tr>
	<!-- end show no threads message -->
	<else />
	$searchbits
	</if>

	<if condition="$show['ajax_js'] AND $show['results']">
		<script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script>
		<script type="text/javascript">
		<!--
		vB_AJAX_Threadlist_Init('threadslist');
		//-->
		</script>
	</if>
</table>
</if>





		</div>
	</div>
		</td>



<if condition="$search['showposts']">

		<td width="50%" valign="top" class="displaybox">
<!--[if IE]>
<div style="width: 450px;"><img src="/images/pixel.gif" /></div>
<![endif]-->
	<div style="position: relative; z-index: 999999999; width: 100%;">
		<div style="margin: 0 auto; position: relative; width: 420px;">
			<div class="postpreview"><img src="/images/{imglang}/title-post-preview.gif" style="position: absolute; top: 7px; left: 128px;" border="0" title="Post Preview" alt="post-preview" />
			</div>
		</div>
	</div>
	<div id="floatingContainer">
		<div id="floatingContainer2">




<!-- ########## Thread preview in right column test ########## -->

<!--<div id="floatingContainer321238485" style="display:none;">-->
<div id="floatingContainer321238485">
<a name="$search[searchid], $post[postid]"></a>
<div id="floatingContainer$search[searchid], $post[postid]">
<div id="resultsContainer">
	<div class="resultbox">
		<div class="postdisplay">
			<div class="border">
				<div class="innercontainer">
					<div class="secondcontainer">
			<div class="breakWord">
<div style="float: right;"><div style="position: relative;"><a href = "showthread.php?p=$post[postid]"><img src="/images/{imglang}/button-jumptopost.gif" title="Jump To This Post" style="position:absolute; top: 2px; right: 4px;" border="0" alt="jumptopost" /></a></div></div>
					<ul>
						<li class="postavatar">
				<div id="avatar" style="width: 85px;">
					<div class="shell">
<table cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td width="64" height="64" style="background: url('/image.php?u=$bbuserinfo[userid]&type=avatar');"></td>
	</tr>
</table>
			<div class="frame">
				<img src="/images/pixel.gif" width="82" height="83" border="0" alt="" />
			</div>
		</div>
		<!-- Later for Blizz posters -->
																	<!--<div style="position: relative;">
																		<div class="iconPosition" style="right: 4px;_right: 1px;"> <img src="/images/blizz.gif" alt="Blizzard Entertainment" /> </div>
																	</div>-->
																	<div style="position: relative;">
																		<div class="iconPosition" style="right: 4px;_right: 1px;"> <b><small>$userinfo[field5]</small></b> </div>		
<!-- //Begin Character ID Panel// -->		
			
				<div id="iconpanelhide11">
																			<div id="search-iconpanel"></div>
																			<div id="search-icon-panel">
																				<div class="player-icons-race"><if condition="$pf_race"><img src="/images/w_icon/race/$pf_race.gif" border="0" alt="$pf_race" /> <img src = "/images/pixel.gif" height="18" width="18" alt="" /></if> </div>
																				<div class="player-icons-class"><if condition="$pf_class"><img src="/images/w_icon/class/$pf_class.gif" border="0" alt="$pf_class" /></if></div>
																				<div class="player-icons-pvprank"><if condition="$pf_pvprank"><img src="/images/w_icon/pvpranks/$pf_pvprank.gif" border="0" alt="$pf_pvprank" /></if></div>
																			</div>
																		</div>
<!-- //End Avatar Panel// -->
		</div>		
	</div>				
	
						</li>
						<li class = "userdata"><span> <a href="showthread.php?$session[sessionurl]p=$post[postid]$post[highlight]#post$post[postid]">$post[posttitle]</a><br/>
																$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if></span><br />
																<span><b>$vbphrase[posted_by] <span style="color:#FFAC04;"><if condition="$post[userid]"><a href="member.php?$session[sessionurl]u=$post[userid]">$post[username]</a><else /><b>$post[username]</b></if></span>
																 <a href="#"><img src="/images/icons/search.gif" style="vertical-align: middle;" width="17" height="21" border="0" alt="search" /></a></b><br />
																<small>Guild:&nbsp;</small> <small><b>$pf_guild</b></small><br />
																<small>Realm:&nbsp;</small> <small><b>$pf_realm</b></small></span>
															</li>
						</ul>
						<ul>
						<li class="summary">
																<div id="messagepanel">
																	<div class="message-body"> <img src="/images/search-text-bubble.gif" border="0" alt="" style="position: absolute; top: -15px; _top: -14px; left: 120px; _left: 115px;" />
																		<div class="message-format"><span>$post[pagetext]</span></div>
																	</div>
																</div>
															</li>
					</ul>
			</div><!-- end break -->
					</div><!-- end secondcontainer -->
				</div><!-- end innercontainer -->
			</div><!-- end border -->
		</div><!-- end postdisplay -->
	</div><!-- end resultbox -->
</div>	

		
<!-- ########## / Thread preview in right column test ########## -->	









		</div>
	</div>
		</td>
</if>

	</tr>
</table>
</div>
<!-- // end search results -->


<div id="paging">
	<div class="rpage">
	<span style="float:right; font-size:10px">
		<if condition="$show['results']">
			<phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]; </phrase>
		</if>
		<if condition="$show['generated']">
			<phrase 1="$searchtime" 2="$searchminutes">$vbphrase[search_took_x_seconds_gen_y_mins]</phrase>
		<else />
			<phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
		</if>
	</span>
	<span>
		<if condition="$pagenav">
		<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				$pagenav
			</tr>
		</table>
		</if>
	</span>	
	</div>
</div>

<div class="tbottom"></div>

<if condition="$show['inlinemod'] AND $show['popups']">
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu
	</div>
</if>


<div style="width: 100%; height: 41px; min-width: 775px;">
	<div style="float: right;">
	<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="/images/{imglang}/forum-index.gif" width="104" height="41" border="0"/></a>
	</div>


<if condition="$show['inlinemod']">
	<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; margin:8px 0 0 8px">
	<strong>$vbphrase[moderation]</strong>
	<if condition="!$search['showposts']">
		<select name="do">
			<optgroup label="$vbphrase[option]">
			
				<if condition="$show['deletethread']">
				<option value="deletethread">$vbphrase[delete_threads]</option>
				<option value="undeletethread">$vbphrase[undelete_threads]</option>
				</if>
				
				<if condition="$show['openthread']">
				<option value="open">$vbphrase[open_threads]</option>
				<option value="close">$vbphrase[close_threads]</option>
				</if>
				
				<if condition="$show['approvethread']">
				<option value="approvethread">$vbphrase[approve_threads]</option>
				<option value="unapprovethread">$vbphrase[unapprove_threads]</option>
				</if>
				
				<if condition="$show['movethread']">
				<option value="stick">$vbphrase[stick_threads]</option>
				<option value="unstick">$vbphrase[unstick_threads]</option>
				<option value="movethread">$vbphrase[move_threads]</option>
				<option value="mergethread">$vbphrase[merge_threads]</option>
				</if>
			</optgroup>
			<optgroup label="____________________">
				<option value="viewthread">$vbphrase[view_selected_threads]</option>
				<option value="clearthread">$vbphrase[clear_thread_list]</option>
			</optgroup>
		</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
		<script type="text/javascript">
		<!--
		inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
		//-->
		</script>
	<else />
		<select name="do">
			<optgroup label="$vbphrase[option]">
				<if condition="$show['managethread']">
				<option value="mergeposts">$vbphrase[merge_posts]</option>
				<option value="moveposts">$vbphrase[move_posts]</option>
				<option value="copyposts">$vbphrase[copy_posts]</option>
				</if>
				
				<if condition="$show['managepost']">
				<option value="deleteposts">$vbphrase[delete_posts]</option>
				<option value="undeleteposts">$vbphrase[undelete_posts]</option>
				</if>
				
				<if condition="$show['approvepost']">
				<option value="approveposts">$vbphrase[approve_posts]</option>
				<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
				</if>
				
				<if condition="$show['approveattachment']">
				<option value="approveattachments">$vbphrase[approve_attachments]</option>
				<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
				</if>
			</optgroup>
			<optgroup label="____________________">
				<option value="viewpost">$vbphrase[view_selected_posts]</option>
				<option value="clearpost">$vbphrase[clear_post_list]</option>
			</optgroup>
		</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
		<if condition="$show['inlinemod'] AND $search['showposts']">
			<input name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all();" type="checkbox" class="nobacknobord" />
		</if>
		<script type="text/javascript">
		<!--
		inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
		//-->
		</script>
	</if>
	</div>
</if>
</div>
</form>

$footer

</body>
</html>
here is the Search_results template. i underlined the area of the code that is the post preview box it also may be in that part that is the first place i would look i just cannot figure it out i know it uses the information from javascript to post the preview and switch them. but i dont know anyone have any ideas

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

I think i am not getting the vbulletin variables right for the javascript to switch everything out but i dont know anyone?
Reply With Quote
  #4  
Old 07-06-2008, 11:26 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No one has a hand to offer to help. Anyone who wants to help get it coded let me know whoever gets a working version will become site admin of my site. I really would like to get this working it is the next step in releaseing the next version of the skin. Also I have to find the submenulink thing to work with the top bar that is on the blizz website i know i put it in the header template but when i do the sub menu kinda stays in the same place i dont know where to edit to fix it
Reply With Quote
  #5  
Old 07-07-2008, 12:58 AM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Come on msn
Reply With Quote
  #6  
Old 07-07-2008, 01:30 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

already did lol but anyone else have any suggestions
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 09:23 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.04096 seconds
  • Memory Usage 2,270KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete