• 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.
Dark, I have taken the shoutbox out of my sidebar, and I'm using the full page shoutbox as a sort of simplified "chatroom".
Therefor, I would like to change the "Shoutbox" link on the navbar to say "Chatroom".

Is there a phrase I need to change? Or would this been a template edit?
 
It's all done with phrases - just search for Shoutbox and change it to Chatroom.

The actual phrase is dark_shoutbox.
 
Ok another question.................. Dark or anyone....

Is there any way to take the "Members In Chat" box from the chatroom page to the forum sidebar?
And yes, I am trying it myself now. Just asking ahead of time, cuz I'm sure to screw it up. :rolleyes:
 
Ok my question above still applies, because I went into the dark_taigachat_full template to find the code for the above issue, and don't see any mention of members in chat, anywhere.
 
Alrighty. I seem to have found the snippet of code that is used for the "members in Chat" box on the full page.
I want to use this on the forum sidebar. So, my question is, how do I take this code -
Code:
<div class="footnote">
            {xen:phrase dark_in_chat_x_members_y_guests_z, 'total={xen:number $taigachat.online.total}', 'members={xen:number $taigachat.online.members}', 'guests={xen:number $taigachat.online.guests}'}
        </div>

And make it work on the forum sidebar?
 
Hi Darkimmortal (and everyone) ... this addon and everything was working fine ... I moved my xenforo directory contents to root from /community/ ... but received the following error :

Server Error

filemtime() [function.filemtime]: stat failed for js/dark/taigachat.js
  1. XenForo_Application::handlePhpError()
  2. filemtime()inDark/TaigaChat/ControllerPublic/Index.phpat line67
  3. Dark_TaigaChat_ControllerPublic_Index::getTaigaChatStuff()inDark/TaigaChat/ControllerPublic/Index.phpat line10
  4. Dark_TaigaChat_ControllerPublic_Index->actionIndex()inXenForo/FrontController.phpat line310
  5. XenForo_FrontController->dispatch()inXenForo/FrontController.phpat line132
  6. XenForo_FrontController->run()in/home/www/vhosts/domain.com/httpdocs/index.phpat line13
This was in the Xenforo CP Error Area :

filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for js/dark/taigachat.js library/Dark/TaigaChat/ControllerPublic/Index.php:67 Jun 1, 2011 at 8:03 PM

I disabled TaigaChat ... but the errors are still with me.
Please help.
Thanks.
 
Hi Darkimmortal (and everyone) ... this addon and everything was working fine ... I moved my xenforo directory contents to root from /community/ ... but received the following error :

Server Error

filemtime() [function.filemtime]: stat failed for js/dark/taigachat.js
  1. XenForo_Application::handlePhpError()
  2. filemtime()inDark/TaigaChat/ControllerPublic/Index.phpat line67
  3. Dark_TaigaChat_ControllerPublic_Index::getTaigaChatStuff()inDark/TaigaChat/ControllerPublic/Index.phpat line10
  4. Dark_TaigaChat_ControllerPublic_Index->actionIndex()inXenForo/FrontController.phpat line310
  5. XenForo_FrontController->dispatch()inXenForo/FrontController.phpat line132
  6. XenForo_FrontController->run()in/home/www/vhosts/domain.com/httpdocs/index.phpat line13
This was in the Xenforo CP Error Area :

filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for js/dark/taigachat.js library/Dark/TaigaChat/ControllerPublic/Index.php:67 Jun 1, 2011 at 8:03 PM

I disabled TaigaChat ... but the errors are still with me.
Please help.
Thanks.

Does community/js/dark/taigachat.js exist?

If so try copying it to js/dark/taigachat.js, though you really shouldn't have to do that :/

You would need to disable TaigaChat at the addon level (uncheck the box next to it in the addon list) to stop the error appearing if you continue to get it.

Edit: Got your move the wrong way round, but yeah same thing applies
 
You can truncate the dark_taigachat table if you're comfortable working directly with the database.
 
Mm... what's the CSS for inside the chatbox? On the Blackend theme (a theme I got here) the chatbox has a white background with gray text... Very hard to read. If only I knew what the CSS was, I would change it.
 
The CSS is: #taigachat_box li { background: @primaryLightest; margin-bottom: 6px; }

The template is: dark_taigachat.css
 
Status
Not open for further replies.
Back
Top Bottom