MyBB Community Forums

Full Version: MySupport not highlighting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MySupport download I used: https://mods.mybb.com/view/mysupport



So when a thread gets solved and the owner of the thread marks the post as a best answer it isn't highlighting like it should be, is there a way to fix this?
Can you paste your postbit and postbit_classic templates? Sounds like the template edit just hasn't been made.
I force postbit_classic, here you go.

{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author {$usergroup['title']} scaleimages">
	{$post['useravatar']}
	<div class="author_information">
			<strong><span class="usernames">{$post['profilelink']}</span></strong><br />
			<span class="smalltext">
				{$post['usertitle']}<br />
				{$post['groupimage']}
			</span>
	</div>
	<div class="author_statistics">
		{$post['user_details']}<br />
		{$post['onlinestatus']}
	</div>
</div>
<div class="post_content">
	<div class="post_head">
		{$post['posturl']}
		{$post['mysupport_status']}{$post['icon']}
		<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
	{$post['subject_extra']}<div class="float_right">{$post['mysupport_bestanswer']}{$post['mysupport_deny_support_post']}</div>
	</div>
	<div class="post_body scaleimages" id="pid_{$post['pid']}">
		{$post['message']}
	</div>
	{$post['attachments']}
	{$post['signature']}
	<div class="post_meta" id="post_meta_{$post['pid']}">
		
	</div>
</div>
<div class="post_controls">
	<div class="postbit_buttons author_buttons float_left">
	{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}{$post['iplogged']}
	</div>
	<div class="postbit_buttons post_management_buttons float_right">
		{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
	</div>
</div>
</div>
Seems the code the plugin looks for to make the change isn't in the template in 1.8... find:

<div class="post classic {$unapproved_shade}"

change to:

<div class="post classic {$unapproved_shade} {$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}"

See if that works.
(2016-11-02, 12:38 PM)Matt Wrote: [ -> ]Seems the code the plugin looks for to make the change isn't in the template in 1.8... find:

<div class="post classic {$unapproved_shade}"

change to:

<div class="post classic {$unapproved_shade} {$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}"

See if that works.

awesome, thanks a lot, its working.