MyBB Hacks

Full Version: Thread Prefix
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
What are the values for:
- Multiple Value Delimiter
- Display Item Format
for the above thread field?
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:
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:
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.

(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
It works! Hallelujah. I must have changed EVERY value except that. Thank you.
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.
XThreads doesn't do anything related to permission management unfortunately.
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

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.
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:
<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>

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 (?)
Pages: 1 2 3 4 5 6
Reference URL's