Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [request] Advanced XThreads Prefix Filter
tempo Offline
Junior Member
**
Posts: 30
Joined: Aug 2012
Post: #8
RE: [request] Advanced XThreads Prefix Filter
(08-11-2012 09:45 PM)leefish Wrote:  Yes. I do exactly this on leefish. I have three prefixes set up.

http://www.leefish.nl/mybb/forumdisplay....http://www.leefish.nl/mybb/forumdisplay.php?filtertf_prefix=Sims2&filtertf_pfcat=Buy&fid=7&filtertf_dld_ep_prefix=OFB&sortby=lastpost&order=desc

I will get the template for it.

xxx_forumdisplay_searchforum_inline

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<tr><td class="trow1" align="center">
<br />
			<form action="forumdisplay.php" method="get">
				<label>prefix1</label><select name="filtertf_prefix1">
<option value="">All</option>
<option value="px1"{$GLOBALS['filters_set']['prefix1']['selected']['px1']}>px1</option>
<option value="px2"{$GLOBALS['filters_set']['prefix1']['selected']['px2']}>px2</option>
 </select>

				<label>prefix2</label><select name="filtertf_prefix2">
					<option value="">All</option>
<option value="apx1"{$GLOBALS['filters_set']['prefix2']['selected']['apx1']}>apx1</option>
<option value="apx2"{$GLOBALS['filters_set']['prefix2']['selected']['apx2']}>apx2</option>
				
				</select>
				<label>prefix3</label><select name="filtertf_prefix3">
					<option value="">All</option>
<option value="opx1"{$GLOBALS['filters_set']['prefix3']['selected']['opx1']}>opx1</option>
<option value="opx2"{$GLOBALS['filters_set']['prefix3']['selected']['opx2']}>opx2</option>
				
				</select>


<br /><br />
<label><input type="submit" class="button" value="go" /></label>
				<input type="hidden" name="fid" value="{$fid}" />
				<input type="hidden" name="sortby" value="{$sortby}" />
				<input type="hidden" name="order" value="{$sortordernow}" />
				<input type="hidden" name="datecut" value="{$datecut}" />
			</form>
		</td>
</tr>


first of all, thank for the code.

I have 2 problems

problem_1) i can't receive any data if one or two or three of the options set to "All"

problem_2) i really like the automatic way on your site http://www.leefish.nl/mybb/forumdisplay....http://www.leefish.nl/mybb/forumdisplay.php?filtertf_prefix=&filtertf_pfcat=&search=&fid=7&sortby=lastpost&order=desc
the filter is valid before the user push any button....
07-06-2015 05:10 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: [request] Advanced XThreads Prefix Filter - tempo - 07-06-2015 05:10 AM

 Standard Tools
Forum Jump: