MyBB Community Forums
i want to add some code to my forums - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: i want to add some code to my forums (/thread-69440.html)



i want to add some code to my forums - utakata - 2010-05-11

Hello i am wanting to add bar.meebo.com on my forums at i-deluxe.co.cc/Upload and i know i have to add it to the template i am using but i am not completely sure which template i should use to place the meebo bar code at.


RE: i want to add some code to my forums - Polarbear541 - 2010-05-11

Probably best to put it in the index template. Above {footer}.


RE: i want to add some code to my forums - utakata - 2010-05-11

Okay i went to my theme and then i went to the index template and picked the one named index and above {$footer} i put

<script type="text/javascript">
if (typeof Meebo == 'undefined') {
Meebo=function(){(Meebo._=Meebo._||[]).push(arguments)};
(function(q){
var d=document,b=d.body;
if(!b){var cb=arguments.callee;return setTimeout(function(){cb(q)},100);}
var m=b.insertBefore(d.createElement('div'), b.firstChild), s=d.createElement('script');
m.id='meebo'; m.style.display='none'; m.innerHTML='<iframe id="meebo-iframe" frameBorder="0" ></iframe>';
s.src='http'+(q.https?'s':'')+'://'+(q.stage?'stage-':'')+'cim.meebo.com/cim/cim.php?network='+q.network;
d.getElementsByTagName('head')[0].appendChild(s);
})({network: 'ideluxe_co48ga', stage: false});
Meebo('makeEverythingSharable');
}
</script>

and it seems to not be showing up.