MyBB Community Forums

Full Version: [HELP] Coding Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey guys

im trying to add in wibiya chat bars to my template. i have a custom made one over at http://animegaia.byteact.com

and i cant figure out were to put the code wibiya gave me

<script src="http://cdn.wibiya.com/Toolbars/dir_0452/Toolbar_452440/Loader_452440.js" type="text/javascript"></script>


so that it'll show up
I'm guessing the header or headerinclude
i cant seem to find that, ive got a list of global and stuff, in a custom theme. idk were that is
The header is in Templates & Themes > Templates > Header Templates > header

And headerinclude is in Templates & Themes > Templates > Ungrouped Templates > headerinclude

This is all done within the Admin CP.
I think "wibiya" has some security issues at the moment. Be careful.
ok , now were in the header do i add this code?
You'd want to add it in the headerinclude right after this code:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>
and before {$stylesheets}
If I'm not mistaken, wibiya is not compatible with MyBB, however thats just based off a couple people who have tried to configure it with me on MSN.
its working fine for me, it only shows up on the main page. but thats fine, it reads new posts, stats, and everything perfectly
Add it in the header or footer if you want it to be shown on every page.