Re: [ADDON][beta] Topic Prefix
Reply #71 –
prefix in topic view (index.php?topic=x) near to the title
This is working with Light theme, but not with BeSocial, seems there is a little bug reported here.
Also in message view I suggest to not display the prefix inside the number views ,but before the title. (The prefix will not be displayed on mobile view since the views are not displayed on mobile)
FIle: TopicPrefix.Integrate.php
$context['num_views_text'] = sprintf($txt['topicprefix_linktree'], topicprefix_prefix_marktup($prefixes[$topic])) . ' ' . $context['num_views_text'];
should became something like
$context['subject'] = sprintf(topicprefix_prefix_marktup($prefixes[$topic])) . $context['subject'];
my code is not correct, it works but also creates an html error in quick reply (see screenshot). Any suggestion on how to solve this?