MyBB Community Forums

Full Version: Multiquote button fix (without jQuery)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For sibling selector fix open postbit_multiquote template and replace all content with

<a href="javascript:Thread.multiQuote({$post['pid']});" class="postbit_button" style="display: none;" id="multiquote_link_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_multiquote.gif" alt="{$lang->postbit_multiquote}" title="{$lang->postbit_multiquote}" id="multiquote_{$post['pid']}" style="display:none;" /><span></span>Quote</a>
<script type="text/javascript">
//<!--
	$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>

and in your showthread.css (that is used by your theme) add:

img[src*="postbit_multiquote.gif"] ~ span:before {
  
}

img[src*="postbit_multiquote_on.gif"] ~ span:before {
   content:"+";
} 

and save it.

When you quote someone in a post (using multiquote) you'll get "+" before "Quote" text that is indicating that that post is quoted.


Result:

[Image: 18R7mp1.png]

[Image: tF53n4y.png]

Remember to upload two transparent (1px x 1px, from postbit.zip) gif files into your theme image folder.
My multiquote feature isn't working at all, it's just showing a continuous spinner whenever I click "Quote these posts now ." So I tried this method, but the Quote button is removed from the postbit.

Edit: Nvrm, a plugin was interfering
it's not working