Customizing SMF > Modifications and Packages

SA Chat

(1/166) > >>

SA™:
Link to Mod



SA Chat Bar
MySpace/Facebook style chat bar for Simple Machines Forum.

If you like this mod please donate by clicking here.

SA Chat bar software integrates with SMF and works with SMF without working within SMF. This is done by loading the SMF cookie from the browser and verifying it against data saved in the database. This way of working allows SA Chat to run inside and outside of SMF and throughout your website as long as the user is logged into SMF.

The integration codes can be put into any html code. One in the head and one in the body. The install script however installs the JavaScript codes by default in the default theme, but you can add these codes into whatever template you like SMF or not.

More information and troubleshooting.
Video Demostrations
SA Chat Installation Trouble Shooter
SA Chat tips & tricks

License
You are allowed to use and modified SA Chat on your website, however you are not allowed to distribute SA Chat without permission. Any user who offers download of SA Chat without permission will have proper actions taken against them. This includes a take down notice to their host and maybe legal actions. Currently there are two places you may be able to get SA Chat the SMF Site(http://www.simplemachines.org) and the SA Mod Site(http://sa-mods.info). If you downloaded this file from any other source besides the sources mention please report the site you downloaded this mod at http://sa-mods.info.

As of revision 10 makes use of jQuery JavaScript Library v1.4.2 - http://jquery.com/, Copyright 2010, John Resig. Dual licensed under the MIT or GPL Version 2 licenses - http://jquery.org/license. Which also includes Sizzle.js - http://sizzlejs.com/, Copyright 2010, The Dojo Foundation. Released under the MIT, BSD, and GPL Licenses.

As of revision 16 makes use of jQuery viewportOffset v0.3 - http://benalman.com/projects/jquery-misc-plugins/, Copyright 2010 "Cowboy" Ben Alman. Dual licensed under the MIT and GPL licenses - http://benalman.com/about/license/.

As of revision 17 makes use of jQuery Translate plugin v1.3.2 - http://code.google.com/p/jquery-translate/, Copyright 2009 Balazs Endresz. Dual licensed under the MIT and GPL licenses.

SA Chat default theme images courtesy of BittBox - http://www.bittbox.com/category/freebies/

All other code is copyright 2011 SA Mods/sa-mods.info
Special Thanks
Nend (origanal developer)
Al Capwn (beta testing)

Translations needed
sachat/themes/default/languages/english.php

--- Code: ---$txt['home'] = 'Home';
$txt['msgs'] = 'Messages';
$txt['myspace'] = 'MySpace';
$txt['twitter'] = 'Tweet';
$txt['facebook'] = 'Facebook';
$txt['whos_on'] = 'Who's Online';
$txt['guest_msg'] = 'Welcome, Guest. Please <a class="white" href="'.$boardurl.'/index.php?action=login">login</a> or <a class="white" href="'.$boardurl.'/index.php?action=register">register.</a>';
$txt['load_warning'] = 'The chat is not availible due to high server load.';
--- End code ---

/Themes/default/language/

--- Code: ---$txt['2sichat_mn_heart'] = 'Main heartbeat';
$txt['2sichat_mn_heart_sub'] = 'In ms<br />Example: 30000 = 30 seconds<br />Note: Setting too low may cause database load problems.<hr />';
$txt['2sichat_cw_h_enable'] = 'Enable chat window heartbeat';
$txt['2sichat_cw_h_e_sub'] = 'Have a seperate heartbeat for each chat window';
$txt['2sichat_cw_heart'] = 'Chat window heartbeat';
$txt['2sichat_cw_heart_sub'] = 'In ms<br />Example: 15000 = 15 seconds<br />Note: Setting too low may cause database load problems.<hr />';
$txt['2sichat_purge'] = 'Purge read messages';
$txt['2sichat_purge_sub'] = 'Purge read messages after how many days?<hr />';
$txt['2sichat_purge_all'] = 'Purge all messages';
$txt['2sichat_purge_a_sub'] = '<span style="color:red">Warning! this will delete all chat messages.<br />This will also reset the auto increment.</span><hr />';
$txt['2sichat_gad_trans'] = 'Enable Page Translator';
$txt['2sichat_gad_lang'] = 'Language Code';
$txt['2sichat_gad_lang_sub'] = 'The Page language translator needs a language code to work.<br />This should be your websites default language.<hr />';
$txt['2sichat_ico_home'] = 'Enable Home Icon';
$txt['2sichat_ico_pm'] = 'Enable PM Icon';
$txt['2sichat_ico_myspace'] = 'Enable Myspace Icon';
$txt['2sichat_ico_twit'] = 'Enable Twitter Icon';
$txt['2sichat_ico_fb'] = 'Enable Facebook Icon<hr />';
$txt['2sichat'] = 'SA Chat';
$txt['twosichatConfig'] = 'Config';
$txt['twosichatGadget'] = 'Gadgets';
$txt['2sichat_admin'] = 'SA Chat Admin';
$txt['2sichat_config'] = 'SA Chat Config';
$txt['2sichat_config_des'] = 'Here you can edit the main settings for SA Chat';
$txt['2sichat_gadgets'] = 'SA Chat Gadgets';
$txt['2sichat_gadgets_des'] = 'Add custom gadgets to SA Chat';
$txt['2sichat_gad_add'] = 'Add Gadget';
$txt['2sichat_title'] = 'Title';
$txt['2sichat_url'] = 'URL/Gadget Code';
$txt['2sichat_width'] = 'Width';
$txt['2sichat_height'] = 'Height';
$txt['2sichat_vis'] = 'Visibility';
$txt['2sichat_vis0'] = 'Hidden';
$txt['2sichat_vis1'] = 'Members';
$txt['2sichat_vis2'] = 'Guest';
$txt['2sichat_vis3'] = 'All';
$txt['2sichat_ord'] = 'Order';
$txt['2sichat_preview'] = 'Preview';
$txt['2sichat_edit'] = 'Edit';
$txt['2sichat_delete'] = 'Delete';
$txt['2sichat_link'] = 'Link';
$txt['2sichat_list_type'] = 'Show Everyone Online';
$txt['2sichat_list_t_sub'] = 'Shows everyone online instead of buddies only.<hr />';
$txt['2sichat_dis_list'] = 'Disable chat list';
$txt['2sichat_dis_l_sub'] = 'Removes the Who\'s Online list.<hr />';
$txt['2sichat_disable'] = 'Disable SA Chat';
$txt['2sichat_disable_sub'] = 'Disable SA Chat and all features.<hr />';
$txt['2sichat_dis_bar'] = 'Disable Bar';
$txt['2sichat_dis_b_sub'] = 'Disable chat bar leaving features.<hr />';
$txt['2sichat_load_chk'] = 'Enable load checking';
$txt['2sichat_max_load'] = 'Highest load level';
$txt['2sichat_max_l_sub'] = 'Goes by server load average';
$txt['2sichat_load_dis_list'] = 'On high load disable chat list';
$txt['2sichat_load_dis_chat'] = 'On high load disable SA Chat';
$txt['2sichat_load_dis_bar'] = 'On high load disable bar';
$txt['2sichat_live_online'] = 'Update Online List Live';
$txt['2sichat_simple_bbc'] = 'Enable Simple BBC<hr />';
$txt['2sichat_permissions'] = 'Enable group permissions';
$txt['2sichat_permissions_sub'] = 'Enable group permissions that you can modify in the permission manager in SMF.<br />Note: The settings here overide permission settings.<hr />';
--- End code ---

crustybum:
will this work on 1.1.11?

haito:
interesting mod, i will try it  ;)

hadesflames:

--- Quote from: crustybum on July 22, 2010, 06:29:16 AM ---will this work on 1.1.11?

--- End quote ---

No.

nend:

--- Quote from: crustybum on July 22, 2010, 06:29:16 AM ---will this work on 1.1.11?

--- End quote ---

So far what the mod page says, SMF 2.0 RC3. May be compatible with other versions of the SMF 2 branch but currently untested.

However older versions where compatible. I had to switch the chat to use smcFunc to get approved here, so revision 17 and down with a little work will work with SMF1. Only bad part is it is not as feature rich, bugs and is not optimized.

Navigation

[0] Message Index

[#] Next page

Go to full version