PDA

View Full Version : Mehttp://www.vbulletin.org/forum/newthread.php?do=newthread&f=111ebo Bar


DivineMessenger
02-12-2010, 05:30 AM
I want to install a meembo bar at the bottom of my site but I have no idea where to put the code. Here are the instructions.

1. In your template, immediately following the opening <body> tag, insert the following code:

<script type="text/javascript">
if (typeof Meebo == 'undefined') {
Meebo=function(){(Meebo._=Meebo._||[]).push(arguments)};
(function(q){
var args = arguments;
if (!document.body) { return setTimeout(function(){ args.callee.apply(this, args) }, 100); }
var d=document, b=d.body, 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"></iframe>';
s.src='http'+(q.https?'s':'')+'://'+(q.stage?'stage-':'')+'cim.meebo.com/cim/cim.php?network='+q.network;
b.insertBefore(s, b.firstChild);

})({network:'xxxxxx_ga23ju'});
Meebo('makeEverythingSharable');
}
</script>




2. In your template, immediately prior to the closing </body>, insert the following code:


<script type="text/javascript">
Meebo("domReady");
</script>



3. Save your changes and publish your site

ChopSuey
02-12-2010, 05:55 AM
Questions regarding mods/addons should be asked in the modification thread :D

(woot 1,000th post)

DivineMessenger
02-12-2010, 06:00 AM
Its not a mod question, its a scripting question. This is not a vbulletin mod.

ChopSuey
02-12-2010, 06:08 AM
Oh im sorry, i've seen a meebo temlate mod and thought you were referring to it.

Try the code in the top of the Footer template?

DivineMessenger
02-12-2010, 06:13 AM
Would that make it visible on all pages? Including blogs?

ChopSuey
02-12-2010, 06:15 AM
What do you think? "footer where is it visible?"
lol Try in head include before <body>

DivineMessenger
02-12-2010, 06:28 AM
Everywhere I try to put it I get this message:

The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected ';' in /hermes/bosweb/web020/b206/ipg.xxxxxxxxxx/forums/includes/adminfunctions_template.php(4659) : eval()'d code on line 5

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

--------------- Added 1265964495 at 1265964495 ---------------

Followed the directions here and no more error codes but still no bar either...

ChopSuey
02-12-2010, 08:06 AM
Oops i guess you should ask in that thread ;) not here. Also remove the link. :D

DivineMessenger
02-12-2010, 04:29 PM
no account there lol

ChopSuey
02-13-2010, 08:00 AM
Register? Its not that hard haha. Best get help in the thread ;)