MyBB Community Forums

Full Version: Multiquote doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
After few tests i've dropped jQuery multi quote fix for a css solution (it involves a sibling selector ~ )
In your multiquote_template replace all content with this one.

<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 global.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.
Still doesn't work. It gives me "Quote" text near "Quote" button in the postbit. If i click on it nothing happens:

http://gyazo.com/f819c070bc9da442583b26776f2133d5.png
Did you pasted that content from my post into your postbit_multiquote template ?
Clever, I quite like that. I really didn't like the idea of loading jQuery just to get multiquotes working.
Yes Johhny, I pasted all but didn't work.
Do you want a test account for my site so you can see?
So, ThankYouLike system broke my multiquote. DarkNeo solved the problem.
You can close.
Pages: 1 2