vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Mehttp://www.vbulletin.org/forum/newthread.php?do=newthread&f=111ebo Bar (https://vborg.vbsupport.ru/showthread.php?t=235669)

DivineMessenger 02-12-2010 05:30 AM

Mehttp://www.vbulletin.org/forum/newthread.php?do=newthread&f=111ebo Bar
 
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.

Quote:

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 [DATE]1265964495[/DATE] at [TIME]1265964495[/TIME] ---------------

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 ;)


All times are GMT. The time now is 02:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01573 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete