Thread Rating:
  • 10 Vote(s) - 3.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] NDesign for 1.6 [Released]
#31
How to add multiquote support?

<html>
<head>
  <script>
function mostrar(enla) {
obj = document.getElementById('oculto');
enla.innerHTML = (enla.innerHTML == '- Q') ? '+ Q' : '- Q';
}
  </script>
</head>
<body>
<a href="#" onclick="mostrar(this); return false">+
Q</a>
</body>
</html>

I have that script to change a text while u click on it, but i modified the theme to include multiquote and i cannot success.

Some help?

That's the code of the original MyBB theme:
<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>
Reply
#32
Hi iagovar. I'm planning to implement multiquote soon. Its a little tricky, but I'll post an update and change instructions once its done.

Thanks!
Reply
#33
This user has been denied support. This user has been denied support.
waiting for update version for mybb 1.6
Hope, it includes:
multi quote
new post (top menu)
todays post (top menu)
*Rules menu
*thanks plugins


Add question:
How can i add * new post & todays post on top menu
and also multi quote?

How can this be align ?
[Image: 84990534.jpg]

because i add thanks button and it was disarrange
Heart

[Image: logo2.png]
Reply
#34
New version with the New/Tdoay's Posts and multiquote support added:
http://quacktacular.net/web/mybb-themes/ndesign/

nadlerz, what plugins are you using exactly? Its pretty easy to fix the button issue, you just have to remove the image from the <a> tag, dd class="forumbutton", and type in a word or two.
Reply
#35
I have a theme with your button's plugin. ┬┐How can i add multiquote?
Reply
#36
You can add this to your headerinclude template (Templates > x-theme Templates > at the bottom under Ungrouped templates)
<script type="text/javascript">
<!--
function changeClass(elem, className1,className2)
{
    elem.className = (elem.className == className1)?className2:className1;
}
// -->
</script>

Add this to the Post Bit > postbit_multiquote template
<a href="javascript:Thread.multiQuote({$post['pid']});" onclick="changeClass(this,'forumbutton','quickreply forumbutton');" style="display: none;" id="multiquote_link_{$post['pid']}" class="forumbutton"><img id="multiquote_{$post['pid']}" src="images/spacer.gif" alt=""/><span>Q+</span></a>
<script type="text/javascript">
//<!--
    $('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>

And you'll need to add a a.multiquote class to your global.css. You can add it at the end of the hover or active section (depending on how your theme is configured), or you can make your own. Make sure all rules you want to apply to the multiquote button end with !important;.
Reply
#37
Thx u a lot man!
Reply
#38
This user has been denied support. This user has been denied support.
How can i update my Older version for this without importing the xml file?
or what files i would be replacing from the old files?
Or theres no option for upgrading?
Just upload all the files again ?
Add question,
how to manually add the multi quote button?
How to change my "thanks" button to css button?
Thanks in advance!
Heart

[Image: logo2.png]
Reply
#39
This is nice, thank you very much
<snip - spam>
Reply
#40
Its very kool, but, how can i change color of one button? please help Smile


How to make it right? Smile something bad has happened Toungue


Attached Files Thumbnail(s)
               
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)