Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [request] Advanced XThreads Prefix Filter
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #2
RE: [request] Advanced XThreads Prefix Filter
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>



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 08-11-2012 09:58 PM by leefish.)
08-11-2012 09:45 PM
Visit this user's website 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 - leefish - 08-11-2012 09:45 PM

 Standard Tools
Forum Jump: