Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Filter Threads By Thread Prefix - MyBB 1.6 Only
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #9
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
Hi RateU, I am working on a forum set up and I wanted to use this trick on the similar threads - This is the content of my res_showthread_similarthreads_bit

Code:
<tr>
	<td align="center" class="{$trow}" width="2%">{$icon}</td>
	<td class="{$trow}">{$similar_thread['threadprefix']}<a href="{$similar_thread['threadlink']}">{$similar_thread['subject']}</a></td>
	
	</tr>


But when I try and put the XThreads filter fix in as so

Code:
<a href="{$forumurl_q}filterxt_prefix={$thread['prefix']}">{$thread['threadprefix']}</a>


it does not work - but - if you do it like as below, it does

Code:
<tr>
	<td align="center" class="{$trow}" width="2%">{$icon}</td>
	<td class="{$trow}"><a href="{$forumurl_q}filterxt_prefix={$thread['prefix']}">{$similar_thread['threadprefix']}</a><a href="{$similar_thread['threadlink']}">{$similar_thread['subject']}</a></td>
	
	</tr>


Just my addition Smile



[Image: leelink.gif]
MYBB1.6 & XThreads
11-15-2010 11: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
Filtering Thread By Thread Icon - RateU - 11-06-2010, 03:11 AM
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only - leefish - 11-15-2010 11:45 PM

 Standard Tools
Forum Jump: