MyBB Community Forums

Full Version: Button Mark best answer in Thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I downloaded the Mark best answer plugin in Thread - 1.8.x but once activated I do not see the button as present on your site. I use postbit classic
did you read the readme.txt in download-package and follow the instructions?
Yes yes I read the instructions and it turns out to be variable. That's why it seems strange that I don't see anything in the posts 😅
could you post your postbit_classic template please

if you have more than one style and more than one template-pack:
changed in all template-packs?

changes to global.css made?
(2024-01-24, 04:00 PM)bv64 Wrote: [ -> ]could you post your postbit_classic template please

if you have more than one style and more than one template-pack:
changed in all template-packs?

changes to global.css made?

{$ignore_bit}{$deleted_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 scaleimages">
	
	<div class="author_information"><strong><span class="largetext">{$post['profilelink']}</span></strong><br />{$post['onlinestatus']}
<br /></div>
	
	{$post['useravatar']}
	
	<div class="author_information">
			<span class="smalltext">
				{$post['usertitle']}<br />
				{$post['userstars']}
				{$post['groupimage']}
			</span>
	</div>
	<div class="author_statistics">
		{$post['user_details']}
	</div>
</div>
<div class="post_content{$post['styleclass']}">
	<div class="post_head">
		{$post['button_ba']}{$post['posturl']}
		{$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>
	<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']}">
		{$post['iplogged']}
		<div class="float_right">
			{$post['poststatus']}
		</div>
	</div>
	{$post['input_editreason']}
</div>
<div style="{$post['tyl_display']}" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div>
<div class="post_controls">
	<div class="postbit_buttons author_buttons float_left">
		{$post['button_email']}<a href="share.php?pid={$post['pid']}" id="share_post_{$post['pid']}" title="Share Post"><img src="https://www.selleck87.it/images/share.png">Condividi</a>
{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
	</div>
	<div class="postbit_buttons post_management_buttons float_right">
		{$post['button_tyl']}{$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>


<div id="share_post_{$post['pid']}_popup" class="popup_menu" style="display: none;">

<div class="popup_item_container"><a class="popup_item" href="https://plus.google.com/share?url={$mybb->settings['bburl']}/{$post['postlink']}" onclick="javascript:window.open(this.href,
  '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><i class="fa fa-google-plus-square" style="font-size:18px; color:#d34836"></i> Google Plus</a></div>


<div class="popup_item_container"><a class="popup_item" href="https://www.facebook.com/sharer/sharer.php?u={$mybb->settings['bburl']}/{$post['postlink']}" class="fb-share-button" onclick="javascript:window.open(this.href,  '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><i class="fa fa-facebook-square" style="font-size:18px;color:#3B5998"></i> Facebook </a></div>


<div class="popup_item_container"><a class="popup_item" href="https://twitter.com/intent/tweet?text={$thread['subject']} &url={$mybb->settings['bburl']}/{$post['postlink']}"onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><i class="fa fa-twitter-square" style="font-size:18px;color:#0084b4"></i> Twitter </a></div>

</div>

<script type="text/javascript">
// <!--
	if(use_xmlhttprequest == "1")
	{
		$("#share_post_{$post['pid']}").popupMenu();
	}
// -->
</script>

Is it possible to have the css code where once entered as the best answer, the column colour changes? I don't know if I have expressed myself well
die Codes wurden nicht im Template eingetragen

ergänze hinter {$post['button_rep']}
{$post['button_ba']} {$post['button_del_ba']}

please read the readme.txt again


the plugin only changes the postbit template, not the postbit_classic
Take a look in postbit to see if everything is there and then transfer the variables to postbit_classic
not the whole template, just the variables from the plugin!

you understand?
yes now I'm going to work to fix it. As always, thank you for your very valuable help.
with pleasure
Quote:<div class> for the background-color-change: {$post['ts_class']}


I noticed that I can put this by reading the guide included in the file but I didn't understand where exactly to put it in the postbit classic. By the way, I would like the buttons at the top right of the post like in this support forum. Any suggestions?