Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Thread Prefix
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #51
RE: Thread Prefix
What are the values for:
- Multiple Value Delimiter
- Display Item Format
for the above thread field?

My Blog
04-03-2012 03:53 PM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #52
RE: Thread Prefix
Multiple Value Delimiter is |  (I put a space before and after it) >> like this   |  

Display item Format is empty

Display Format is {VALUE}

The COMPLETE array for the Formatting Map List

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Base Game{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Base Game">TS2 Base</a>
University{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=University"><span>University</span></a>
NightLife{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=NightLife">Night Life</a>
OFB{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=OFB">OFB</a>
TS2 Pets{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=TS2 Pets">Pets</a>
Seasons{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Seasons">Seasons</a>
Bon Voyage{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Bon Voyage">Bon Voyage</a>
FreeTime{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Free Time">FreeTime</a>
Apartment Life{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Apartment Life">Apartment Life</a>
Glamour Life Stuff{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Glamour Life Stuff">GlamourLife</a>
IKEA{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=IKEA">IKEA</a>
Mansions{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Mansions">Mansions</a>
All TS2 EPs{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=All TS2 EPs">All TS2 EPs</a>
All TS2 SPs{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=All TS2 SPs">All TS2 SPs</a>
TS3 Base Game{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=TS3 Base Game">TS3 Base</a>
World Adventures{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=World Adventures">World Adventures</a>
Ambitions{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Ambitions">Ambitions</a>
Late Night{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Late Night">Late Night</a>
Generations{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=Generations">Generations</a>
TS3 Pets{|}<a href="{$forumurl?}filtertf_dld_ep_prefix=TS3 Pets">TS3 Pets</a>


And the complete list

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Base Game
University
NightLife
OFB
TS2 Pets
Seasons
Bon Voyage
FreeTime
Apartment Life
Glamour Life Stuff
IKEA
Mansions
All TS2 EPs
All TS2 SPs
TS3 Base Game
World Adventures
Ambitions
Late Night
Generations
TS3 Pets


I tried adding the variable in the template using the format below:

HTML Code
<tr>
		<td valign="top">EPs Required</td>
		<td width="1" valign="top">:</td>
		<td valign="top">{$GLOBALS['threadfields_x']['dld_ep_prefix']['value']}</td>
</tr>


And now the display says Array. This is true if there are one or more values selected.



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 04-04-2012 12:03 AM by leefish.)
04-03-2012 04:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #53
RE: Thread Prefix
(04-03-2012 04:35 PM)leefish Wrote:  Display item Format is empty
Try to set the Display Item Format to {VALUE}
Just use the {$GLOBALS['threadfields']['dld_ep_prefix']} for displaying the value, like the post bit html snippet you posted here:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=291&pid=1060

(This post was last modified: 04-04-2012 04:14 AM by RateU.)
04-04-2012 04:12 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #54
RE: Thread Prefix
It works! Hallelujah. I must have changed EVERY value except that. Thank you.


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 04-04-2012 08:06 AM by leefish.)
04-04-2012 04:55 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Kiero Offline
Junior Member
**
Posts: 4
Joined: Dec 2012
Post: #55
RE: Thread Prefix
Hi,

This is a great feature, but I just need help with one change:
How would I go about making threads with a certain prefix be hidden from certain usergroups?

Cheers.
09-03-2013 06:41 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #56
RE: Thread Prefix
XThreads doesn't do anything related to permission management unfortunately.

My Blog
09-04-2013 11:37 AM
Find all posts by this user Quote this message in a reply
rkrusty26 Offline
Junior Member
**
Posts: 14
Joined: Aug 2013
Post: #57
RE: Thread Prefix
i want to make category with its subcategory.. please tell how it is possible to make this type of categories in a particular forum...

user have to choose main category first which is in bold after that another option will come to choose subcategory which is in list  

  1. CATEGORY A
    • CATEGORY A1
    • CATEGORY A2
    • CATEGORY A3
  2. CATEGORY B
    • CATEGORY B1
    • CATEGORY B2
    • CATEGORY B3
  3. CATEGORY C
    • CATEGORY C1
    • CATEGORY C2
    • CATEGORY C3
  4. CATEGORY D
    • CATEGORY D1
    • CATEGORY D2
    • CATEGORY D3
  5. CATEGORY E
    • CATEGORY E1
    • CATEGORY E2
    • CATEGORY E3

01-30-2014 08:32 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #58
RE: Thread Prefix
It would just be easier to have a flat structure, eg
  • CATEGORY A1
  • CATEGORY A2
  • CATEGORY A3
  • CATEGORY B1
  • CATEGORY B2
  • CATEGORY B3

You could use styling to help differentiate the groups, if that would help.

My Blog
01-31-2014 09:35 AM
Find all posts by this user Quote this message in a reply
PetesBonnie Offline
Junior Member
**
Posts: 1
Joined: Feb 2017
Post: #59
RE: Thread Prefix
Hi there,

I have a question regarding the display of the differen prefixes.
So - ich have 4 prefixes for a special category in my forum - my Inplay-Section. Than I have 2 prefixes for another Section in my forum.

Now I want to display the 4 Inplay-Prefixes only in the Inplay-Section and the other 2 prefixes only in the other Section.

I already managed to display the prefixes themselves in the Inplay Section, but the table I wrote for that is also displayed in the other Section.
Don't know if I explained it correctly ... xD Maybe you understand what I wanna do. If you need more Information, let me know!

This is how I would have like to manage the differen display on differen FIDs on my Forum, but it doesn't work:

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
<if $forum['fid'] == 11 then>
<table width="100%" style="border-bottom: 5px solid #8e7d7d; border-top: 5px solid #8e7d7d;">
  <tr>
    <th width="25%" class="forumhead" style="padding: 5px;">Datum</th>
    <th width="25%" class="forumhead" style="padding: 5px;">Ort</th>
    <th width="25%" class="forumhead" style="padding: 5px;">Tageszeit</th>
    <th width="25%" class="forumhead" style="padding: 5px;">Teilnehmer</th>
  </tr>
  <tr>
    <td width="25%" style="text-align: center; font-size:20px; color: #c5553e; padding: 5px;"><i class="fa fa-calendar-o" aria-hidden="true"></i></td>
    <td width="25%" style="text-align: center; font-size:20px; color: #c5553e;padding: 5px;"><i class="fa fa-map-marker" aria-hidden="true"></i></td>
    <td width="25%" style="text-align: center; font-size:20px; color: #c5553e;padding: 5px;"><i class="fa fa-clock-o" aria-hidden="true"></i></td>
    <td width="25%" style="text-align: center; font-size:20px; color: #c5553e;padding: 5px;"><i class="fa fa-user" aria-hidden="true"></i></td>
  </tr>
  <tr>
    <td width="25%" class="forumdesc" style="padding: 5px;">{$GLOBALS['threadfields']['inplay_date']}</td>
    <td width="25%" class="forumdesc" style="padding: 5px;">{$GLOBALS['threadfields']['inplay_place']}</td>
    <td width="25%" class="forumdesc" style="padding: 5px;">{$GLOBALS['threadfields']['inplay_daytime']}</td>
    <td width="25%" class="forumdesc" style="padding: 5px;">{$GLOBALS['threadfields']['inplay_charas']}</td>
  </tr>
	</table></if>

<if $forum['fid'] == 12 then>
	other prefixex
</if>

02-14-2017 11:02 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #60
RE: Thread Prefix
Are you using the default MyBB thread prefixes?

Are these
(02-14-2017 11:02 PM)PetesBonnie Wrote:  So - ich have 4 prefixes for a special category in my forum - my Inplay-Section.
and these
(02-14-2017 11:02 PM)PetesBonnie Wrote:  Than I have 2 prefixes for another Section in my forum.
completely different prefixes?
If so, you can set them up for different forums from the settings (?)

02-15-2017 02:53 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: