PDA

View Full Version : Chat Modifications - Members who are chatting in Flashchat 5 or 6


Paul M
11-15-2008, 10:00 PM
This modification is no longer available or supported.

Note: I no longer use Flashchat, and development and support of it at Tufat appears to have died in 2010.


This is a simple display of who is currently chatting in FlashChat - on the forum homepage display.

Note: This is compatible with Flashchat 5.0.x only, it will not work with Flashchat 4.

* Flashchat 5 is no longer available - this should work with Flashchat 6, but this is not a supported option *

The main features are ;

1. It displays the list on Forum Home with the "Users online" display.
2. The list view is collapsable, so you see just the number.
3. Users who should display as coloured or bold etc are displayed correctly (based on the display usergroup)
4. If you 'hover' over a username it will show the room they are chatting in and their status (away etc).
5. If the chat is empty, a simple "no one is chatting" message is displayed.
6. The option to record and display the Most Ever chatters can be enabled.
7. The ability to turn it on/off is in the ACP Options.
8. The ability to allow only certain usergroups to view the list is an ACP option (include or exclude groups).
9. The location of the Flashchat folder is an ACP option

(Options are located in vBulletin Options > Who Is Using Flashchat).

Unzip the XML and import into vB using the ACP Product Manager.


Further Notes:

This hack cannot display any bots in the chat, due to the strange way that Flashchat stores this information.

I have no connection with the Flashchat (http://www.tufat.com/s_flash_chat_chatroom.htm) product - if you have questions about Flashchat functionality then their forums are located here (http://www.tufat.com/phpBB2/index.php).

Template Hook

Please note that this modification uses the following template hook in the FORUMHOME template ;

forumhome_wgo_pos2

This must be present in any customised template/style you are using, otherwise this modification will not display.


History:

v3.8.001 : First release for vb 3.8.x
v3.8.002 : Fix Most Ever Display Bug.

DanTHEGREAT
12-10-2008, 08:12 PM
I tried this and showed an error message on my forum page.

centralss
12-12-2008, 11:38 PM
not working for me at all. Doesn't show up! I was working in 3.7.4 pl1 but after upgrading the site to 3.8.0 rc1 and reinstalling, it doesn't show up.

centralss
12-12-2008, 11:52 PM
ok I found out that my usergroup options were all set to no for displaying on homepage forum home etc.. I checked ALL to yes and it still doesn't show up!!

Calling Paul!!! lol

centralss
12-13-2008, 12:28 AM
just to be clear also. I have these installed

Flashchat 5.0.9
Flashchat 5 Integration 3.7.009 (paul)
Members who are using Flashchat 5 3.8.002 (paul)
Then installed Flashchat v5: Who is chatting (Add On) 3.8.004 (mosh)

Paul M
12-13-2008, 12:16 PM
Are you using a customised forumhome template ?

centralss
12-13-2008, 12:41 PM
yes, but again it was working before the most recent upgrade to 3.8.0. All I want it to do is show on the forumhome like it did before the upgrade yesterday.

Paul M
12-13-2008, 05:42 PM
You are missing the template hook that this requires, you must either revert the forumhome template, or add the hook to it.

centralss
12-13-2008, 06:05 PM
what is the hook I can add and where should I put it? down by the who's active/online and the bottom?

centralss
12-13-2008, 10:23 PM
anyone??? template hook code???

centralss
12-13-2008, 10:37 PM
I reverted my forumhome template after saving the code first and then readded my mods to it and everything is fine now.

Daryn
01-16-2009, 04:14 AM
Adding the template hook would be a lot easier for me. What is the hook for this? I know where it should go, but not what it should be.

EDIT: Nevermind, there are 5 hooks, and comparing the default style with my custom one they weren't hard to find.

Chimpie
01-25-2009, 10:04 PM
Is there a way to get show who is chatting for vB 3.8 and FlashChat 4.7.12?

Paul M
01-27-2009, 05:41 PM
No, there is currently no 3.8 version for FC4.

You could install the 3.7 version and I *think* it will work - but you will have to edit the xml to allow it to install on 3.8

Paul M
01-30-2009, 09:03 AM
3.6 ?

This is for 3.8

PNEInvincibles
02-17-2009, 07:44 AM
Is there any way of getting this to display on a page other than the forum home?

Paul M
02-17-2009, 04:17 PM
Display what exactly ?

PNEInvincibles
02-17-2009, 10:05 PM
List of members who are chatting, I must confess though I get slightly confused with the who is chatting and members using flashchat modifications, sorry.

I have a self contained area where people rarely go back to the forum home page but would want to know who is chatting.

Paul M
02-18-2009, 11:19 AM
Sorry, the list is only built on the index (Forumhome) page.

Mosh
02-18-2009, 07:56 PM
List of members who are chatting, I must confess though I get slightly confused with the who is chatting and members using flashchat modifications, sorry.

I have a self contained area where people rarely go back to the forum home page but would want to know who is chatting.
I have an add-on for this hack that shows it on other pages. It builds on this hack, so this hack will need to be installed before installing mine. Check out the link in the Addons section of the first post of this hack for the link.

Skyrider
02-22-2009, 06:57 PM
This may be a bit offtopic, but is there a way to display partly of the chat room at the bottom of the forum? So they can chat from there right away with auto-login on their username?

opsman
03-28-2009, 04:04 PM
I have a problem, I installed but my flash chat is in/chat/livechat all i get is errors saying it cannot find files etc any help appreciated

Paul M
03-28-2009, 04:46 PM
Sorry, Flashchat+vbulletin (and this mod) are only supported if F/C is installed in the chat folder - not any other name, or sub folder.

Chris Etc
04-14-2009, 06:16 AM
Sorry, the list is only built on the index (Forumhome) page.


Hi Paul, previously you'd given some instructions on how to place the members currently using flashchat info at the top of the forumhome page under the navbar. Would you mind doing that with this version as well? I've played around with it but I keep just getting the text without the box and it's all out of order. Having the the feature at the top, under the navbar, really helps bring more traffic into chat. Thanks.

Mosh
04-14-2009, 06:24 AM
Hi Paul, previously you'd given some instructions on how to place the members currently using flashchat info at the top of the forumhome page under the navbar. Would you mind doing that with this version as well? I've played around with it but I keep just getting the text without the box and it's all out of order. Having the the feature at the top, under the navbar, really helps bring more traffic into chat. Thanks.
I have an add-on for this hack that shows it at the top on the forumhome page and on other pages too. It builds on this hack, so this hack will need to be installed before installing mine. Check out the link in the Addons section of the first post of this hack for the link.

Chris Etc
04-15-2009, 12:54 AM
I have an add-on for this hack that shows it at the top on the forumhome page and on other pages too. It builds on this hack, so this hack will need to be installed before installing mine. Check out the link in the Addons section of the first post of this hack for the link.



It seems to remove the display at the bottom though. No way to have both I guess?

Anyway, is there any way for the text Members currently using Flashchat: 0 to appear in the same font/size as the Currently Active Users: 1 (1 members and 0 guests) field? The box seems to have a larger font now, same as the What's Going On? text.

I appreciate it.

Mosh
04-15-2009, 12:59 AM
It seems to remove the display at the bottom though. No way to have both I guess?

Anyway, is there any way for the text Members currently using Flashchat: 0 to appear in the same font/size as the Currently Active Users: 1 (1 members and 0 guests) field? The box seems to have a larger font now, same as the What's Going On? text.

I appreciate it.
Please post over in my support thread for questions about my hack, as this thread is just for Paul M's hack.

DarkArmada
05-27-2009, 11:17 PM
Sorry, Flashchat+vbulletin (and this mod) are only supported if F/C is installed in the chat folder - not any other name, or sub folder.

Does the chat have to be installed in forum/chat? For example, my installation at the moment is...

root/forum
root/chat

Is that fine? Or does chat have to be installed in the forum folder?

Paul M
05-28-2009, 06:57 PM
It must be in the forum.

i.e. root/forum/chat

texas_txu
05-30-2009, 11:23 PM
As I was uploading the XML for this mod (days after installing the flashchat and integration mod) the page refreshed and the following error message appeared:

Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT COUNT(*) AS newposts FROM post WHERE dateline >= 06:47 PM, 05-29-2009 AND visible = 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':47 PM, 05-29-2009 AND visible = 1' at line 1
Error Number : 1064
Classname : vB_Database
MySQL Version : 5.0.51b-community-nt

I don't really know what to do to fix this and I've been googling solutions for a couple days with no fix in sight. The board doesn't come up, members can't view the page, I can access the admin cp however. HELP please!

Paul M
05-31-2009, 09:48 PM
There is nothing I can tell you - that query is not part of this modification.

K2_02
06-09-2009, 04:52 PM
Is there any way to make this mod NOT display usergroups that are set to Spy Mode? Kinda blows the cover if they can see that you're in the chatroom and then join and can't see you.

Paul M
06-10-2009, 06:38 PM
No, there is no such facility.

Scubado
08-06-2009, 09:32 AM
Thanx Paul for this Add On, works well.

I've few questions:

1) the usergroups moderators and admin are invisible on our board and have their own nonpublic chatroom. So they are invisible on FlashChat aswell. But in the wic-display they appear as visible chatusers. Can the script for modifation this issue be found in the vB 'active user' template? So they will not be displayed in wic.
Somewhat like the previous question about the spy-usergroup, probably it will work for this group asswell.

2) The fc5 active users display shows the rooms and number of users. I miss this in wic.
i.e. in: /forum/chat/info.php . Is it possible to show the rooms in the vB wic display?

