The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Meebo bar

2 posters

Go down

Solved Meebo bar

Post by strombo February 6th 2012, 3:30 am

I would like to know if there is any way to install the meebo bar in my forum (PHPBB3).

I got the code provided by the meebo bar website but I don't know where I should put it and if there's another step. Any idea?

Thks
avatar
strombo
New Member

Posts : 5
Reputation : 1
Language : Portuguese

Back to top Go down

Solved Re: Meebo bar

Post by Red. February 6th 2012, 10:31 pm

Is the code javascript or html/css combined with javascript?
Red.
Red.
New Member

Male Posts : 22
Reputation : 1
Language : English

Back to top Go down

Solved Re: Meebo bar

Post by strombo February 6th 2012, 11:36 pm

well here is the code

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

Code:
<script type="text/javascript">
window.Meebo||function(c){function p(){return["<",i,' onload="var d=',g,";d.getElementsByTagName('head')[0].",
j,"(d.",h,"('script')).",k,"='http://cim.meebo.com/cim?iv=",a.v,"&",q,"=",c[q],c[l]?
"&"+l+"="+c[l]:"",c[e]?"&"+e+"="+c[e]:"","'\"></",i,">"].join("")}var f=window,
a=f.Meebo=f.Meebo||function(){(a._=a._||[]).push(arguments)},d=document,i="body",
m=d[i],r;if(!m){r=arguments.callee;return setTimeout(function(){r(c)},100)}a.$=
{0:+new Date};a.T=function(u){a.$[u]=new Date-a.$[0]};a.v=5;var j="appendChild",
h="createElement",k="src",l="lang",q="network",e="domain",n=d[h]("div"),v=n[j](d[h]("m")),
b=d[h]("iframe"),g="document",o,s=function(){a.T("load");a("load")};f.addEventListener?
f.addEventListener("load",s,false):f.attachEvent("onload",s);n.style.display="none";
m.insertBefore(n,m.firstChild).id="meebo";b.frameBorder="0";b.name=b.id="meebo-iframe";
b.allowTransparency="true";v[j](b);try{b.contentWindow[g].open()}catch(w){c[e]=
d[e];o="javascript:var d="+g+".open();d.domain='"+d.domain+"';";b[k]=o+"void(0);"}try{var t=
b.contentWindow[g];t.write(p());t.close()}catch(x){b[k]=o+'d.write("'+p().replace(/"/g,
'\\"')+'");d.close();'}a.T(1)}({network:"lolteste_du57tu"});
</script>

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

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

there are other options but all of them the code looks similar.. and here is a forum with this bar: http://battlefrontier.forumotion.com/t349-meebo-bar

I tried to contact the admin but that forum appears to be dead
avatar
strombo
New Member

Posts : 5
Reputation : 1
Language : Portuguese

Back to top Go down

Solved Re: Meebo bar

Post by strombo February 6th 2012, 11:57 pm

Rideem3 wrote:For phpBB3, just create a new JavaScript. Wink

Go to Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on! -> Create new -> Title it Meebo -> Select in all pages -> Paste:
Code:
window.Meebo||function(c){function p(){return["<",i,' onload="var d=',g,";d.getElementsByTagName('head')[0].",
j,"(d.",h,"('script')).",k,"='http://cim.meebo.com/cim?iv=",a.v,"&",q,"=",c[q],c[l]?
"&"+l+"="+c[l]:"",c[e]?"&"+e+"="+c[e]:"","'\"></",i,">"].join("")}var f=window,
a=f.Meebo=f.Meebo||function(){(a._=a._||[]).push(arguments)},d=document,i="body",
m=d[i],r;if(!m){r=arguments.callee;return setTimeout(function(){r(c)},100)}a.$=
{0:+new Date};a.T=function(u){a.$[u]=new Date-a.$[0]};a.v=5;var j="appendChild",
h="createElement",k="src",l="lang",q="network",e="domain",n=d[h]("div"),v=n[j](d[h]("m")),
b=d[h]("iframe"),g="document",o,s=function(){a.T("load");a("load")};f.addEventListener?
f.addEventListener("load",s,false):f.attachEvent("onload",s);n.style.display="none";
m.insertBefore(n,m.firstChild).id="meebo";b.frameBorder="0";b.name=b.id="meebo-iframe";
b.allowTransparency="true";v[j](b);try{b.contentWindow[g].open()}catch(w){c[e]=
d[e];o="javascript:var d="+g+".open();d.domain='"+d.domain+"';";b[k]=o+"void(0);"}try{var t=
b.contentWindow[g];t.write(p());t.close()}catch(x){b[k]=o+'d.write("'+p().replace(/"/g,
'\\"')+'");d.close();'}a.T(1)}({network:"lolteste_du57tu"});
Meebo("domReady");

Hit save and you're done. Wink

wow, thanks, its working now! Very Happy Very Happy Very Happy
avatar
strombo
New Member

Posts : 5
Reputation : 1
Language : Portuguese

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum