@Betclever, nothing has changed in that regard. The sounds are loaded on each page load but I think I should change that if user hasn't enabled sound.
I think it it will be great cause it is 4 requests for nothing + 35kb.
@Betclever, nothing has changed in that regard. The sounds are loaded on each page load but I think I should change that if user hasn't enabled sound.
Okay, thanks for the reply.I don't have plans for that at the moment. There is a major feature that I want to focus on for a future release.
Great!No problem. Once I finish the important stuff I'm planing, I will consider other features as well.![]()
Improvements
I have added an extra option to bot responses so that you can use or not multi-keywords separated by comma.
Sound files won't load if the user doesn't have the sound enabled.
Bug Fix
Problem with a variable causing error logs on chat page.
<xen:if is="{xen:count $chatRooms} > 0">
<ul class="tabs">
<xen:foreach loop="$chatRooms" value="$room">
<li id="{$room.room_id}" data-name="{$room.room_name}">
<div class="siropuChatRoomInfo">
<h4 type="submit"{xen:if '!{$room.has_permission}', ' class="siropuChatRoomNoAccess" disabled', ''}>{xen:if '{$visitor.is_admin}', '', ''}{$room.room_name}<em> <span class="Tooltip" title="{$room.room_description}">({xen:count {$chatUsersAll.data.{$room.room_id}}})</span></em></h4>
<div class="siropuChatRoomActions">
<form>
<input type="hidden" name="room_id" value="{$room.room_id}">
</form>
</div>
</div>
</li>
</xen:foreach>
</ul>
</xen:if>
<xen:if is="{$xenOptions.siropu_chat_rooms_enabled} AND {$visitor.permissions.siropu_chat.joinRooms} AND ({$chatMode} != 'embed' || {$xenOptions.siropu_chat_embed_rooms_enabled})">
<a role="button" id="siropuChatToggleRooms" title="{xen:phrase siropu_chat_room_list}"><em>Edit rooms</em></a>
</xen:if>
$(function() {
$('#siropuChat .tabs > li').click(function() {
var chatForm = $(this).find('.siropuChatRoomActions form');
chatForm.submit();
setTimeout(function() {
chatForm.submit();
}, 1500);
});
});
<div class="siropuChatRoomActions">
<form>
<xen:if is="{$room.room_password} AND !{$room.is_room_author} AND !{$visitor.permissions.siropu_chat.bypassPassword}">
<input type="text" name="password" class="textCtrl" placeholder="{xen:phrase password}">
</xen:if>
<input type="hidden" name="room_id" value="{$room.room_id}">
</form>
<xen:if is="{$room.room_id} AND ({$room.is_room_author} || {$visitor.permissions.siropu_chat.editRooms} || {$visitor.permissions.siropu_chat.deleteRooms})">
<ul>
<xen:if is="{$room.is_room_author} || {$visitor.permissions.siropu_chat.editRooms}">
<li><a href="{xen:link 'chat/rooms/edit', '', 'room_id={$room.room_id}'}" class="OverlayTrigger siropuChatEdit" title="{xen:phrase edit}..." data-cacheoverlay="false">{xen:if '@siropuChatFontAwesome', '<button>Edit</button>', '<span></span>'}</a></li>
</xen:if>
<xen:if is="{$room.is_room_author} || {$visitor.permissions.siropu_chat.deleteRooms}">
<li><a href="{xen:link 'chat/rooms/delete', '', 'room_id={$room.room_id}'}" class="OverlayTrigger siropuChatDelete" data-cacheoverlay="false" title="{xen:phrase delete}...">{xen:if '@siropuChatFontAwesome', '<button>Remove</button>', '<span></span>'}</a></li>
</xen:if>
</ul>
</xen:if>
</div>
@property "tab";
color: @contentText;
text-decoration: none;
background: @primaryLighterStill url('@imagePath/xenforo/gradients/form-button-white-25px.png') repeat-x top;
padding: 0 8px;
margin-right: -1px;
margin-bottom: -1px;
border: 1px solid @primaryLighter;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
display: inline-block;
line-height: 22px;
cursor: pointer;
outline: 0 none;
white-space: nowrap;
word-wrap: normal;
height: 22px;
@property "/tab";
'chatUsersAll' => $usersAll,
'chatUsersAll' => $model->getActiveUsers(Siropu_Chat_Helper::getIgnoredUsers()),

You think it's something that you can fix / avoid in your add-on, or is it something that only XF Devs can fix in the core?@markku, it looks like the XF's xfActivate() for some reason does that when it's applied to the chat on page load.



We use essential cookies to make this site work, and optional cookies to enhance your experience.