(08-10-2011 06:41 PM)blakefire Wrote: [ -> ]No matter what category I mark the thread under it comes out blue in the thread list.
Are you sure that you have the correct class name in the
Formatting Map List in your
Additional Category custom field?
First of all, thanks for your great example.
In MyBB 1.6.4 the following code is not acepted in templates:
Code:
{$filters_set['__xt_uid']['selected'][$mybb->user['uid']]}
|
The code is from xtsupport_forumdisplay_threadlist template and MyBB returns the error message "A potential security issue was found in the template". What can I use as a replacement?
Try this:
Edit your
Short Description custom thread fields.
Add this code at the end of the
Display Format:
Code:
<setvar fuid>$filters_set['__xt_uid']['selected'][$mybb->user['uid']]</setvar>
|
Then, find this code in your xtsupport_forumdisplay_threadlist:
Code:
{$filters_set['__xt_uid']['selected'][$mybb->user['uid']]}
|
Replace the code above with:
Code:
{$GLOBALS['tplvars']['fuid']}
|
Thanks for your reply, the solution worked.
What about:
Code:
{$GLOBALS['tplvars']['solvepostcss'][$post['pid']]}
|
(08-11-2011 05:45 AM)bogdan Wrote: [ -> ]What about:
Code:
{$GLOBALS['tplvars']['solvepostcss'][$post['pid']]}
|
Try this:
Replace the code above with:
Code:
{$GLOBALS['tplvars']['solvepostcss'][$id]}
|
Updated:
"Compatibility" with MyBB 1.6.4, reported here, by bogdan (thanks
):
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=754&pid=86
and:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=754&pid=86
- Short Description custom thread field:
Display Format:
Code:
<if THIS_SCRIPT == 'showthread.php' then><tr><td class="tcat" colspan="2"><strong>{$GLOBALS['threadfields_x']['sdc']['title']}</strong></td></tr><tr><td class="trow1" colspan="2">{VALUE}</td></tr><else><div class="smalltext">{VALUE}</div></if><setvar fuid>$filters_set['__xt_uid']['selected'][$mybb->user['uid']]</setvar>
|
- Postbit/Classic template:
Because MyBB can't accept "array in array", so, basically, we need to find this variable on these templates:
Code:
{$GLOBALS['tplvars']['solvepostcss'][$post['pid']]}
|
And replace it with:
Code:
{$GLOBALS['tplvars']['solvepostcss'][$id]}
|
- xtsupport_postbit
HTML Code
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tbody>
<tr>
<td class="tcat">
<div class="float_left smalltext">
{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
</div>
{$post['posturl']}
</td>
</tr>
<tr>
<td class="trow1 {$unapproved_shade}{$GLOBALS['tplvars']['solvepostcss'][$id]}">
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr>
<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
{$post['useravatar']}
</td>
<td class="post_author">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</td>
<td class="smalltext post_author_info" width="165">
{$post['user_details']}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="trow2 post_content {$unapproved_shade}{$GLOBALS['tplvars']['solvepostcss'][$id]}">
<div class="float_right"></div>
<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<div class="post_body clear" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</td>
</tr>
<tr>
<td class="trow1 post_buttons {$unapproved_shade}{$GLOBALS['tplvars']['solvepostcss'][$id]}">
<div class="author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</td>
</tr>
</tbody>
</table>
|
- xtsupport_postbit_classic
HTML Code
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;{$GLOBALS['tplvars']['solvepostcss'][$id]}"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
{$post['useravatar']}<br />
{$post['user_details']}
</span>
</td>
<td class="{$altbg}{$GLOBALS['tplvars']['solvepostcss'][$id]}" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<br />
<div class='float_right"></div>
<div id="pid_{$post['pid']} clear" style="padding: 5px 0 5px 0;">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}{$GLOBALS['tplvars']['solvepostcss'][$id]}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="{$altbg}{$GLOBALS['tplvars']['solvepostcss'][$id]}" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
</tr>
</table>
</td>
</tr>
</table>
|
- xtsupport_postbit_first
HTML Code
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tbody>
<tr>
<td class="tcat">
<div class="float_left smalltext">
{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
</div>
{$post['posturl']}
</td>
</tr>
<tr>
<td class="trow1 {$unapproved_shade}{$GLOBALS['tplvars']['solvepostcss'][$id]}">
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr>
<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
{$post['useravatar']}
</td>
<td class="post_author">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</td>
<td class="smalltext post_author_info" width="165">
{$post['user_details']}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="trow2 post_content {$unapproved_shade}{$GLOBALS['tplvars']['solvepostcss'][$id]}">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2">{$GLOBALS['tplvars']['spil']}</td>
</tr>
{$GLOBALS['threadfields']['xtspt_solvepost']}
<tr>
<td class="trow1" valign="top" width="20%"><strong>{$GLOBALS['tplvars']['issue_title']}</strong></td>
<td class="trow1" valign="top">
<span class="float_right"></span>
{$post['icon']}{$post['subject']} {$post['subject_extra']}
</td>
</tr>
{$GLOBALS['threadfields']['sis']}
{$GLOBALS['threadfields']['sgc']}
{$GLOBALS['threadfields']['smv']}
{$GLOBALS['threadfields']['smk']}
{$GLOBALS['threadfields']['sur']}
{$GLOBALS['threadfields']['sdc']}
{$GLOBALS['threadfields']['swd']}
{$GLOBALS['threadfields']['swt']}
{$GLOBALS['threadfields']['spl']}
</table>
{$GLOBALS['threadfields']['spo']}
<div class="post_body" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</td>
</tr>
<tr>
<td class="trow1 post_buttons {$unapproved_shade}{$GLOBALS['tplvars']['solvepostcss'][$id]}">
<div class="author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</td>
</tr>
</tbody>
</table>
|
- xtsupport_postbit_first_classic
HTML Code
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="{$altbg}{$GLOBALS['tplvars']['solvepostcss'][$id]}" width="15%" valign="top" style="white-space: nowrap; text-align: center;">
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
{$post['useravatar']}<br />
{$post['user_details']}
</span>
</td>
<td class="{$altbg}{$GLOBALS['tplvars']['solvepostcss'][$id]}" valign="top">
<table width="100%">
<tr>
<td>
{$post['posturl']}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2">{$GLOBALS['tplvars']['spil']}</td>
</tr>
{$GLOBALS['threadfields']['xtspt_solvepost']}
<tr>
<td class="trow1" valign="top" width="20%"><strong>{$GLOBALS['tplvars']['issue_title']}</strong></td>
<td class="trow1" valign="top"><span style="float: right;"></span>{$post['icon']}{$post['subject']} {$post['subject_extra']}</td>
</tr>
{$GLOBALS['threadfields']['sis']}
{$GLOBALS['threadfields']['sgc']}
{$GLOBALS['threadfields']['smv']}
{$GLOBALS['threadfields']['smk']}
{$GLOBALS['threadfields']['sur']}
{$GLOBALS['threadfields']['sdc']}
{$GLOBALS['threadfields']['swd']}
{$GLOBALS['threadfields']['swt']}
{$GLOBALS['threadfields']['spl']}
</table>
{$GLOBALS['threadfields']['spo']}
<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
{$post['iplogged']}
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}{$GLOBALS['tplvars']['solvepostcss'][$id]}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="{$altbg}{$GLOBALS['tplvars']['solvepostcss'][$id]}" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
</tr>
</table>
</td>
</tr>
</table>
|
- xtsupport_forumdisplay_threadlist
- Basically, we need to find this variable:
Code:
{$filters_set['__xt_uid']['selected'][$mybb->user['uid']]}
|
And replace it wit:
Code:
{$GLOBALS['tplvars']['fuid']}
|
- Optional (depends on our own setting).
It seems that we can't use a special characters inside an array. So, do this only if we have a special characters items inside the Product List (in this example, plugins name, inside the Plugin Issue custom thread field).
- Plugin Issue custom thread field
Display Format:
Code:
<if THIS_SCRIPT == 'forumdisplay.php' then><div class="smalltext"><strong><a href="{$forumurl_q}filtertf_spi={VALUE}" title="View all issues about {VALUE}">{VALUE}</a></strong></div><else>{VALUE}</if><setvar spil>'<div style="text-align: center;" class="largetext"><a href="'.$forumurl_q.'filtertf_spi='.{VALUE}.'">'.{VALUE}.' v '.$GLOBALS['threadfields']['spv'].'</a></div>'</setvar><setvar issue_title>'Issue Title'</setvar><setvar selspl1>$filters_set['spi']['selected']['PHP in Templates / Complex Templates']</setvar><setvar selspl2>$filters_set['spi']['selected']['Cool Codes (Syntax Highlighter)']</setvar><setvar selspl3>$filters_set['spi']['selected']['Moderated Usergroup(s)']</setvar><setvar selspl4>$filters_set['spi']['selected']['Display Name / User Nickname Plugin']</setvar><setvar selspl5>$filters_set['spi']['selected']['Duplicate/Dissect Post']</setvar><setvar selspl6>$filters_set['spi']['selected']['Search Auto-redirect']</setvar><setvar selspl7>$filters_set['spi']['selected']['No ALL-CAPS in Posts/PMs']</setvar>
|
- xtsupport_forumdisplay_threadlist
HTML Code
<div class="float_left">
{$multipage}
</div>
<div class="float_right">
{$newthread}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
<td class="thead" colspan="{$colspan}">
<div class="float_left">
<a href="{$forumurl}"><strong>{$foruminfo['name']}</strong></a>
</div>
<div class="float_right">
<form action="{$forumurl}" method="post">
<select name="filterxt_uid">
<option value="">{$lang->xtsupport_all_threads}</option>
<option value="{$mybb->user['uid']}"{$GLOBALS['tplvars']['fuid']}>{$lang->xtsupport_my_threads}</option>
</select>
<select name="filtertf_sis">
<option value="">{$lang->xtsupport_all_status}</option>
<option value="Unsolved"{$filters_set['sis']['selected']['Unsolved']}>Unsolved</option>
<option value="Solved"{$filters_set['sis']['selected']['Solved']}>Solved</option>
</select>
<select name="filtertf_spi">
<option value="">{$lang->xtsupport_all_plugins}</option>
<option value="XThreads"{$filters_set['spi']['selected']['XThreads']}>XThreads</option>
<option value="PHP in Templates / Complex Templates"{$GLOBALS['tplvars']['selspl1']}>PHP in Templates / Complex Templates</option>
<option value="Template Conditionals"{$filters_set['spi']['selected']['Template Conditionals']}>Template Conditionals</option>
<option value="Thread Tooltip Preview"{$filters_set['spi']['selected']['Thread Tooltip Preview']}>Thread Tooltip Preview</option>
<option value="Cool Codes (Syntax Highlighter)"{$GLOBALS['tplvars']['selspl2']}>Cool Codes (Syntax Highlighter)</option>
<option value="Soft Delete"{$filters_set['spi']['selected']['Soft Delete']}>Soft Delete</option>
<option value="Admin Can Login as Any User"{$filters_set['spi']['selected']['Admin Can Login as Any User']}>Admin Can Login as Any User</option>
<option value="Moderated Usergroup(s)"{$GLOBALS['tplvars']['selspl3']}>Moderated Usergroup(s)</option>
<option value="Hide Sigs of New Users"{$filters_set['spi']['selected']['Hide Sigs of New Users']}>Hide Sigs of New Users</option>
<option value="Display Name / User Nickname Plugin"{$GLOBALS['tplvars']['selspl4']}>Display Name / User Nickname Plugin</option>
<option value="Preparser Cache"{$filters_set['spi']['selected']['Preparser Cache']}>Preparser Cache</option>
<option value="Admin Security"{$filters_set['spi']['selected']['Admin Security']}>Admin Security</option>
<option value="vB Quote"{$filters_set['spi']['selected']['vB Quote']}>vB Quote</option>
<option value="No Special Characters in Usernames"{$filters_set['spi']['selected']['No Special Characters in Usernames']}>No Special Characters in Usernames</option>
<option value="Duplicate/Dissect Post"{$GLOBALS['tplvars']['selspl5']}>Duplicate/Dissect Post</option>
<option value="Quick Thread"{$filters_set['spi']['selected']['Quick Thread']}>Quick Thread</option>
<option value="PM to New Users"{$filters_set['spi']['selected']['PM to New Users']}>PM to New Users</option>
<option value="Easy MyCodes"{$filters_set['spi']['selected']['Easy MyCodes']}>Easy MyCodes</option>
<option value="Memberships in Profile"{$filters_set['spi']['selected']['Memberships in Profile']}>Memberships in Profile</option>
<option value="Mod User Notes"{$filters_set['spi']['selected']['Mod User Notes']}>Mod User Notes</option>
<option value="View New Subscribed Posts"{$filters_set['spi']['selected']['View New Subscribed Posts']}>View New Subscribed Posts</option>
<option value="AdminCP Dropdown Menus"{$filters_set['spi']['selected']['AdminCP Dropdown Menus']}>AdminCP Dropdown Menus</option>
<option value="Dynamic Board Stats"{$filters_set['spi']['selected']['Dynamic Board Stats']}>Dynamic Board Stats</option>
<option value="Locked Thread Quick Reply Warning"{$filters_set['spi']['selected']['Locked Thread Quick Reply Warning']}>Locked Thread Quick Reply Warning</option>
<option value="Visible Moderator Thread Notes"{$filters_set['spi']['selected']['Visible Moderator Thread Notes']}>Visible Moderator Thread Notes</option>
<option value="Usergroup Lock"{$filters_set['spi']['selected']['Usergroup Lock']}>Usergroup Lock</option>
<option value="Thread Starter Locking"{$filters_set['spi']['selected']['Thread Starter Locking']}>Thread Starter Locking</option>
<option value="Search Auto-redirect"{$GLOBALS['tplvars']['selspl6']}>Search Auto-redirect</option>
<option value="No ALL-CAPS in Posts/PMs"{$GLOBALS['tplvars']['selspl7']}>No ALL-CAPS in Posts/PMs</option>
</select>
<input type="submit" class="button" value="Filter Threads" />
</form>
</div>
<div class="float_right" style="margin-right: 9px; margin-top: 3px;">
<strong>{$lang->xtsupport_filter_issues}</strong>
</div>
</td>
</tr>
<tr>
<td class="tcat" colspan="4" width="70%">
<span class="smalltext"><strong><a href="{$sorturl}&sortby=subject&order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&sortby=starter&order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span>
</td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
<td class="tcat" align="right" width="25%" style="white-space: nowrap;"><span class="smalltext"><strong><a href="{$sorturl}&sortby=tf_spi&order=asc">{$lang->xtsupport_plugins}</a> {$orderarrow['tf_spi']} / <a href="{$sorturl}&sortby=lastpost&order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
{$inlinemodcol}
</tr>
{$selectall}
{$announcementlist}
{$threads}{$nullthreads}
<tr>
<td class="tcat" colspan="{$colspan}">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
<tr>
<td class="security" width="1"> </td>
<td class="smalltext"><a href="{$forumurl_q}filtertf_sac=Security"><strong>Security Issue</strong></a></td>
<td class="conflict" width="1"> </td>
<td class="smalltext"><a href="{$forumurl_q}filtertf_sac=Plugin Conflict"><strong>Plugin Conflict</strong></a></td>
<td class="xtsbug" width="1"> </td>
<td class="smalltext"><a href="{$forumurl_q}filtertf_sac=Bug"><strong>Bug Issue</strong></a></td>
<td class="normthread" width="1"> </td>
<td class="smalltext"><a href="{$forumurl_q}filtertf_sac="><strong>Normal Issue</strong></a></td>
<td class="solved" width="1"> </td>
<td class="smalltext"><a href="{$forumurl_q}filtertf_sis=Solved"><strong>Solved Issue</strong></a></td>
<td class="unsolved" width="1"> </td>
<td class="smalltext"><a href="{$forumurl_q}filtertf_sis=Unsolved"><strong>Unsolved Issue</strong></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="tfoot" align="right" colspan="{$colspan}">
<div style="float: left; margin: 4px;">
<span class="smalltext"><strong><a href="misc.php?action=markread&fid={$fid}">{$lang->markforum_read}</a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&type=forum&fid={$fid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>{$clearstoredpass}</strong></span>
</div>
<form action="forumdisplay.php" method="get">
<input type="hidden" name="selectall" value="{$allselected}" />
<input type="hidden" name="fid" value="{$fid}" />
<select name="sortby">
{$sort_by_prefix}<option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
<option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
<option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
<option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
{$ratingsort}
<option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
<option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
<option value="icon" {$sortsel['icon']}>{$lang->sort_by_icon}</option>
<option value="lastposter" {$sortsel['lastposter']}>{$lang->sort_by_lastposter}</option>
<option value="attachmentcount" {$sortsel['attachmentcount']}>{$lang->sort_by_attachmentcount}</option>
<option value="tf_spi" {$sortsel['tf_spi']}>{$lang->xtsupport_sort_by_plugins}</option>
<option value="tf_sis" {$sortsel['tf_sis']}>{$lang->xtsupport_sort_by_status}</option>
{$xthreads_extra_sorting}
</select>
<select name="order">
<option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
<option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
</select>
<select name="datecut">
<option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
<option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
<option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
<option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
<option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
<option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
<option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
<option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
</select>
{$gobutton}
</form>
</td>
</tr>
</table>
<div class="float_left">
{$multipage}
</div>
<div class="float_right" style="margin-top: 4px;">
{$newthread}
</div>
<br style="clear: both;" />
<br />
<div class="float_left">
<div class="float_left">
<dl class="thread_legend smalltext">
<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
</dl>
</div>
<div class="float_left">
<dl class="thread_legend smalltext">
<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
</dl>
</div>
<br style="clear: both" />
</div>
<div class="float_right" style="text-align: right;">
{$inlinemod}
{$searchforum}
{$forumjump}
</div>
<br style="clear: both" />
{$inline_edit_js}
<div class="smalltext" style="text-align: center;">
{$foruminfo['name']}<br />
Powered by: <a href="http://mybbhacks.zingaburga.com/showthread.php?tid=288">XThreads</a> – <a href="http://mybbhacks.zingaburga.com">MyBB Hacks</a>
</div>
|
This is exactly what I need for an application. Just a few tweaks and wording changes though.
I installed this today and noticed that the legend isn't appearing. Everything else relating to the legend is - the space for it, the labels at the bottom, but not the legend colors themselves.
[
attachment=913]
Pretty sure I spelled everything correctly this time.
Edit: Never mind, I guess it was because I needed to refresh my cache (had done a variant of that - CTRL+F5 - though). It's appeared.
Do you plan on updating this plugin for the latest release of Mybb? Would be great.