Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Filter Threads By Thread Prefix - MyBB 1.6 Only
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #41
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
You're probably better off using post icons for that.
Trying to change the prefix to an image means you have to change a number of places.

EDIT: I see icons are hard coded, so you can't simply put it in through a template edit.  How annoying.  Well means you'll probably need to use some placeholder or similar and use conditionals to replace it...

My Blog
(This post was last modified: 11-23-2010 07:59 AM by ZiNgA BuRgA.)
11-23-2010 07:57 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #42
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
The same information for Filtering Thread by Thread Prefix (MyBB 1.6 Only) and Filtering Thread by Thread Icons. We don't need to "activate" it again in edit forum setting. The filter systems always enable. We only need to use the URL.

Additional Info:

We can set thread prefix and thread icon as default sorting.
Set it in Default Sort By: setting in Edit Forum settings page.
Set the ASC or DESC in Default Sort Order: setting.

We can set thread prefix and thread icon as default filter.
Set it in Default Thread Filter textarea in XThreads settings in Edit Forum settings page.
The format should be like this:
For Thread Prefix:
Field: __xt_prefix
Value: Thread Prefix ID here.

For Post Icons:
Field: __xt_icon
Value: Post icon ID here.

(This post was last modified: 02-05-2011 12:53 PM by RateU.)
02-05-2011 12:49 PM
Find all posts by this user Quote this message in a reply
AglioEoliO Offline
Junior Member
**
Posts: 39
Joined: Jan 2008
Post: #43
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
usefull Thread, Thanks for all these shared tips

Linked Prefix in "forumdisplay_thread" template should be a default feature in 1.6


EDIT:


{$forumurl_q} is generating some strange URLs(from a sub-forum for example, not the main forum correct link) with Mybb Google Seo.

I´m using in forumdisplay_thread:

PHP Code:
<a href="forumdisplay.php?fid={$thread['fid']}?filterxt_prefix={$thread['prefix']}">{$thread['threadprefix']}</a>



EDIT2:


Nevermind, my XThreads version was outdated. Upgraded to 1.42 and it´s working smootly Smile
(This post was last modified: 04-16-2011 12:23 AM by AglioEoliO.)
04-15-2011 07:47 PM
Find all posts by this user Quote this message in a reply
lookingtok Offline
Junior Member
**
Posts: 6
Joined: Mar 2012
Post: #44
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
can i filtering by 2 fid?

for e.g : filter prefix A on fid=11 and fid=12

thanks all
03-21-2012 03:22 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #45
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
As far as I know, we can't do that.

03-21-2012 03:29 AM
Find all posts by this user Quote this message in a reply
lookingtok Offline
Junior Member
**
Posts: 6
Joined: Mar 2012
Post: #46
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
thanks rateu
i think i will make same name prefix but different filter Biggrin
03-21-2012 01:10 PM
Find all posts by this user Quote this message in a reply
WhiteEagle Offline
Member
***
Posts: 62
Joined: Sep 2011
Post: #47
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
Would this help me with a computers forum - so that users could sort out threads by the type of computer related threads they wanted (ie. Internet and Networking for instance)?

The articles won't work for that type of setup as they aren't articles, but various threads for people to discuss computers in.

Thanks for the help!

I fold for team 52482. Do you fold?
MyBB powered sites: Leet Link FoodRatings
07-29-2012 04:02 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #48
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
(07-29-2012 04:02 PM)WhiteEagle Wrote:  Would this help me with a computers forum - so that users could sort out threads by the type of computer related threads they wanted (ie. Internet and Networking for instance)?
http://www.ask8ball.net/

My Blog
07-29-2012 05:54 PM
Find all posts by this user Quote this message in a reply
WhiteEagle Offline
Member
***
Posts: 62
Joined: Sep 2011
Post: #49
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
(07-29-2012 05:54 PM)ZiNgA BuRgA Wrote:  
(07-29-2012 04:02 PM)WhiteEagle Wrote:  Would this help me with a computers forum - so that users could sort out threads by the type of computer related threads they wanted (ie. Internet and Networking for instance)?
http://www.ask8ball.net/

Like that's any help!Tongue

I fold for team 52482. Do you fold?
MyBB powered sites: Leet Link FoodRatings
07-30-2012 05:15 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #50
RE: Filter Threads By Thread Prefix - MyBB 1.6 Only
It is indeed very helpful.

My Blog
07-30-2012 07:50 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: