News:

Wondering if this will always be free?  See why free is better.

Main Menu

post layout like line

Started by iso, February 17, 2019, 08:16:41 AM

Previous topic - Next topic

iso

Hi,

just a minor thing ... can you hide the second line within a post, when no like is given and a signature is shown.


Antes

If your display.template is unchanged you can upload this directly.
If you want to path it;

Open Display.template.php, you will find the code twice.
Code (Find) Select
if ($context['can_report_moderator'] || !empty($modSettings['enable_likes']) || $message['can_approve'] || $message['can_unapprove'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'] || $context['can_quote'])
Code (Replace) Select
if ($context['can_report_moderator'] || (!empty($modSettings['enable_likes']) & !empty($message['likes']['count'])) || $message['can_approve'] || $message['can_unapprove'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'] || $context['can_quote'])

Advertisement: