Show online Flashchat users

Started by jwwd, May 15, 2009, 01:05:28 PM

Previous topic - Next topic

jwwd

Hi

I just installed Flashchat and the FlashChat Integration modification.

Im running version: SMF 2.0 RC1

How do I present the online Flashchat users in the bottom of the forum?

Best regards,

Henrik

shadow82x

If you installed the mod/integration properly the users in chat should be displaying below "Who's Online" :)

Please attach ./Themes/{your_theme}/boardindex.template.php

Colin B
Former Spammer, Customize, & Support Team Member

jwwd

Hi Shadow

Thanks for your reply.

I have attached my BoardIndex.template.php (renamed to .txt)

Best regards,

Henrik

jwwd

Hi again Shadow

Thank you very much for your help.

But - i am not allowed access to download the attached file - how do I download that?

Best regards,

Henrik

shadow82x

#4
Hello jwwd,
Give the attached boardindex.template.php a try.

You were missing a template edit from the FlashChat Intergration mod.

Edit: Also attached a .txt version. You should be able to read .php files in most file editors.
Colin B
Former Spammer, Customize, & Support Team Member

jwwd

Hi again

Thank you very very much - its working now!

Just one question:

How do I translate the "Users currently in chat:" into Danish?

Best regards,

Henrik

shadow82x

#6
You should be able to edit the text string $txt['fc_users_online'] in ../Themes/default/languages/Modifications.english.php

However you may wish to create a Modifications.{language}.php file in ./Themes/default/languages/ and add the following code + translate it


// --- Begin FlashChat Integration ---
$txt['fc_chat'] = 'Chat';
$txt['fc_flashchat'] = 'FlashChat';
$txt['fc_flashchat_settings'] = 'FlashChat Integration Settings';
$txt['fc_in_chat'] = 'in Chat';
$txt['fc_not_found'] = 'FlashChat does not appear to be installed!';
$txt['fc_no_guests'] = 'Sorry, guests aren't allowed to use the chat!';
$txt['fc_private_room'] = '<i>private room</i>';
$txt['fc_users_online'] = 'Users currently in chat';
// For 'Who's Online' page
$txt['whoall_chat'] = 'In the <a href="' . $boardurl . '?action=chat">Chatroom</a>';
Colin B
Former Spammer, Customize, & Support Team Member

jwwd

Hi again Shadow

Thank you very very much. I changed the Modification.danish.php file and its working perfect!!!

What a great forum - I joined 1 day ago - and already got a lot of help.

Have a nice day.

Best regards,

Henrik

shadow82x

No problem. :) Hope you enjoy using SMF and feel free to ask any question here!
Colin B
Former Spammer, Customize, & Support Team Member

jwwd

Hi again

My Flashchat is running fine and the online chat users are shown in the "whos online" list in the bottom of my SMF.

In the Flashchat I have a chatbot - is it possible to show the bot in the whos online list?

Best regards,

Henrik

jwwd


shadow82x

#11
Quote from: jwwd on May 20, 2009, 02:38:49 PM
Hi again

My Flashchat is running fine and the online chat users are shown in the "whos online" list in the bottom of my SMF.

In the Flashchat I have a chatbot - is it possible to show the bot in the whos online list?

Best regards,

Henrik
Since that chatbot is not a registered member in your forums database it may be bit tricky to get it to display.
The Flashchat script it separate from SMF but integrated.

You may wish to ask at the mod authors support site or in the mod support topic.
Colin B
Former Spammer, Customize, & Support Team Member

jwwd

Hi Shadow

Thanks for your reply.

I will ask author. I know its possible here:

www.weather-watch.com/smf - but my SMF is a newer version.

Best regards,

Henrik

Advertisement: