MyBB Community Forums
Netpen closed thread icon not swowing up - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Netpen closed thread icon not swowing up (/thread-231255.html)



Netpen closed thread icon not swowing up - Alhimika - 2021-02-15

Hi All! 

Quite a troubled theme, but I just have to fix this

closed thread icon not swowing up

Must be something with CSS but I'm not good at it. 

Couldn't find any errors either using console, checking CSS or templates

Any help please? 

Thanks 

https://alhimika.net/forum/forumdisplay.php?fid=18


RE: Netpen closed thread icon not swowing up - mujeebdgk - 2021-02-16

i think thread-status class is missing in templates


RE: Netpen closed thread icon not swowing up - Alhimika - 2021-02-16

<div class="row" style="padding-bottom:15px">
<div class="col-lg-12 visible-xs visible-sm visible-md" style="line-height: 3;text-align:center;">

{$newthread}
</div>
<div class="col-lg-12 hidden-xs hidden-sm hidden-md" style="line-height: 2.1;text-align:right;">

{$newthread}
</div>
</div>
<div class="panel" style="margin: 0">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder clear">
<tr>
<td class="thead-dark" colspan="{$colspan}">
<div class="float_right">
<a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}" class="tt effect" title="{$lang->markforum_read}"><i class="fa fa-check-square fa-lg"></i></a>&nbsp;&nbsp;
<a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}" class="tt effect" title="{$add_remove_subscription_text}"><i class="fa fa-plus-square fa-lg"></i></a>{$clearstoredpass}
</div>
<strong>{$foruminfo['name']}</strong>
</td>
</tr>
<tr style="display: none;">
<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
{$ratingcol}
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
{$inlinemodcol}
</tr>
{$selectall}
{$announcementlist}
{$threads}
<tr>
<td class="tfoot" align="right" colspan="{$colspan}">
<form action="forumdisplay.php" method="get">
<input type="hidden" name="fid" value="{$fid}" />
<select name="sortby">
<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>
</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>
{$prefixselect}
{$gobutton}
</form>
</td>
</tr>
</table>

</div>
<div class="new_thread">
{$newthread}
</div>
<span class="text_center_top">
{$multipage}
</span>
{$usersbrowsing}
<br class="clear" />
<div class="col-xs-12 col-sm-5 thread-status">
<div class="col-xs-6 thread-status1">
<dl class="thread_legend smalltext">
<dd><span class="thread_status newfolder" title="{$lang->new_thread}">&nbsp;</span> {$lang->new_thread}</dd>
<dd><span class="thread_status newhotfolder" title="{$lang->new_hot_thread}">&nbsp;</span> {$lang->new_hot_thread}</dd>
<dd><span class="thread_status hotfolder" title="{$lang->hot_thread}">&nbsp;</span> {$lang->hot_thread}</dd>
</dl>
</div>
<div class="col-xs-6 thread-status2 hidden-xs">
<dl class="thread_legend smalltext">
<dd><span class="thread_status folder" title="{$lang->no_new_thread}">&nbsp;</span> {$lang->no_new_thread}</dd>
<dd><span class="thread_status dot_folder" title="{$lang->posts_by_you}">&nbsp;</span> {$lang->posts_by_you}</dd>
<dd><span class="thread_status lockfolder" title="{$lang->locked_thread}">&nbsp;</span> {$lang->locked_thread}</dd>
</dl>
</div>
<div class="col-xs-6 thread-status2 visible-xs" style="text-align: right">
<dl class="thread_legend smalltext">
<dd>{$lang->no_new_thread} <span class="thread_status folder" title="{$lang->no_new_thread}"></span> </dd>
<dd>{$lang->posts_by_you} <span class="thread_status dot_folder" title="{$lang->posts_by_you}"></span> </dd>
<dd>{$lang->locked_thread} <span class="thread_status lockfolder" title="{$lang->locked_thread}"></span> </dd>
</dl>
</div>
</div>
<!--<div class="search_mod visible-xs" data-toggle="collapse" data-target="#options_mod"><input style="margin: 20px 0px 15px;" class="btn btn-warning" value="Options" type="submit"></div>-->
<div class="mod_options options-collapse" id="options_mod" style="text-align: right;"> <!-- add class="collapse" -->
{$inlinemod}
{$searchforum}
{$forumjump}
</div>
<br class="clear" />
{$inline_edit_js}

please see above forumdisplay_threadlist

thread_status is there

Anything catching your eye?

tried to follow as per
https://community.mybb.com/thread-218506.html

still no luck


RE: Netpen closed thread icon not swowing up - Alhimika - 2021-02-20

sorry for bumping up, but also there is a problem with showthread_newreply_closed template.
If thread closed no closed button coming up

Any ideas or possible solutions?

Thanks

I've made some progress and managed to display closed thread icon as per this post
https://community.mybb.com/thread-218959.html

after replacing the following code in the forumdisplay_threadlist

<dd><span class="thread_status lockfolder" title="{$lang->locked_thread}">&nbsp;</span> {$lang->locked_thread}</dd>

to 

<dd><span class="thread_status closefolder" title="{$lang->closed_thread}">&nbsp;</span> {$lang->closed_thread}</dd>

Happy days. Closed thread icon is displayed......But is displayed only if you are the last poster

   

Any Ideas how to fix this further? 

thanks


nearly fixed this
In thread_status.css

changed this
span[data-thread-status-locked="1"]

to

span[data-thread-status-closed="1"]

So in forum display closed icon is displaying as it shoud
But no description in thread legend
and also no closed thread notification on show thread