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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-27-2005, 08:27 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vb_dropdowns not working (vb-html question)

for some reason i can't get the following drop downs to work, even though all other ones on the page do, can someone tell me where i'm going wrong please.

HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:-1px">
	<tr>
		<td class="tcat" width="100%">Pieces In Category<span class="normal">: $cats[title]</span></td>
		<td class="tcat" id="displyoptions" nowrap="nowrap"><a href="#goto_displyoptions">Display Options</a> <script type="text/javascript"> vbmenu_register("displyoptions"); </script></td>
		<if condition="$show['catsearch']">
			<td class="tcat" id="catsearch" nowrap="nowrap"><a href="#goto_catsearch">Search Category</a> <script type="text/javascript"> vbmenu_register("catsearch"); </script></td>
		</if>
	</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="thead" width="100%">
			<span style="float:$stylevar[right]">$vbphrase[rating]</a> $sortarrow[voteavg]</span>
			Piece Info
		</td>
		<td class="thead" width="150" align="center" nowrap="nowrap">Review Info</td>
	</tr>
		$browsebits
</table>

<br />

<if condition="$vboptions['usepopups']">
	<br />
	<!-- popup menu contents -->

	<!-- display options -->
	<div class="vbmenu_popup" id="displayoptions_menu" style="display:none">
		<table cellpadding="4" cellspacing="1">
			<tr>
				<td class="thead">
					Display Options<a name="goto_displyoptions"></a>
				</td>
			</tr>
			<tr>
				<td class="vbmenu_option">
					<div class="smallfont">
						From The:<br />
						<div id="clause">
							<select name="daysprune">
								<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
								<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
								<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
								<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
								<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
								<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
								<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
								<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
								<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
								<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
								<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
								<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
							</select>
						</div>
						Order By: <br />
						<div id="order">
							<select name="sort">
								<option value="title" $sort[title]>Title</option>
								<option value="postdate" $sort[lastpost]>Date Posted</option>
								<option value="lastreview" $sort[lastpost]>Last Review Date</option>
								<option value="reviewcount" $sort[replycount]>Number Of Reviews</option>
								<option value="views" $sort[views]>Views</option>
								<option value="postusername" $sort[postusername]>Author</option>
								<option value="voteavg" $sort[voteavg]>Rating</option>
							</select>
						</div>
						Sort By: <br />
						<div id="direction">
							<select name="order">
								<option value="asc" $order[asc]>$vbphrase[ascending]</option>
								<option value="desc" $order[desc]>$vbphrase[descending]</option>
							</select>
						</div>
						<div id="submit">
							<input type="submit" class="button" value="Show Pieces" />
						</div>
					</div>
				</td>
			</tr>
		<table>
	</div>
	<!-- / display options -->

	<!-- / popup menu contents -->
<else />
	<!-- controls for non-popup browsers -->

	<b>this ++++ aint working</b>

	<!-- / controls for non-popup browsers -->
</if>


<if condition="$vboptions['popups'] AND $show['catsearch']">
<!-- search this cat -->
<div class="vbmenu_popup" id="catsearch_menu" style="display:none">
	<form action="find.php" method="post">
		<table cellpadding="4" cellspacing="1" border="0">
			<tr>
				<td class="thead">Search Category<a name="goto_catsearch"></a></td>
			</tr>
			<tr>
				<td class="vbmenu_option" title="nohilite" align="center">
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<input type="hidden" name="do" value="process" />
					<input type="hidden" name="catchoice" value="$cat[catid]" />
					<input type="hidden" name="formuserid" value="$bbuserinfo[userid]" />
					Title:<br/><input type="text" class="bginput" name="query" size="20" style="width:175px" /><br/>
					Author:<br/><input type="text" class="bginput" name="query" size="20" style="width:175px" /><br/>
					Text:<br/><input type="text" class="bginput" name="query" size="20" style="width:175px" /><br/>
					$gobutton<br />
				</td>
			</tr>
		</table>
	</form>
</div>
<!-- / search this cat -->
</if>
Reply With Quote
 


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 05:02 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.14696 seconds
  • Memory Usage 2,697KB
  • Queries Executed 12 (?)
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
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • 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