• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

TaigaChat - AJAX shoutbox

Status
Not open for further replies.
is there a way that chat sound will play when a new chatmessage was posted?
just like fb chat sound

SUGGESTIONS to next version:
-Facebook like chat sound alert
-Timestamp format setting different from sidebar and fullview
 
Has anyone actually got a working block for the new xenporta yet? The code posted earlier doesn't work and doesn't show up at all :/
 
Has anyone actually got a working block for the new xenporta yet? The code posted earlier doesn't work and doesn't show up at all :/

These worked for me:

PHP:
<?php
 
class EWRporta_Block_TaigaChat extends XenForo_Model
{
    public function getModule(&$options)
    {
        $response = new XenForo_ControllerResponse_View();
        $response->viewName = 'derp';
        $response->params = array();
     
        Dark_TaigaChat_ControllerPublic_Index::getTaigaChatStuff($response, 'index');
        $response->params += array('xenporta' => true);
        return $response->params;
    }
}

Here was the xml:

Code:
<?xml version="1.0" encoding="utf-8"?>
<block block_id="TaigaChat" title="TaigaChat" version_string="1.0.0" version_id="1" url="http://8wayrun.com/" install_callback_class="" install_callback_method="" uninstall_callback_class="" uninstall_callback_method="" cache="now">
  <admin_templates/>
  <listeners/>
  <options/>
  <phrases/>
  <route_prefixes/>
  <templates>
    <template title="EWRblock_TaigaChat"><![CDATA[<xen:include template="dark_taigachat" />]]></template>
  </templates>
</block>

Hope that helps. I know it worked for 1.5.0, haven't yet tested with 1.5.1
 
I just realised why it doesn't work, i did the xml but not the php code...completely forgot you had to wipe it when you install 1.5 gah!

What do i save the php code file as?
 
Is there a quick fix for the media tags for URLs? My members are get'n a bit testy having to copy and paste URLs. hehe Anyway, if so, cool. If not, any idea when the update will be?
 
Does anyone happen to have a sprite that will work with the smilies?
I made a modification to a template so sprite smilies are working here - but:
I have to upgrade to 1.1 and it is working for sprite smilies only.

Update:
I think it was this:
Edit dark_tagiachat_controls (I paste the full code here - the change is about line 17)
Note: Probabbly I had to made some more modifications to a php file.. i'll look into this...
HTML:
<xen:if is="{$taigachat.canPost}">
<div id='taigachat_controls'>
  <xen:if is="({$taigachat.toolbar} == 1 AND !{$taigachat.alt} AND !{$taigachat.sidebar}) OR ({$taigachat.toolbar} == 2 AND (!{$taigachat.sidebar} OR ({$taigachat.sidebar} AND {$taigachat.alt})) OR ({$taigachat.toolbar} == 3)">
  <div id='taigachat_toolbar'>
    <xen:if is="{$taigachat.toolbar_bbcode}">
    <xen:require css="editor_ui.css" />
    <xen:foreach loop="$taigachat.toolbar_bbcode" value="$code" key="$title">
      <button data-code='{$code}' class='button taigachat_bbcode xenForoSkin'>{xen:raw $title}</button>
    </xen:foreach>
    </xen:if>
    <xen:if is="{$taigachat.toolbar_smilies}">
    <div class="taigachat_Popup" id='taigachat_smilies' style='display: inline; top: 3px'>
      <a rel="Menu"><img [EMAIL]src='@imagePath/xenforo/editor/smilie.png'[/EMAIL] alt='Smilies' title='Smilies' style='vertical-align: top' /></a>
      <div class="Menu">
      <div class="primaryContent menuHeader"><h3>{xen:phrase smilies}</h3></div>
      <ul class="secondaryContent blockLinksList taigachat_smilies_list">
        <xen:foreach loop="$taigachat.toolbar_smilies" value="$smilie" key="$text">
        <li><a href='javascript:;' class='taigachat_smilie' data-src='styles/default/xenforo/clear.png' data-alt='{$text}' data-title='{$smilie.0}'><img class='mceSmilieSprite mceSmilie{$smilie.1}' src='styles/default/xenforo/clear.png' alt='{$text}' /></a></li>
        </xen:foreach>
      </ul>
      </div>
    </div>
    </xen:if>
  </div>
  </xen:if>
  <input id='taigachat_message' class='textCtrl' type='text' maxlength='{xen:raw $taigachat.maxlength}' placeholder='{xen:phrase dark_enter_message}' /> <input type='submit' id='taigachat_send' value='&gt;' class='button primary' />
</div>
</xen:if>
 
I added it to xenporta but its looking like this:
taigachatsmileys.jpg

There are no colors when i click the color button

and most important, there are no smiley pictures? When i check the url for the images it says
http://www.domain.com/1
http://www.domain.com/2
http://www.domain.com/3
etc. etc.

is this an issue with mod_rewrite?

edit: nevermind i fixed the smileys issue... that color picker still doesnt work though :\
 
Status
Not open for further replies.
Top Bottom