У меня ИПБ 222 и чат на отдельной странице не пашет. Причину так и не догнала он будет на отделньной странице?
Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
У меня ИПБ 222 и чат на отдельной странице не пашет. Причину так и не догнала он будет на отделньной странице?
<div class="borderwrap" style="display:{$data['div_fc']}" id="fc_minichat">
<div style="text-align:left" class="maintitlecollapse">
<p class="expand"><a href="javascript:togglecategory('minichat', 0);"><{E_PLUS}></a></p>
<{CAT_IMG}>
<a href="{$this->ipsclass->base_url}autocom=infernoshout" title="Архив чата">{$this->ipsclass->vars['ishout_sbtitle']}</a>
</div>
</div>
<div class="borderwrap" style="display:{$data['div_fo']}" id="fo_minichat">
<div style="text-align:left" class="maintitlecollapse">
<p class="expand"><a href="javascript:togglecategory('minichat', 1);"><{E_MINUS}></a></p>
<{CAT_IMG}>
<a href="{$this->ipsclass->base_url}autocom=infernoshout" title="Архив чата">{$this->ipsclass->vars['ishout_sbtitle']}</a>
</div>
<div class="row1">
<table width="100%">
<tbody id="shoutbox_editshout" style="display: none;">
<tr>
<td class="row1" align="left" width="100%">
<form onsubmit="return InfernoShoutbox.do_edit_shout();" action="index.php" id="editshoutform">
<span style="float: right;">
<input type="submit" class="button" value="Обновить" />
<input type="button" class="button" value="Удалить" onclick="InfernoShoutbox.do_edit_shout(true);" />
<input type="button" class="button" value="Отмена" onclick="InfernoShoutbox.cancel_edit_shout();" />
</span>
<input type="text" size="60" class="bginput" name="editshout" />
<input type="hidden" name="shoutid" value="" />
</form>
</td>
</tr>
</tbody>
<tbody id="shoutbox_smilies" style="display: none;">
<tr>
<td class="row1" align="center" width="100%" id="shoutbox_smilies_row">
</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="row1" align="left" width="100%">
<if="!$this->ipsclass->vars['ishout_editor_position'] AND $this->ipsclass->member['id'] > 0">
<form onsubmit="return InfernoShoutbox.shout();" action="index.php">
{$editor}
<div style="height: 4px"></div>
</form>
</if>
<div class="row2" style="padding: 0px; margin: 0px; border: 0px !important;">
<table width="100%" cellpadding="0" cellspacing="0" id="ipshout_pro_tabs">
<tr>
<td class="row1" width="100%" style="padding: 0px; margin: 0px; border: 0px !important;"> </td>
</tr>
</table>
</div>
<div class="row2" id="shoutbox_notice" style="border: 0px !important; display: none; padding-left: 3px; padding-top: 3px; padding-bottom: 0px; padding-right: 0px;"><b class="highlight">Уведомление:</b> <span class="smallfont" id="shoutbox_notice_message"></span></div>
<div class="row2" id="shoutbox_window" style="border: 0px !important; padding-top: 3px;"><span id="shoutbox_frame" style="border: 0px !important; display: block; padding: 3px; overflow:auto;height:{$this->ipsclass->vars['ishout_height']}px; width: 99%;">Загрузка...</span><span id="shoutbox_users_frame" style="display: none; padding: 3px; overflow:auto;height:{$this->ipsclass->vars['ishout_height']}px; width: 99%;">Загрузка...</span></div>
<div class="row1"><div class="row2" id="shoutbox_bottom" style="border: 0px !important; margin: 0px; padding: 0px;"></div></div>
<if="$this->ipsclass->vars['ishout_editor_position'] AND $this->ipsclass->member['id'] > 0">
<form onsubmit="return InfernoShoutbox.shout();" action="index.php">
{$editor}
</form>
</if>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br />
<script type="text/javascript" src="infernoshout/browser/infernoshout.js?ver=2.5.0.2"></script>
<script type="text/javascript">
<!--
/**
* Inferno Shoutbox Javascript Engine
* Created By Inferno Technologies
* All Rights Reserved
* * * * * * * * * * * * * * *
*/
InfernoShoutbox = new _ishout;
<if="$this->ipsclass->input['code'] == 'detach'">InfernoShoutbox.detached = true;</if>
<if="$this->ipsclass->vars['ishout_aop']">InfernoShoutbox.aop = true;</if>
InfernoShoutbox.initiate(
'{$script}',
'{$this->ipsclass->vars['ishout_idletime']}',
'{$this->ipsclass->infernoshout->editor_settings['s_bold']}',
'{$this->ipsclass->infernoshout->editor_settings['s_italic']}',
'{$this->ipsclass->infernoshout->editor_settings['s_underline']}',
'{$this->ipsclass->vars['ishout_shoutorder']}',
'{$this->ipsclass->vars['ishout_flood']}',
'{$this->ipsclass->vars['ishout_height']}',
parseInt("{$this->ipsclass->vars[ishout_ajaxrefresh]}") * 1000
);
<if="$this->ipsclass->vars['ishout_autoidle']">InfernoShoutbox.idle = true;</if>
-->
</script>
if (!$this->ipsclass->vars['ishout_online'] || $this->matches_fragments() || $this->is_in_ug_list($this->ipsclass->vars['ishout_hidegroups']))
{
return false;
}
$fid='minichat';
$collapsed_ids = ','.$this->ipsclass->my_getcookie('collapseprefs').',';
$cat_data = $this->ipsclass->forums->forum_by_id[ $fid ];
$cat_data['div_fo'] = '';
$cat_data['div_fc'] = 'none';
if ( strstr( $collapsed_ids, ','.$fid.',' ) )
{
$cat_data['div_fo'] = 'none';
$cat_data['div_fc'] = '';
}
}else{
$this->box = $this->ipsclass->compiled_templates['skin_inferno_shout']->inferno_shout_box($editor, 'index', $this->editor_settings);
}
}else{
$this->box = $this->ipsclass->compiled_templates['skin_inferno_shout']->inferno_shout_box($editor, 'index', $this->editor_settings, $cat_data);
}
сам чат работает, а на форум не смог вывести(малый чат)
Это чат для IPB. Для Joomla есть другие разработки.А както можно интегрировать этот миничат с Joomla ?:bc: