MyBB Community Forums

Full Version: css button in postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

i am using a theme with css buttons and i am trying to add the multiple quote too, but i kinda cant get it working properly.

So on postbit classic i have added {$post['button_multiquote']} and that shows on, but transparent(bugged).
Then i go on the multiquote template and there i have this:

<a href="javascript:Thread.multiQuote({$post['pid']});" 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']}" /></a>
<script type="text/javascript">
//<!--
	$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>

So i want to make it like that delete button for example. Looks like that:

<a href="editpost.php?pid={$post['pid']}" onclick="Thread.deletePost({$post['pid']}); return false;" style="display: none;" id="quick_delete_{$post['pid']}" class="button blue small"><i class="icon-remove"></i> Delete Post</a>
<script type="text/javascript">
// <!--
	$('quick_delete_{$post['pid']}').style.display = '';
// -->
</script>

So could anyone give me the correct code to make the mutiple quote work properly and look in that css button way.
I could figure out the css button with text and image inside but the quote function did not work, so ye.

Thanks for any help,
k1R@
Here's a good solution for it (requires jQuery, template and CSS edits):
http://community.mybb.com/thread-114856.html
thanks, solved.
thanks, solved.[Image: 22.jpg]
[Image: 23.jpg]
[Image: 24.jpg]
[Image: 25.jpg]
[Image: 26.jpg]