I installed "LightAvatars" and after that I installed "Last poster avatar on forumdisplay and index", but didn't like the style of neither of them so I uninstalled both plugins. After that, I realized the name of the last poster didn't show up:
The name of the user should be there, but there isn't. Nevertheless, the author of the post/message does appear in the sidebox in "latest threads":
I'm using NetPen Theme btw.
Any idea of what's the problem? Thanks in advance.
you can replace the content of the template with :
<div class="col-md-3 col-sm-2 hidden-xs pull-right" style="text-align: right;">
<span class="smalltext" style="width: 100%;">
<a class="tt" href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>
</div>
<span class="visible-xs" style="font-size: 13px;"><a class="label label-info member_label" href="{$lastpost_link}" style="float: left;font-size: 11px;color:#fff;">Last Post:</a> {$lastpost_date} <i class="fa fa-arrow-circle-right last-post-icon"></i></span>
Just to be sure, the forumbit_depth2_forum_lastpost template?
^ yes, it is for forumbit_depth2_forum_lastpost template
Sadly there are no changes in the forum after pasting that code, index still looks like this:
Well actually there is a slight change but the colums are still wrong :/
The rest of the forum is perfect though
custom theme's
templates backup is
not stored in the
database
when
custom theme templates are
reverted they get the
original content of
MyBB's Stock theme.
forumbit_depth1_cat template
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder box-shadow-bottom">
<thead>
<tr>
<td class="thead-dark{$expthead}" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="tt expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div style="display: inline-block;">
<strong><a style="text-transform:uppercase;" href="{$forum_url}">{$forum['name']}</a></strong><br />
<span class="desc pull-left">{$forum['description']}</span>
</div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
<br />
forumbit_depth1_forum_lastpost template
<div class="col-md-3 col-sm-2 hidden-xs" style="text-align: right;">
<span class="smalltext" style="width: 100%;">
<a class="tt" href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>
</div>
<span class="visible-xs" style="font-size: 13px;color: rgb(119, 119, 119);"><a href="{$lastpost_link}" style="float: left;color: rgb(119, 119, 119);">Last Post:</a> {$lastpost_date} <i class="fa fa-arrow-circle-right last-post-icon"></i></span>
(2017-05-21, 02:11 AM).m. Wrote: [ -> ]custom theme's templates backup is not stored in the database
when custom theme templates are reverted they get the original content of MyBB's Stock theme.
Didn't know that, I'll take it into account from now on.
I copy-pasted that code and worked perfectly, the forum structure went back to normal. Thanks a lot.