goxy63
08-13-2009, 11:11 AM
1.
How to change path to a small gif, it points to "whos_online.gif" and if that is changed all other statistics have same one which is not that good :( ?

2.Any chance to place this mod within VBA module for my homepage?

Thanks

ps
Placed same question at Mosh "who is chatting addon" thread
will notify in other thread if I got answer here, and vice versa
---------- Post added at 14.08.2009 ---------- Previous post was at 13.08.2009 ----------
I was thinking that Paul is quickest in these waters, but Mosh this time was... :D
My questions answered here (https://vborg.vbsupport.ru/showpost.php?p=1866928&postcount=58)

Deacon Frost
08-20-2009, 06:06 AM
Guys,

I have installed this addon to my VB 3.8 and it is basically working. However it won't display the number of active chatters correct. The code in the phrases is

Members currently using Flashchat: {1}

but the result shown on my website is

Members currently using Flashchat: %1$s 0

any hints?

Zaki Shafqat
08-29-2009, 03:54 PM
Installed and everything seems to be working fine but its showing the wrong date

The most chatters online in one day was 0, 01-01-1970.
No one is currently using the chat.

Paul M
08-30-2009, 10:19 PM
The date will not update until someone logs in.

Zaki Shafqat
08-31-2009, 04:04 PM
The date will not update until someone logs in.

Yeah i also noticed when i entered in the chat room it said TODAY instead of 1970 so hopefully it will count a newer date after some days no body go to the chat room

Thanks i was a great plugin indeed

Mr_Devlin
09-11-2009, 09:43 AM
Will there be a way to show "who's chatting" for a default installation of flashchat?
For example: I'd installed FlashChat as standalone "default CMS", because for some reasons board members and external Users should be able to use the chat. This installation uses its own fc-tables (but in same database of the vb-SQL) and the fc-folder is located in server root, NOT in forum root. So we have two user tables: fcusers und vbusers and two folders: chat and forum
Now I need a display on forumhome to show users they are in currently the chat.
Is this possible to realize and if yes, how to?

Any help would be appreciated.

Paul M
09-11-2009, 10:59 AM
No, that is not possible with this - it is for vb integrated installations only.

Mr_Devlin
09-11-2009, 03:44 PM
No, that is not possible with this - it is for vb integrated installations only.

Yes, I know. But is there a way to display the number of chat users in a default CMS installation on vb-forumhome? I mean a kind of bridge?
I tried to include the "chat/info.php"-file in a template but didn't get any results. Weird.
Better ask at tufat.com for a solution.

BrAinZ
01-31-2010, 05:22 PM
I'm using this mod with Flashchat 6 and VB 3.84.

Showing garbage after the "Members currently using Flashchat:" bit.

Currently showing "Members currently using Flashchat: %1$s 7"
The 7 bit is right, but not sure why it's showing "%1$s" before.

Any help would be appreciated.

Paul M
01-31-2010, 07:59 PM
Either you have a very old custom phrase in your system, or and old template, Im guessing phrase.

BrAinZ
02-02-2010, 07:12 AM
Among others I have these Phrases:

wic_members_24 Standard Phrase The most chatters online over 24 hours was {1}, {2} at {3}.
wic_members_day Standard Phrase The most chatters online in one day was {1}, {2}.
wic_no_chatters Standard Phrase No one is currently using the chat.
wic_using_flashchat Standard Phrase Members currently using Flashchat: {1}

I have tried deleting the {1} at the end but the home page still shows as:
"Members currently using Flashchat: %1$s 1"

Any other ideas?

BrAinZ
02-02-2010, 07:19 AM
Also.. Just tried removing the "$chattersdesc" line from the Display_Chatters template, butthat removes the whole "Members currently using Flashchat: %1$s" line and only leaves the actual number.

So the problem appears to be with the $chattersdesc variable.

Is there supposed to be anything showing after the "Flashchat:" end of the line?

Paul M
02-02-2010, 03:49 PM
Sorry, but without acp access to your site, there isnt really much else I can do.

BrAinZ
02-02-2010, 04:07 PM
OK, but maybe someone could answer whether there SHOULD be anything showing between the "......Flashchat:" and No of chatters?

I've checked all the code that refers to $chattersdesc, but there appears no reason for it adding extra "%1$s".

Snakehill
02-06-2010, 04:19 PM
Awesome work on this mod. It's even compatible with Flashchat 6!
Thanks!!!

synseal
11-23-2010, 10:02 PM
Would it be possible for this to be available on vb4.

Many thanks.

Paul M
11-23-2010, 11:31 PM
It already is, just look in my profile.

Paul M
01-02-2011, 10:34 PM
Important Note:

I no longer use Flashchat (and havent for over 18 months).

The development and support of Flashchat at Tufat.com appears to have died in 2010 - the site owner has not been seen for almost a year, and even the developer who took over F/C version 6 has not logged in for at least two months. The last [beta] version was 6.0.8, released in June 2010.

Therefore after almost 6 years of supporting Flashchat Integration with vBulletin, I have decided I can no longer support my Flashchat modifications. I do not have it installed on my test sites anymore.

Anyone who wishes can of course continue to use them, and they should continue to work quite happily in 4.1 [for the moment]. However, any future issues caused by vb style or code changes may break them, and will most likely remain unfixed.