Customizing SMF > Modifications and Packages
FlashChat Integration
dooie:
I am running SMF 2.0.2 Default Curve theme with FlashChat version 4.7.12. I tried it in Core Theme as well and still not working. Is there something with the coding that is preventing this from behaving the way it should?
I have integrated FlashChat with the integration mod but I am curious why even though the code is there in the menu to display the number of users in the chat on the chat button in the menu bar. Instead of just saying "Chat", it should say something like "Chat [2 Users]" (assuming 2 users are in the chat) however this is not working while members are in chat.
The code in the menu is this
--- Code: ---//Start FlashChat integration
'chat' => array(
'title' => $txt['fc_chat'],
'href' => $scripturl . '?action=chat"', (!empty($modSettings['fc_newWindow']) ? ' target="_blank"' : ''), '>', $txt['fc_chat'], (!empty($modSettings['fc_showUserCount']) && !empty($context['num_chat']) ? ' [<strong>' . $context['num_chat'] . ' ' . ($context['num_chat'] == 1 ? $txt['user'] : $txt['users']) . '</strong>]' : ''),
'show' => !$user_info['is_guest'],
'sub_buttons' => array(
),
),
//End FlashChat integration
--- End code ---
This is in Subs.php
Attached is my Subs.php file if someone who understands coding can explain why the number of users is not working.
This would be greatly appreciated as most of the chat users do not use the Welcome User drop down so there is no visible indication that anyone is in chat.
If possible, I would really like to integrate a flashing icon such as a small animated gif next to the chat button when someone is in the chat room.
Any help will be greatly appreciated!
Cheers.
dooie:
Anyone?
Kat9119:
--- Quote from: dooie on June 28, 2012, 07:07:11 PM ---Anyone?
--- End quote ---
Have you tried using FlashChat 6 and using these directions?
http://forum.tufat.com/showthread.php?t=80167
I'm in the process of upgrading to a fresh install of 2.0.2 and my users love the chat, and rely on the # in the top menu, so I hope it works!
dooie:
--- Quote from: Kat9119 on June 28, 2012, 10:31:00 PM ---
--- Quote from: dooie on June 28, 2012, 07:07:11 PM ---Anyone?
--- End quote ---
Have you tried using FlashChat 6 and using these directions?
http://forum.tufat.com/showthread.php?t=80167
I'm in the process of upgrading to a fresh install of 2.0.2 and my users love the chat, and rely on the # in the top menu, so I hope it works!
--- End quote ---
Yes, I did try Sebastian's method first after upgrading and it did not work so I went back to my original FlashChat 4.7.12 and used the integration tool here with the emulator and got it to work. I just cant get the # of users on the top menu to work with the code included. That is the one thing left for this to work completely for me.
Cheers.
Kat9119:
--- Quote from: dooie on June 28, 2012, 11:46:21 PM ---
--- Quote from: Kat9119 on June 28, 2012, 10:31:00 PM ---
--- Quote from: dooie on June 28, 2012, 07:07:11 PM ---Anyone?
--- End quote ---
Have you tried using FlashChat 6 and using these directions?
http://forum.tufat.com/showthread.php?t=80167
I'm in the process of upgrading to a fresh install of 2.0.2 and my users love the chat, and rely on the # in the top menu, so I hope it works!
--- End quote ---
Yes, I did try Sebastian's method first after upgrading and it did not work so I went back to my original FlashChat 4.7.12 and used the integration tool here with the emulator and got it to work. I just cant get the # of users on the top menu to work with the code included. That is the one thing left for this to work completely for me.
Cheers.
--- End quote ---
Hum, I wonder if I'll have the same issue then, probably. I don't think the chat button with # of users has worked for a long long time because I remember having to use someone's code edits listed here a couple years ago.
So it shows people in chat listed at the bottom of your forum? What version did you emulate? I'm curious because I'm going to have to try these in a couple days, and I know nothing about editing codes myself lol.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version