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: #15
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
(11-16-2010 11:33 AM)ZiNgA BuRgA Wrote:  I'm a bit confused at what you're trying to say.

{$thread['prefix']} will take the prefix ID of the thread you're viewing
{$thread['threadprefix']} will display the prefix "name" of the thread you're viewing
{$similar_thread['prefix']} will take the prefix ID of the thread in the similar thread row
{$similar_thread['threadprefix']} will display the prefix "name" of the thread in the similar thread row

In the last code box you posted here, you're mixing the viewing thread's ID with the similar thread's name (so the link may be incorrect if the two are different).

Hi Zinga - what I am trying to say - in response to the post from RateU

(11-16-2010 01:47 AM)RateU Wrote:  For the showthread_similarthreads_bit template, maybe you mean like this, Lee?

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


Is no, I did not mean to say something else - the snippet I posted worked - so does RateU's. Thats it. I have no idea if it is significant that they both work.

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


What do I mean by worked? That the prefix shows up (as in pic) and if I click on that prefix while viewing the show thread it shows me all posts in that forum with that prefix.



[Image: leelink.gif]
MYBB1.6 & XThreads
11-16-2010 03:03 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-16-2010 03:03 PM

 Standard Tools
Forum Jump: