News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

FlashChat Integration

Started by Tyrsson, January 05, 2007, 03:44:53 AM

Previous topic - Next topic

sombra

wen it wil be comatible with smf 2.04?

sandmannd

So I downloaded flash chat and installed the mod afterword. When I go to my website (the forums) I get "Fatal error: main() [function.require]: Failed opening required 'INC_DIR../temp/config.srv.php' (include_path='.:/usr/lib/php') in /homepages/22/d258088114/htdocs/forum/chat/inc/config.srv.php on line 2" on my browser. I opened the php file and all it has is:
<?php
   require_once INC_DIR.'../temp/config.srv.php';
?>

What can I do to fix this please?

Kindred

you have installed flashchat incorrectly.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Tyrsson

Quote from: sandmannd on March 27, 2009, 10:17:33 PM
So I downloaded flash chat and installed the mod afterword. When I go to my website (the forums) I get "Fatal error: main() [function.require]: Failed opening required 'INC_DIR../temp/config.srv.php' (include_path='.:/usr/lib/php') in /homepages/22/d258088114/htdocs/forum/chat/inc/config.srv.php on line 2" on my browser. I opened the php file and all it has is:
<?php
   require_once INC_DIR.'../temp/config.srv.php';
?>

What can I do to fix this please?
Which version of SMF are you using? Sounds like you may be using the 2.x version of SMF.
PM at your own risk, some I answer, if they are interesting, some I ignore.

candidosa2

when update dont forget portuguese

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// --- Begin FlashChat Integration translate candidosa2  ---
$txt['fc_chat'] = 'Chat';
$txt['fc_flashchat'] = 'FlashChat';
$txt['fc_flashchat_settings'] = 'FlashChat Integra&ccedil;&atilde;o Defini&ccedil;&otilde;es';
$txt['fc_in_chat'] = 'no Chat';
$txt['fc_not_found'] = 'FlashChat n&atilde;o parece estar instalado!';
$txt['fc_no_guests'] = 'Desculpa, convidados n&atilde;o est&atilde;o autorizados a usar o bate-papo!';
$txt['fc_private_room'] = '<i>sala privada</i>';
$txt['fc_users_online'] = 'Utilizadores actualmente no chat';
// For 'Who's Online' page
$txt['whoall_chat'] = 'In the <a href="' . $boardurl . '?action=chat">Chatroom</a>';

// Settings for admin panel
$txt['fc_height2'] = 'Altura';
$txt['fc_inForum'] = 'Mostrar janela do bate-papo "dentro" f&oacute;rum?';
$txt['fc_newWindow'] = 'Abrir Bate-papo em uma nova janela?';
$txt['fc_showUsers'] = 'Mostrar Utilizadores no Bate-papo no topo do f&oacute;rum?';
$txt['fc_showUserCount'] = 'Mostrar o n&uacute;mero de utilizadores no bot&atilde;o Bate-papo?';
$txt['fc_size_desc'] = 'A altura e largura pode ser um inteiro (eg. 600 for 600 pixels) ou uma percentagem (por exemplo, uma largura de 100% ir&aacute; preencher todo o ecr&atilde; horizontalmente)<br /><strong>Nota:</strong> If "' . $txt['fc_inForum'] . '" est&aacute; ligado, por favor, n&atilde;o use uma percentagem para a altura. Ele n&atilde;o ir&aacute; funcionar corretamente!';
$txt['fc_width'] = 'Largura';
// --- End FlashChat Integration ---
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// --- Begin FlashChat Integration translate candidosa2  ---
$txt['fc_chat'] = 'Chat';
$txt['fc_flashchat'] = 'FlashChat';
$txt['fc_flashchat_settings'] = 'FlashChat Integra&ccedil;&atilde;o Defini&ccedil;&otilde;es';
$txt['fc_in_chat'] = 'no Chat';
$txt['fc_not_found'] = 'FlashChat n&atilde;o parece estar instalado!';
$txt['fc_no_guests'] = 'Desculpa, convidados n&atilde;o est&atilde;o autorizados a usar o bate-papo!';
$txt['fc_private_room'] = '<i>sala privada</i>';
$txt['fc_users_online'] = 'Utilizadores actualmente no chat';
// For 'Who's Online' page
$txt['whoall_chat'] = 'In the <a href="' . $boardurl . '?action=chat">Chatroom</a>';

// Settings for admin panel
$txt['fc_height2'] = 'Altura';
$txt['fc_inForum'] = 'Mostrar janela do bate-papo "dentro" f&oacute;rum?';
$txt['fc_newWindow'] = 'Abrir Bate-papo em uma nova janela?';
$txt['fc_showUsers'] = 'Mostrar Utilizadores no Bate-papo no topo do f&oacute;rum?';
$txt['fc_showUserCount'] = 'Mostrar o n&uacute;mero de utilizadores no bot&atilde;o Bate-papo?';
$txt['fc_size_desc'] = 'A altura e largura pode ser um inteiro (eg. 600 for 600 pixels) ou uma percentagem (por exemplo, uma largura de 100% ir&aacute; preencher todo o ecr&atilde; horizontalmente)<br /><strong>Nota:</strong> If "' . $txt['fc_inForum'] . '" est&aacute; ligado, por favor, n&atilde;o use uma percentagem para a altura. Ele n&atilde;o ir&aacute; funcionar corretamente!';
$txt['fc_width'] = 'Largura';
// --- End FlashChat Integration ---
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// --- Begin FlashChat Integration translate candidosa2  ---
$txt['fc_chat'] = 'Chat';
$txt['fc_flashchat'] = 'FlashChat';
$txt['fc_flashchat_settings'] = 'FlashChat Integra&ccedil;&atilde;o Defini&ccedil;&otilde;es';
$txt['fc_in_chat'] = 'no Chat';
$txt['fc_not_found'] = 'FlashChat n&atilde;o parece estar instalado!';
$txt['fc_no_guests'] = 'Desculpa, convidados n&atilde;o est&atilde;o autorizados a usar o bate-papo!';
$txt['fc_private_room'] = '<i>sala privada</i>';
$txt['fc_users_online'] = 'Utilizadores actualmente no chat';
// For 'Who's Online' page
$txt['whoall_chat'] = 'In the <a href="' . $boardurl . '?action=chat">Chatroom</a>';

// Settings for admin panel
$txt['fc_height2'] = 'Altura';
$txt['fc_inForum'] = 'Mostrar janela do bate-papo "dentro" f&oacute;rum?';
$txt['fc_newWindow'] = 'Abrir Bate-papo em uma nova janela?';
$txt['fc_showUsers'] = 'Mostrar Utilizadores no Bate-papo no topo do f&oacute;rum?';
$txt['fc_showUserCount'] = 'Mostrar o n&uacute;mero de utilizadores no bot&atilde;o Bate-papo?';
$txt['fc_size_desc'] = 'A altura e largura pode ser um inteiro (eg. 600 for 600 pixels) ou uma percentagem (por exemplo, uma largura de 100% ir&aacute; preencher todo o ecr&atilde; horizontalmente)<br /><strong>Nota:</strong> If "' . $txt['fc_inForum'] . '" est&aacute; ligado, por favor, n&atilde;o use uma percentagem para a altura. Ele n&atilde;o ir&aacute; funcionar corretamente!';
$txt['fc_width'] = 'Largura';
// --- End FlashChat Integration ---
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// --- Begin FlashChat Integration translate candidosa2  ---
$txt['fc_chat'] = 'Chat';
$txt['fc_flashchat'] = 'FlashChat';
$txt['fc_flashchat_settings'] = 'FlashChat Integra&ccedil;&atilde;o Defini&ccedil;&otilde;es';
$txt['fc_in_chat'] = 'no Chat';
$txt['fc_not_found'] = 'FlashChat n&atilde;o parece estar instalado!';
$txt['fc_no_guests'] = 'Desculpa, convidados n&atilde;o est&atilde;o autorizados a usar o bate-papo!';
$txt['fc_private_room'] = '<i>sala privada</i>';
$txt['fc_users_online'] = 'Utilizadores actualmente no chat';
// For 'Who's Online' page
$txt['whoall_chat'] = 'In the <a href="' . $boardurl . '?action=chat">Chatroom</a>';

// Settings for admin panel
$txt['fc_height2'] = 'Altura';
$txt['fc_inForum'] = 'Mostrar janela do bate-papo "dentro" f&oacute;rum?';
$txt['fc_newWindow'] = 'Abrir Bate-papo em uma nova janela?';
$txt['fc_showUsers'] = 'Mostrar Utilizadores no Bate-papo no topo do f&oacute;rum?';
$txt['fc_showUserCount'] = 'Mostrar o n&uacute;mero de utilizadores no bot&atilde;o Bate-papo?';
$txt['fc_size_desc'] = 'A altura e largura pode ser um inteiro (eg. 600 for 600 pixels) ou uma percentagem (por exemplo, uma largura de 100% ir&aacute; preencher todo o ecr&atilde; horizontalmente)<br /><strong>Nota:</strong> If "' . $txt['fc_inForum'] . '" est&aacute; ligado, por favor, n&atilde;o use uma percentagem para a altura. Ele n&atilde;o ir&aacute; funcionar corretamente!';
$txt['fc_width'] = 'Largura';
// --- End FlashChat Integration ---
]]></add>
</operation>
</file>



<file name="$languagedir/Help.portuguese_pt.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// --- Begin FlashChat Integration ---
$helptxt['fc_inForum'] = 'Se assinalada, o bate-papo se&aacute; exibido "dentro" do f&oacute;rum, utilizando o seu f&oacute;rum de cabe&ccedil;alho e rodapé. Se unticked, FlashChat se&aacute; exibido aut&ocirc;nomo, preenchendo toda a tela (como um padr&atilde;o FlashChat instala&ccedil;&atilde;o)';
$helptxt['fc_showUserCount'] = 'Mostrar o n&uacute;mero de utilizadores no chat sobre o bate-papo no bot&atilde;o da barra de menus. Em vez de simplesmente dizer "Chat", ele vai dizer algo como "Bate-papo [2 Utilizadores]" (assumindo 2 utilizadores est&atilde;o no chat).<br /> Note que, a fim de usar isso, o tema deve ser compatível.';
// --- End FlashChat Integration ---
]]></add>
</operation>
</file>
<file name="$languagedir/Help.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// --- Begin FlashChat Integration ---
$helptxt['fc_inForum'] = 'Se assinalada, o bate-papo se&aacute; exibido "dentro" do f&oacute;rum, utilizando o seu f&oacute;rum de cabe&ccedil;alho e rodapé. Se unticked, FlashChat se&aacute; exibido aut&ocirc;nomo, preenchendo toda a tela (como um padr&atilde;o FlashChat instala&ccedil;&atilde;o)';
$helptxt['fc_showUserCount'] = 'Mostrar o n&uacute;mero de utilizadores no chat sobre o bate-papo no bot&atilde;o da barra de menus. Em vez de simplesmente dizer "Chat", ele vai dizer algo como "Bate-papo [2 Utilizadores]" (assumindo 2 utilizadores est&atilde;o no chat).<br /> Note que, a fim de usar isso, o tema deve ser compatível.';
// --- End FlashChat Integration ---
]]></add>
</operation>
</file>
<file name="$languagedir/Help.portuguese_brazilian.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// --- Begin FlashChat Integration ---
$helptxt['fc_inForum'] = 'Se assinalada, o bate-papo se&aacute; exibido "dentro" do f&oacute;rum, utilizando o seu f&oacute;rum de cabe&ccedil;alho e rodapé. Se unticked, FlashChat se&aacute; exibido aut&ocirc;nomo, preenchendo toda a tela (como um padr&atilde;o FlashChat instala&ccedil;&atilde;o)';
$helptxt['fc_showUserCount'] = 'Mostrar o n&uacute;mero de utilizadores no chat sobre o bate-papo no bot&atilde;o da barra de menus. Em vez de simplesmente dizer "Chat", ele vai dizer algo como "Bate-papo [2 Utilizadores]" (assumindo 2 utilizadores est&atilde;o no chat).<br /> Note que, a fim de usar isso, o tema deve ser compatível.';
// --- End FlashChat Integration ---
]]></add>
</operation>
</file>
<file name="$languagedir/Help.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// --- Begin FlashChat Integration ---
$helptxt['fc_inForum'] = 'Se assinalada, o bate-papo se&aacute; exibido "dentro" do f&oacute;rum, utilizando o seu f&oacute;rum de cabe&ccedil;alho e rodapé. Se unticked, FlashChat se&aacute; exibido aut&ocirc;nomo, preenchendo toda a tela (como um padr&atilde;o FlashChat instala&ccedil;&atilde;o)';
$helptxt['fc_showUserCount'] = 'Mostrar o n&uacute;mero de utilizadores no chat sobre o bate-papo no bot&atilde;o da barra de menus. Em vez de simplesmente dizer "Chat", ele vai dizer algo como "Bate-papo [2 Utilizadores]" (assumindo 2 utilizadores est&atilde;o no chat).<br /> Note que, a fim de usar isso, o tema deve ser compatível.';
// --- End FlashChat Integration ---
]]></add>
</operation>
</file>

sandmannd

Quote from: Tyrsson on March 28, 2009, 04:34:56 PM
Quote from: sandmannd on March 27, 2009, 10:17:33 PM
So I downloaded flash chat and installed the mod afterword. When I go to my website (the forums) I get "Fatal error: main() [function.require]: Failed opening required 'INC_DIR../temp/config.srv.php' (include_path='.:/usr/lib/php') in /homepages/22/d258088114/htdocs/forum/chat/inc/config.srv.php on line 2" on my browser. I opened the php file and all it has is:
<?php
   require_once INC_DIR.'../temp/config.srv.php';
?>

What can I do to fix this please?
Which version of SMF are you using? Sounds like you may be using the 2.x version of SMF.

Sorry, shoulda put that in there. It's 1.1.8

weightman

Are the chats logged somewhere for a time? Where can I retrieve them?

Thanks

Kindred

you would need to ask that over on tufat.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Tyrsson

Quote from: sombra on March 14, 2009, 10:07:02 PM
wen it wil be comatible with smf 2.04?
Its been updated for 2.0RC1. Please read the note carefully as you will also have to update the flashchat files themselves so that the 4.7.12 version will install with SMF. The mod has not been upgraded to use with the 5.x version of chat since there are known security problems with the 5.x version. A link to the updated chat installation files is provided from the mod download page.
PM at your own risk, some I answer, if they are interesting, some I ignore.

sandmannd

Quote from: sandmannd on March 29, 2009, 11:14:12 AM
Quote from: Tyrsson on March 28, 2009, 04:34:56 PM
Quote from: sandmannd on March 27, 2009, 10:17:33 PM
So I downloaded flash chat and installed the mod afterword. When I go to my website (the forums) I get "Fatal error: main() [function.require]: Failed opening required 'INC_DIR../temp/config.srv.php' (include_path='.:/usr/lib/php') in /homepages/22/d258088114/htdocs/forum/chat/inc/config.srv.php on line 2" on my browser. I opened the php file and all it has is:
<?php
   require_once INC_DIR.'../temp/config.srv.php';
?>

What can I do to fix this please?
Which version of SMF are you using? Sounds like you may be using the 2.x version of SMF.

Sorry, shoulda put that in there. It's 1.1.8

Anyone???

Tyrsson

Have you installed the flashchat as per the instructions via the flashchat website for integration with SMF? Also, Which version of flashchat are you using?
PM at your own risk, some I answer, if they are interesting, some I ignore.

sandmannd

Yes, it's installed. I could get to that fine until I installed the mod. Now I get that error. It's Chat 5 I believe.

Tyrsson

QuoteIt's Chat 5 I believe

This is the problem. All versions of the mod are for flashchat 4.7.12 only.
PM at your own risk, some I answer, if they are interesting, some I ignore.

b0dyr0ck2006

OK, i'm using Flash chat 4, with SMF 2.0RC1 running an edited dilber theme and version 2 of this mod.
Flash chat works fine as does the users in chat and the link on the menu.
I don't have any mod settings in admin though.Some of which can only be edited in SMF.....Please help. All edits seem to have gone in the correct place.
Why don't you check out my site: www.swapsiesuk.co.uk

Why Shop when you can Swap?!

donjoe

#1094
Quote from: ankitj on March 06, 2009, 08:33:03 PMI have 1.1.8 SMF and 5.x Flash chat. Is there a mod for integrating these two specific versions?
Nope, but since I wanted to integrate exactly these versions myself, here's how I did it:

The Quick and Dirty FlashChat v5.0.11 Integration for SMF v1.1.8
(I mention exact version numbers because I'm not going to guarantee that the procedure below works for any combination of versions that I haven't tried myself.)

What this does:

- adds a link in the SMF menu at the top (after "SEARCH"), which reads "CHAT" if there's no-one in the chat or "CHAT(x)" if there are currently x people in the chat (including those who have chosen to hide their online status in the forum); clicking this link opens up the chat in a new browser tab/window (no in-page integration, sorry) and gets you right in if you're already logged into the forum.

- adds a new "Users Online" section at the bottom (under "Users active in past 15 minutes:") which reads "No users in chat." if there's no-one in the chat or "Users in chat:" followed below by the "real" names of all the users currently in the chat (but only those who haven't chosen to hide their online status in the forum); all these names will be links to forum profiles.


How to apply it:

Install FlashChat v5.0.11 according to these instructions: http://www.tufat.com/docs/flashchat/integration.html, but skip the last step where you have to follow another link at the bottom of the instructions page.
While installing, make sure to accept the suggested database tables prefix "fc_". Otherwise, you will have to look for it in the code insertions below and replace it manually where I used "fc_". :) (Needless to say, this "mod" will only keep working without corrections as long as you continue to use the same database table names as those generated by the above installation.)

After you've verified that you can login with your forum Administrator account and use the chat from a link that looks approximately like this:
http://www.yourwebsite.com/forum/chat/flashchat.php
or
http://forum.yourwebsite.com/chat/flashchat.php

... you'd do well to fix a little blunder in one of FlashChat's SMF integration support files that may generate "you have been banned" messages for some of your users even if they're not banned.

Find this code in {your_forum_folder}\chat\inc\cmses\smfCMS2.phpif($status == 0 || ($status > 3 && $status < 9 )) return ROLE_USER;
... and change it to:if($status == 0 || ($status > 3)) return ROLE_USER;

Next, you have to modify just 2 files in each of your forum themes where you want this to work - BoardIndex.template.php and index.template.php.

Find this code in {your_forum_folder}\Themes\{your_theme}\BoardIndex.template.php:        // Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

... and add this after it:        // --- Begin FlashChat Integration ---
// Load all the users currently in the chat
        global $db_prefix;
$result = db_query("
SELECT fc.userid, mem.realName, mem.showOnline
    FROM {$db_prefix}fc_connections AS fc
    LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = fc.userid)
    WHERE fc.userid IS NOT NULL
    AND mem.ID_MEMBER != 0
            ORDER BY mem.realName ASC",
                       __FILE__, __LINE__);

$context['users_chat'] = array();

// Loop through all users in chat
while($row = mysql_fetch_assoc($result))
{
// Build the link to their profile
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['userid'] . '">' . $row['realName'] . '</a>';

        if($row['showOnline'])
        {
            // Add them to the 'Users Online' list
            $context['users_chat'][$row['realName']] = $link;
        }
}
mysql_free_result($result);

    echo '<br />';
// If there are users in the chat, show who they are
if(!empty($context['users_chat']))
    {
        echo 'Users in chat:<br />', implode(', ', $context['users_chat']);
    }
    else // otherwise just report the situation
    {
        echo 'No users in chat.';
    }
// --- End FlashChat integration ---


Then, find this code in {your_forum_folder}\Themes\{your_theme}\index.template.php:        // The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

... and add this after it:        // --- Begin FlashChat Integration ---
// Count all the users currently in the chat
        global $db_prefix;
$result = db_query("
SELECT COUNT(*) AS count
FROM {$db_prefix}fc_connections AS fc
WHERE fc.userid IS NOT NULL", __FILE__, __LINE__);
$row = mysql_fetch_assoc($result);
mysql_free_result($result);

    // Display the 'CHAT' menu link
    echo '
                <td valign="top" class="maintab_' , $current_action == 'chat' ? 'active_back' : 'back' , '">
                    <a href="', $GLOBALS['boardurl'], '/chat/flashchat.php" target="_blank">CHAT';
if($row['count'] > 0) // only add parantheses if there's at least one user in the chat
    {
        echo '(', $row['count'], ')';
    }
    echo '</a>
                </td>' , $current_action == 'chat' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
// --- End FlashChat integration ---


And you should be all set. :)


Disclaimer: the above procedure description is provided as-is, with no implied guarantee whatsoever etc. etc. 8)

Tyrsson

Quote from: b0dyr0ck2006 on April 11, 2009, 01:46:17 PM
OK, i'm using Flash chat 4, with SMF 2.0RC1 running an edited dilber theme and version 2 of this mod.
Flash chat works fine as does the users in chat and the link on the menu.
I don't have any mod settings in admin though.Some of which can only be edited in SMF.....Please help. All edits seem to have gone in the correct place.
The option to open the chat inside the forum was temporarily removed from the 2.0 version of the mod since the 2.0 RC1 version of SMF is not final. Once SMF 2.0 goes final I will update the mod so that all previous options are available.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Keith Tysinger

#1096
Here is some code that works with 2.0 RC1. I'm not great with SQL so if someone can tell me if there is a better way, I would like to know (maybe without the loop?)

This code only adds the number of chatters beside your chat button, like the old flashchat mod did.


All changes in subs.php. You may need to modify the chat room botton to open in a new window. I have a custom template for flashchat.

FWI I have seen userids in the fc_connections as negative numbers. Might have been a fluke, but I don't trust the NULL value.

  $result = $smcFunc['db_query']('', '
      SELECT userid
      FROM {db_prefix}fc_connections
WHERE userid >= 1
',
      array(
            )
          );

unset($lc);

while ($kc_chatters = $smcFunc['db_fetch_row']($result))
$lc [] = $kc_chatters[0];

$smcFunc['db_free_result']($result);


...

(Illustration purposes)

'chat' => array(
'title' => 'chat',
'href' => $scripturl . '?action=chat',
'show' => !$user_info['is_guest'],
'sub_buttons' => array(
),
),



...

if (!$user_info['is_guest'] && $context['user']['unread_messages'] > 0 && isset($context['menu_buttons']['pm']))
$context['menu_buttons']['pm']['title'] .= ' [<strong>'. $context['user']['unread_messages'] . '</strong>]';

if (isset($lc) && !$user_info['is_guest'] && count($lc) > 0 && isset($context['menu_buttons']['chat']))
{ $count_lc = count($lc);
$context['menu_buttons']['chat']['title'] .= ' [<strong>'. $count_lc . '</strong>]';
}

Contact me for all of your website design needs.

Tyrsson

It will be a few days before I can test any of this since I am in the process of setting up a new comp. Like I said in my previous post when the 2.0 version goes final I will update the mod with all the previous options.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Moto

Ive installed flashchat no probs,but does anybody know how to delete one of the rooms i made on installing the flashchat???

Kindred

use flashchat admin...

side note: Questions about flashchat itself should be asked over on the tufat forums, not here.  This is for dicsussion and assistance in getting the flashchat mod or integration to work.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: