MyBB Community Forums

Full Version: Problem with new thread/new reply...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have a problem when I create a new discussion or a new reply. Options as "Police; Text Size Text Color B: I: U; Left etc. .." does not appear ...

But I know why ; i've put a "simple javascript accordions" ( http://www.dezinerfolio.com/2007/07/19/s...accordions ) and when I disable it, the board works perfectly ...

What to do ?

Thank you in advance
Bye! Smile


(I'm french ! Smile)
Chances are the javascript you're adding is interfering with the MyBB javascript. What's the code you're adding to the templates, and where are you putting it??
I putting it in the header templates and the code it's :

Quote:<link type="text/css" rel="stylesheet" href="/forum/menuaccordeon.css" />

<!-- Une case fait 110 px ! Smile-->
<script type="text/javascript" src="http://habbotroc.com/forum/accordian.pack.js"></script>
<body onload="new Accordian('basic-accordian',5,'header_highlight');"></body>


<div id="basic-accordian" ><!--Parent of the Accordion-->


<div class="tab_container33">
<div id="test1-header" class="accordion_headings header_highlight"><center>HT'Info</center></div>
<div id="test2-header" class="accordion_headings"><center>Habbo</center></div>
<div id="test3-header" class="accordion_headings"><center>HabboTroc</center></div>
<div id="test4-header" class="accordion_headings"><center>Forum</center></div>
<div id="test5-header" class="accordion_headings"><center>Partenaires</center></div>

</div>

<div style="float:left;">
<div id="test1-content">
<div class="accordion_child">
<img src="/centrer.png"><center><em>Vous trouverez ici toutes les news de Habbotroc - Forum.</em><br/><br></center>
<img src="http://habbotroc.com/forum/images/folder.png"> <b>[14/10/09] <span style="color: black">//</span></b> Après pas mal de temps de fermeture, le forum de HabboTroc ré-ouvre enfin mais avec encore quelques petits d&eacute;fauts qui seront corrigés au fil du temps ! <br>
</div>
</div>

<div id="test2-content">
<div class="accordion_child">
<center><img src="/centrer.png"><em>Dans cette cat&eacute;gorie, vous pouvez trouver tous les liens pratiques de habbo ! Wink</em></font></font></marquee><br><br><h4>
<a href="http://habbo.fr" title="Habbo FR">Habbo</a> | <a href="http://www.habbo.fr/groups/SafetyTips"> Habbo - Sécurité</a> | <a href="http://www.habbo.fr/groups/HabboWay">Habbo - Attidue</a><img src="http://habbotroc.com/centrer.png"></center></h4>
</div>
</div>

<div id="test3-content">
<div class="accordion_child">
<img src="/centrer.png"><center><h4><a href="http://habbotroc.com/accueil_286.php">Accueil </a> | <a href="http://habbotroc.com/communaute_290.php">Communaut&eacute;</a> | <a href="http://habbotroc.com/actualite_282.php">Actualit&eacute;</a> | <a href="http://habbotroc.com/guide_du_troc_200.htm">Guide du Troc</a> | <a href="http://habbotroc.com/echange_266.php">Echange</a> | <a href="http://habbotroc.com/fun___extras_333.htm">Fun & Extras</a><br><a href="http://habbotroc.com/equipe_363.htm"><em>Equipe</em></a></h4></center>
</div>
</div>

<div id="test4-content">
<div class="accordion_child">
<img src="/centrer.png"><center><h4><a href="#">Forum</a> | <a href="search.php">Rechercher</a> | <a href="memberlist.php">Liste des membres</a> | <a href="Calendar-Default-Calendar">Calendrier</a> | <a href="/forum/misc.php?action=help">Aide</a> | <a href="portal.php">Portail</a> | <a href="http://habbotroc.com/forum/misc.php?action=rules">R&egrave;gle</a><br/><a href="generateur.php">G&eacute;n&eacute;rateur d'&eacute;criture</center></a></h4>
</div>
</div>

<div id="test5-content">
<div class="accordion_child">
<img src="/centrer.png"><!-- Début du code du texte défilant d'Astwinds--><noscript><a href="http://www..astwinds.com/">Texte défilant<br> d'Astwinds</A></noscript><marquee Class="Scroller" behavior="scroll" direction="left" width="100%" height="19" scrollamount="4" scrolldelay="0" onmouseover="this.stop()" onmouseout="this.start()"><font size="2" face="Arial, Helvetica, sans-serif">Devenez partenaire de HabboTroc - Forum (en cliquant <b><a href="http://habbotroc.com/forum/showthread.php?tid=10&action=lastpost">ici</b></a>) pour avoir votre liens qui défile ici m&ecirc;me ! Wink</font></font></marquee><!-- Fin du code du texte défilant d'Astwinds -->
</div>
</div>
</div></div>

<!--End of accordion parent-->

PS : I repeat ; I'm french and it's a forum for the game Habbo...
So... ?
Someone can help me please ?
You'll need to contact the makers of the accordian script; we can't really provide support for something that isn't MyBB.

Chances are it's coded in jQuery, and MyBB is written in Prototype. The two don't mix well, but it's possible. See Using jQuery with Other Libraries.
Okay...
Thanks
I meant to say your accordian is written in jQuery, and MyBB is coded in Prototype, not the other way around... Shy
Okay but I don't know what to do!
(2009-10-28, 01:48 PM)Adriian Wrote: [ -> ]Okay but I don't know what to do!

You'll need to remove it, and ask the author of the script for help on integrating it with Prototype.