Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Meebo Bar Details »»
Meebo Bar
Version: 1.00, by Hell Bomb Hell Bomb is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.x Rating:
Released: 07-13-2010 Last Update: Never Installs: 10
Template Edits
Re-useable Code Additional Files Is in Beta Stage  
No support by the author.

Hey everyone, I recently came across the new Meebo Bar (Beta) and i found a way to integrate it into my forums and would like to show you how to do it yourself.

3.8.x version can be found here.
https://vborg.vbsupport.ru/showthread.php?p=2068923

About Meebo bar. From Meebo website
Quote:
What does the Meebo Bar offer?
With the Meebo Bar, you get several great features straight out of the box:

* Real-time sharing. Your users can easily share your website with their friends through IM, Facebook, Twitter, Yahoo, and email. The Meebo Bar engages your existing users and brings in new users.
* Custom buttons for your bar. Choose from a host of buttons to add to your bar. Right now we have buttons for Facebook Fan pages, Twitter, RSS, Youtube, Flickr, and a bunch more. If you don't see a button you want, just let us know.
* Personal stats dashboard. See statistics about pageviews, sharing from your site, and which of your Meebo Bar buttons are being clicked, all from your own secure site. You can even give other users their own personal login to access the dashboard.
* Instant messaging from your site. Meebo knows web-based IM better than anyone, and your site visitors will be able to chat and share with their IM friends from AIM, Yahoo!, MSN, Facebook, and a ton of other networks.
Step 1
Go to http://bar.meebo.com/ and sign up their.
Step 2
Once you have an account created start by pressing the integration wizard link.
Step 3
now click the link that says "I host my own blog / site or use a different blog platform"
Step 4
Now you should get some code that looks a lot like this. Copy it all and place it at the bottom of your header include template. (Don't use the code I posted, you the code that you get from the Meebo website.)
Code:
<script type="text/javascript">
if (typeof Meebo == 'undefined') {
	var M=Meebo=function(){(M._=M._||[]).push(arguments)},w=window,a='addEventListener',b='attachEvent',c='load',
	d=function(){M.T(c);M(c)},z=M.$={0:+new Date};
	M.T=function(a){z[a]=+new Date-z[0]};if(w[a]){w[a](c,d,false)}else{w[b]('on'+c,d)};M.v=3;
	(function(_){var d=document,b=d.body,c;if(!b){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";
	function s(){return['<body onload=\'var d=document;d.getElementsByTagName("head")[0].',
	a,'(d.',c,'("script")).sr','c="//',_.stage?'stage-':'',
	'cim.meebo.com','/cim?iv=',M.v,'&network=',_.network,_.lang?'&lang='+_.lang:'',
	_.d?'&domain='+_.d:'','"\'></bo','dy>'].join('')}try{
	d=i.contentWindow.document.open();d.write(s());d.close()}catch(e){
	_.d=d.domain;i['sr'+'c']='javascript:d=document.open();d.write("'+s().replace(/"/g,'\\"')+'");d.close();'}M.T(1)})
    ({ network: 'YourWebsiteHere_ha26ko', stage: false });
    Meebo("makeEverythingSharable");    
}
</script>
Step 5
Now open up the footer template on your website and place the following code into the very bottom.
Code:
<script type="text/javascript">
  Meebo("domReady");
</script>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-14-2010, 07:25 AM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Additions

Storing your JavaScript in an external file.
Step 1
Open up a new notepad document and place the code you got from the Meebo website into it.
Code:
<script type="text/javascript">
if (typeof Meebo == 'undefined') {
	var M=Meebo=function(){(M._=M._||[]).push(arguments)},w=window,a='addEventListener',b='attachEvent',c='load',
	d=function(){M.T(c);M(c)},z=M.$={0:+new Date};
	M.T=function(a){z[a]=+new Date-z[0]};if(w[a]){w[a](c,d,false)}else{w[b]('on'+c,d)};M.v=3;
	(function(_){var d=document,b=d.body,c;if(!b){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";
	function s(){return['<body onload=\'var d=document;d.getElementsByTagName("head")[0].',
	a,'(d.',c,'("script")).sr','c="//',_.stage?'stage-':'',
	'cim.meebo.com','/cim?iv=',M.v,'&network=',_.network,_.lang?'&lang='+_.lang:'',
	_.d?'&domain='+_.d:'','"\'></bo','dy>'].join('')}try{
	d=i.contentWindow.document.open();d.write(s());d.close()}catch(e){
	_.d=d.domain;i['sr'+'c']='javascript:d=document.open();d.write("'+s().replace(/"/g,'\\"')+'");d.close();'}M.T(1)})
    ({ network: 'YourWebsiteHere_ha26ko', stage: false });
    Meebo("makeEverythingSharable");    
}
</script>
Step 2
Now get rid of the following lines
Code:
<script type="text/javascript">
and
Code:
</script>
Step 3
Now save the file as meebo.js
Step 4
Upload that file wherever you want in your ftp.
Step 5
Open up your footer template and find the following code.
Code:
<script type="text/javascript">
  Meebo("domReady");
</script>
Step 6
Replace it with.
Code:
<script type="text/javascript" src="path/to/meebo.js></script>
Step 7
Save the template.

Setting user group permissions
Step 1
Open up the footer template.
Step 2
Find the following code
Code:
<script type="text/javascript" src="path/to/meebo.js></script>
OR
Code:
<script type="text/javascript">
  Meebo("domReady");
</script>
Step 3
Add the following above it
Code:
<vb:if condition="is_member_of($bbuserinfo, array(5, 6, 7))">
And add the following after it
Code:
</vb:if>
Step 4
Replace the
Code:
5,6,7
with whatever usergroup id's you want the be able to view the Meebo Bar
Disabling Drag to share on images and videos
Step 1
Open up either your external JavaScript file or the code placed in the footer and find the following line
Code:
Meebo("makeEverythingSharable");
Step 2
Change it to the following
Code:
Meebo("");
Reply With Quote
  #3  
Old 07-14-2010, 07:29 AM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-- Live Previews--
http://bar.meebo.com/
http://www.elitegamingcrew.org/ (Thank you acezakj for the live preview)

-- Screenshots --
Attached Images
File Type: jpg default bar.jpg (14.6 KB, 0 views)
File Type: jpg drag and drop.jpg (46.0 KB, 0 views)
Reply With Quote
  #4  
Old 07-14-2010, 01:06 PM
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screen shots plzz
Reply With Quote
  #5  
Old 07-14-2010, 03:18 PM
vividbreeze vividbreeze is offline
 
Join Date: Sep 2007
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

integrating this, would you be able to chat with members live or no?
Reply With Quote
  #6  
Old 07-14-2010, 05:27 PM
benstillman benstillman is offline
 
Join Date: Jun 2007
Location: Ohio
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged. Definitely want to see/hear more. Screenshots would be swell.
Reply With Quote
  #7  
Old 07-14-2010, 06:11 PM
Greight's Avatar
Greight Greight is offline
 
Join Date: Oct 2009
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So where does the first code should be placed?
Reply With Quote
  #8  
Old 07-14-2010, 09:05 PM
acezakj acezakj is offline
 
Join Date: May 2010
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't mind i updated your instructions and i gave you full credit.
Reply With Quote
  #9  
Old 07-14-2010, 10:29 PM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still do not get what this does... How about a link to a website with this in action? Or some pics??
Reply With Quote
  #10  
Old 07-14-2010, 11:27 PM
acezakj acezakj is offline
 
Join Date: May 2010
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.elitegamingcrew.org/" target="_blank">http://www.elitegamingcrew.org/</a> or check the Meebo (Updated) post
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04583 seconds
  • Memory Usage 2,328KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (14)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete