Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
nextgen
Worker
Worker



Joined: Sep 28, 2006
Posts: 241

PostPosted: Sun May 16, 2010 10:20 am Reply with quote

Friends i am trying to add the meebo bar and it needs these 2 codes to work.

After the opening <body> tag i need to add this
Code:
<script type="text/javascript">

if (typeof Meebo == 'undefined') {
    Meebo=function(){(Meebo._=Meebo._||[]).push(arguments)};
    (function(_){ var d=document,b=d.body; if(!b){var c=arguments.callee;
    return setTimeout(function(){c(_)},100)} var a='appendChild',c='createElement',
    m=b.insertBefore(d[c]('div'), b.firstChild),n=m[a](d[c]('m')),i=d[c]('iframe');
    m.style.display='none';m.id='meebo';i.frameBorder="0";
    n[a](i).id="meebo-iframe"; var d=i.contentWindow.document;d.open();
    d.write(['<body onload=\'var d=document;d.getElementsByTagName("head")[0].',
    a,'(d.',c,'("script")).src="http',_.https?'s':'','://',
    _.stage?'stage-':'','cim.meebo.com','/cim?iv=2&network=', _.network,
    _.lang?'&lang='+_.lang:'','"\'></body>'].join('')); d.close(); })
    ({ network: 'lgnukedevelopement_je94ci', stage: false });   
    Meebo("makeEverythingSharable");
}
</script>


after the closing </body> tag i need to add this
Code:
<script type="text/javascript">

  Meebo("domReady");
</script>


The theme is in php and neither tag exists and i also want it to work with all themes. Where can i add these codes to get it to work ?
 
View user's profile Send private message Send e-mail
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sun May 16, 2010 10:46 am Reply with quote

Look in header.php and footer.php in the root of the site.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©