phpBB3 mChat
Re: phpBB3 mChat
EN - Blink title on new message
RU - Мигающий заголовок при новых сообщениях
Открыть - Open: styles/xxxxxxx/template/mchat_body.html найти - find:
добавить после - add after:
открыть - open: mchat/mchat_ajax_mini.js найти - find:
заменить на - replaced with:
добавить в самый низ - add to the bottom:
где 1000 интервал мигания заголовка
RU - Мигающий заголовок при новых сообщениях
Открыть - Open: styles/xxxxxxx/template/mchat_body.html найти - find:
Код: Выделить всё
var mChatNoMessageInput = '{LA_MCHAT_NOMESSAGEINPUT}';добавить после - add after:
Код: Выделить всё
var mChatNewMessage = '{LA_MCHAT_TITLE}';открыть - open: mchat/mchat_ajax_mini.js найти - find:
Код: Выделить всё
sound:function(file){заменить на - replaced with:
Код: Выделить всё
sound:function(file){if(file.search('add.swf') != -1){StopTitleBlink();TitleTimer=setInterval(function(){TitleBlink()},1000)}добавить в самый низ - add to the bottom:
Код: Выделить всё
// Title Blink addon
var newTitle = mChatNewMessage;
var oldTitle = document.title;
var TitleTimer = false;
function TitleBlink()
{
if(document.title == oldTitle)
{
document.title = newTitle;
}
else
{
document.title = oldTitle;
}
}
function StopTitleBlink()
{
document.title = oldTitle;
clearInterval(TitleTimer);
}
$jQ(document).mousemove(function(){StopTitleBlink();});где 1000 интервал мигания заголовка

Последний раз редактировалось AllCity 26 окт 2013, 23:37, всего редактировалось 3 раза.
Причина: Update and tested on 1.2.8
Причина: Update and tested on 1.2.8
Re: phpBB3 mChat
EN - Custom BBCodes
RU - Пользовательские ББ-коды
Открыть - Open: mchat.php найти - find:
добавить перед - add before:
Как кнопки - As buttons

Как список - As list

RU - Пользовательские ББ-коды
Открыть - Open: mchat.php найти - find:
Код: Выделить всё
// Smile row
if($mchat_smilies)
{добавить перед - add before:
Код: Выделить всё
// Custom BBCodes...
if($mchat_allow_bbcode)
{
if(!function_exists('display_custom_bbcodes'))
{
include($phpbbfrank_root_path.'includes/functions_display.'.$phpEx);
}
display_custom_bbcodes();
}Как кнопки - As buttons

ProSilver
Открыть - Open: styles/prosilver/template/mchat_body.html найти - find:Код: Выделить всё
'[/flash]','[size=]','[/size]'
заменить на - replaced with:Код: Выделить всё
'[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->
найти - find:Код: Выделить всё
<option value="200">{L_MCHAT_FONTHUGE}</option>
</select>
добавить после - add after:Код: Выделить всё
<div style="padding-top: 2px;">
<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.A_BBCODE_HELPLINE}" />
<!-- END custom_tags -->
</div>
SubSilver2
Открыть - Open: styles/subsilver2/template/mchat_body.html найти - find:Код: Выделить всё
'[/flash]','[size=]','[/size]'
заменить на - replaced with:Код: Выделить всё
'[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->
найти - find:Код: Выделить всё
<option value="200">{L_MCHAT_FONTHUGE}</option>
</select></span>
добавить после - add after:Код: Выделить всё
<div style="padding-top: 2px;">
<!-- BEGIN custom_tags -->
<input type="button" class="btnbbcode" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.A_BBCODE_HELPLINE}" />
<!-- END custom_tags -->
</div>
Как список - As list

ENGLISH
Открыть - Open: language/en/mods/mchat_lang.php найти - find:Код: Выделить всё
'MCHAT_COLOR' => 'Color',
добавить после - add after:Код: Выделить всё
'MCHAT_CUSTOMBBCODES' => 'BBCodes',
RUSSIAN
Открыть - Open: language/ru/mods/mchat_lang.php найти - find:Код: Выделить всё
'MCHAT_COLOR' => 'Цвет',
добавить после - add after:Код: Выделить всё
'MCHAT_CUSTOMBBCODES' => 'ББ-коды',
ProSilver
Открыть - Open: styles/prosilver/template/mchat_body.html найти - find:Код: Выделить всё
<input type="button" class="button2" accesskey="d" value="Flash" onclick="bbstyle(18);" />
добавить после - add after:Код: Выделить всё
<select class="gensmall" onchange="bbfontstyle('[' + this.options[this.selectedIndex].value + ']', '[/' + this.options[this.selectedIndex].value.replace('=', '') + ']'); this.selectedIndex = 0;">
<option value="#" selected="selected">{L_MCHAT_CUSTOMBBCODES}</option>
<!-- BEGIN custom_tags -->
<option value="{custom_tags.BBCODE_TAG}" title="{custom_tags.A_BBCODE_HELPLINE}">{custom_tags.BBCODE_TAG}</option>
<!-- END custom_tags -->
</select>
SubSilver2
Открыть - Open: styles/subsilver2/template/mchat_body.html найти - find:Код: Выделить всё
<input type="button" class="btnbbcode" accesskey="d" value="Flash" onclick="bbstyle(18);" />
добавить после - add after:Код: Выделить всё
<select class="gensmall" onchange="bbfontstyle('[' + this.options[this.selectedIndex].value + ']', '[/' + this.options[this.selectedIndex].value.replace('=', '') + ']'); this.selectedIndex = 0;">
<option value="#" selected="selected">{L_MCHAT_CUSTOMBBCODES}</option>
<!-- BEGIN custom_tags -->
<option value="{custom_tags.BBCODE_TAG}" title="{custom_tags.A_BBCODE_HELPLINE}">{custom_tags.BBCODE_TAG}</option>
<!-- END custom_tags -->
</select>
Последний раз редактировалось AllCity 01 фев 2014, 02:11, всего редактировалось 2 раза.
Причина: Not actual for 1.3.0+
Причина: Not actual for 1.3.0+
Re: phpBB3 mChat
да возможно.
Можно подробнее
Re: phpBB3 mChat
много мороки переделывать если сайт не на движке phpbb
Re: phpBB3 mChat
Андрей, а можно с модом Advanced Bbcode Box 3 интегрировать?
Re: phpBB3 mChat
sanmitsu, и тогда мини-чат будет чатом
(а так все можно но смотря сколько там роботы).
(а так все можно но смотря сколько там роботы).Re: phpBB3 mChat
Начата разработка аддона кто в чате
100% готово.
100% готово.
Последний раз редактировалось AllCity 15 фев 2011, 17:22, всего редактировалось 8 раз.
Причина: Update
Причина: Update
Re: phpBB3 mChat
Спасибо! Ждем с нетерпением!
Re: phpBB3 mChat
Первый набросок можно удивить у нас на сайте
(пока очень сырой
).
(пока очень сырой
).