PDA

View Full Version : FlashChat - Who is in the chat (Add-On)


Mosh
05-19-2006, 10:00 PM
Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored.

Please click Mark as Installed if you are using this hack.

NOTE: Who is chatting Add-On (for Flashchat) for v3.6.x is available here.


vBulletin Version Compatibility

This hack has be tested with v3.5.8. This has not been tested with earlier versions, but should work.


What Does This Hack Do?

This is an add-on/enhancement to Paul M's FlashChat - Who is in the chat v 4.18, so this hack does not work without Paul M's hack installed first.

This does not change the functionality of Paul M's hack, this is just an enhancement to your installed version of FlashChat - Who is in the chat.

The members on my forum requested that the Who is in the chat box be moved to the top of the forums as it was a long way to scroll down to see who was chatting, at the top members could see who was chatting.

As members had to enter the chat or visit the forum homepage again to see who was chatting, I fixed it so that my members could also see who was chatting as they browsed the various forums and threads as well as on the who is online pages.

Code that is used in this hack is mainly Paul M's and he has kindly given me permission to use the code in my hack. I have also used part of the description off his hack as well.

Thanks Paul for all your work on the Flashchat integration, it makes all our lives easier :)

What it does


It displays the chat list under the navbar on Forum Home, Forum Display, Show Thread, Who is Online and on Search pages.
The list view is collapsable, so you see just the number.
Users who should display as coloured or bold etc are displayed correctly (based on the display usergroup)
If you 'hover' over a username it will show the room they are chatting in and their status (away etc).
If the chat is empty, a simple "no one is chatting" message is displayed.



Installation Instructions

Follow the attached instructions.

Upgrade instructions are included with the attached instructions.


Version History

v1.01 - Saturday 27th May 2006
-- Final release
-- Added: Display on Search pages

v1.00 - Saturday 20th May 2006
-- Initial Release


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Logikos
05-20-2006, 08:15 AM
Thanks for sharing! :)

Snake
05-20-2006, 09:27 AM
Thanks for releasing this hack! :)

tamborinegal
05-21-2006, 12:19 AM
I love the idea of this, but I keep getting this error:

Warning: Unknown(./chat/inc/langs/.php): failed to open stream: No such file or directory in /forumdisplay.php(105) : eval()'d code on line 8

Fatal error: (null)(): Failed opening required './chat/inc/langs/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/forum/forumdisplay.php(105) : eval()'d code on line 8

I carefully followed the instructions and it shows up fine on the forum home page but when I click on any forum, I get the error message above.

Any ideas on why this would be happening?

Thanks

Clancy

Mosh
05-21-2006, 01:26 AM
Have you got Flashchat installed, with Paul M's Integration Hack? Have you got Paul M's original Who is in the chat mod installed first, before installing mine?

My modification depends on all of those factors and not having those installed and working first will prevent this one from working at all.

tamborinegal
05-21-2006, 01:32 AM
Have you got Flashchat installed, with Paul M's Integration Hack? Have you got Paul M's original Who is in the chat mod installed first, before installing mine?


Yes I have.

Clancy

Mosh
05-21-2006, 01:33 AM
PM me a temp admin account for your forum and I will have a look, if that is OK.

EDIT: Disregard the above request.

In the ACP did you put the correct path to your flashchat folder to /forum/chat in Who is in Flashchat - Location of FlashChat in the Forums Home Page Options section of vBulletin Options?

And also the correct language code (just underneath the option above) of en?

tamborinegal
05-21-2006, 01:40 AM
PM me a temp admin account for your forum and I will have a look, if that is OK

Will do, thanks. :)

Clancy

Mosh
05-21-2006, 01:48 AM
Will do, thanks. :)

Clancy
Just edited the above post, may not need the test account, just check the above first.

tamborinegal
05-21-2006, 02:03 AM
PM me a temp admin account for your forum and I will have a look, if that is OK.

EDIT: Disregard the above request.

In the ACP did you put the correct path to your flashchat folder to /forum/chat in Who is in Flashchat - Location of FlashChat in the Forums Home Page Options section of vBulletin Options?

And also the correct language code (just underneath the option above) of en?

I have the path to my flashchat folder set to chat - I tried it as /forum/chat but it still returns an error.

I don't see the correct language code option. I just checked and noticed that PaulM has released an update to the Who is in flashchat" I'll try upgrading to that version and see if it works.

Thanks for your help so far. :)

Clancy

Mosh
05-21-2006, 02:10 AM
Yes, that is probably the reason, my code is based on v 4.18 of Paul M's Mod, will alter the first post to reflect this.

Paul M
05-21-2006, 02:12 AM
Yep, you need v4.18 of my hack for this to work, otherwise you will get the error above.

tamborinegal
05-21-2006, 02:25 AM
Yep upgraded and all is working perfectly now. Thanks for your help and for the hack. :)

Much appreciated.

Clancy

Mosh
05-21-2006, 02:29 AM
Yep upgraded and all is working perfectly now. Thanks for your help and for the hack. :)

Much appreciated.

Clancy
You are most welcome :)

xtreme2
05-23-2006, 03:31 PM
where do you get FlashChat itself? I am currently using something else and this seems much better, but I have searched around and found nothing...

TCB
05-23-2006, 07:18 PM
It works great.... lovely addon :banana:

ddolliver
05-24-2006, 06:08 PM
xtreme2,

Buy it here: http://www.tufat.com/s_flash_chat_chatroom.htm

Mosh
05-25-2006, 02:20 AM
where do you get FlashChat itself? I am currently using something else and this seems much better, but I have searched around and found nothing...
Check out the link that ddolliver recommended, you will have to pay $5 (it is the best money you will spend, and your members will love it :))

Also check out Paul M's modifications as his are top notch, while mine just adds a little on top of his monumental work in integration :)

It works great.... lovely addon :banana:
Why thank you kind sir :)

kurtbarker
05-25-2006, 03:21 AM
hey mate, pretty cool hack you got going...

is there any way to have the 'who is in flashchat' bar also show up in search.php, so it comes up when searching and for 'get new' posts...

Mosh
05-26-2006, 10:24 AM
hey mate, pretty cool hack you got going...

is there any way to have the 'who is in flashchat' bar also show up in search.php, so it comes up when searching and for 'get new' posts...
I should be able to do that, keep an eye out for the updated product.

kurtbarker
05-26-2006, 11:05 AM
thanks mate, looking forward to it :D

b6gm6n
05-26-2006, 03:08 PM
EDIT: sorted cheers!

-b6

tamborinegal
05-27-2006, 02:14 AM
hey mate, pretty cool hack you got going...

is there any way to have the 'who is in flashchat' bar also show up in search.php, so it comes up when searching and for 'get new' posts...

My members have asked for that as well, so I would love to see it added too.

This is a great hack, our chat room has been busier than ever since I installed it.

Thanks again. Looking forward to the update! :)

Clancy

Mosh
05-27-2006, 10:35 AM
@ kurtbarker and tamborinegal

I have now updated the modification for you.

enjoy :)

pumarjr
05-27-2006, 01:42 PM
where do you get FlashChat itself? I am currently using something else and this seems much better, but I have searched around and found nothing...

http://www.tufat.com/

tamborinegal
05-27-2006, 10:41 PM
@ kurtbarker and tamborinegal

I have now updated the modification for you.

enjoy :)

Thank you so much for getting this done so quickly. I just upgraded... I won't be able to keep my members out of the chat now. :)

Thanks again.

Clancy

kurtbarker
05-28-2006, 12:51 PM
@ kurtbarker and tamborinegal

I have now updated the modification for you.

enjoy :)

thanks mate, awesome support for this :D

Mosh
05-29-2006, 12:04 AM
You are both welcome :)

HotnHoly
06-10-2006, 01:11 PM
Hi,

i can't find

Edit the Members in Flashchat (2) plugin

Find:

$search_text = '<!-- end logged-in users -->';


Change it to:

$search_text = '$navbar';

Save the plugin.

in the Members in Flashchat (2) plugin

There is only

if ($userinfo['activity'] == 'flashchat')
{
$handled = true;
$userinfo['action'] = $vbphrase['in_flashchat'];
$userinfo['where'] = '<a href="'.$vbulletin->options['bburl'].$vbphrase['flashchat_path'].'">'.$vbulletin->options['bburl'].$vbphrase['flashchat_path'].'</a>';
}

in there.

Can anybody help me, please?

Mosh
06-10-2006, 03:20 PM
Hi,

i can't find

Edit the Members in Flashchat (2) plugin

Find:

$search_text = '<!-- end logged-in users -->';


Change it to:

$search_text = '$navbar';

Save the plugin.

in the Members in Flashchat (2) plugin

There is only

if ($userinfo['activity'] == 'flashchat')
{
$handled = true;
$userinfo['action'] = $vbphrase['in_flashchat'];
$userinfo['where'] = '<a href="'.$vbulletin->options['bburl'].$vbphrase['flashchat_path'].'">'.$vbulletin->options['bburl'].$vbphrase['flashchat_path'].'</a>';
}

in there.

Can anybody help me, please?
What version of FlashChat - Who is in the chat by Paul M do you have installed? if you have v 4.18 then you will find the correct place to change, if it is an earlier version then this will not work.

You can also look at Members in Flashchat (1) plugin and see if it is there, but I am sure it is Members in Flashchat (2) plugin.

Also click Install if you want support for this modification.

AndyP
06-17-2006, 10:24 AM
Installed.
I like it. Nice simple mod.

Mosh
06-18-2006, 01:02 AM
Installed.
I like it. Nice simple mod.
Why thank you :D I hope your members enjoy the new feature :)

funky1
07-15-2006, 09:02 AM
Great mod. THANKS!!!

Can you tell me where I could edit the code in order for the list to be "collapsed" by default?

Thanks,

Brett

Mosh
07-15-2006, 03:28 PM
Great mod. THANKS!!!
Why thank you :)
Can you tell me where I could edit the code in order for the list to be "collapsed" by default?

Thanks,

Brett
That is an easy one :)

In the Display_Chatters template find:

<tbody id="collapseobj_forumhome_chatusers" style="$vbcollapse[collapseobj_forumhome_chatusers]">

Replace with:

<tbody id="collapseobj_forumhome_chatusers" style="$vbcollapse[collapseobj_forumhome_chatusers]; display:none">

That should make all instances of the who is in the chat box collapsed as default :)

TCB
08-14-2006, 10:41 AM
Does anyone know if this one also works with 3.6 ?

cavyspirit
08-14-2006, 07:07 PM
This worked perfectly for me in 3.6.

jw00dy
08-14-2006, 09:54 PM
Worked great for me in 3.6 too.

Mosh
08-15-2006, 07:11 AM
Thanks for testing this out folk :D

First Post amended, to add that in :)

barryhand
08-16-2006, 09:04 AM
Great Mod, is there any way to add it to all VB pages (members etc.) or anyway to include the variables that are used.

I have a link on the navbar called 'Chat', i want to display the number of chatters. e.g Chat (6) - Chat ($totalchatters)

This works on the forum pages that the add is is visible in, but not my custom pages or the member list etc.

Basically I want to call the variable on the navbar, regardless of the add on being visible on that page? Is there an include anywhere?

Any help ?

Mosh
08-21-2006, 09:58 AM
Great Mod, is there any way to add it to all VB pages (members etc.) or anyway to include the variables that are used.

I have a link on the navbar called 'Chat', i want to display the number of chatters. e.g Chat (6) - Chat ($totalchatters)

This works on the forum pages that the add is is visible in, but not my custom pages or the member list etc.


Basically I want to call the variable on the navbar, regardless of the add on being visible on that page? Is there an include anywhere?

Any help ?
I think Paul M answered your query here (https://vborg.vbsupport.ru/showpost.php?p=1053697&postcount=388).

Intex
09-02-2006, 08:14 PM
Great mod.

I have one issue though. I'm using two styles and it shows fine on both styles within a forum / thread area, but only shows on one style for the forumhome. Any ideas?

Mosh
09-05-2006, 08:34 AM
Great mod.

I have one issue though. I'm using two styles and it shows fine on both styles within a forum / thread area, but only shows on one style for the forumhome. Any ideas?
If you can post (or PM me) the URL to your site, I will have a look. Please also let me know what style is affected.

smoknz28
10-01-2006, 07:57 PM
Done good....done real good. ;)

Installed on vB 3.6.1 with ease.

Thank you for sharing this code with the rest of us. :D

Mark
www.f-bodyhideout.com/forums

Mosh
10-03-2006, 06:48 AM
Done good....done real good. ;)

Installed on vB 3.6.1 with ease.

Thank you for sharing this code with the rest of us. :D

Mark
www.f-bodyhideout.com/forums
You are most welcome :) PaulM is the person to really thank though, as this is just based on his Who is in the Chat mod.

smoknz28
10-14-2006, 09:59 PM
I even got this running on my vB 3.6.2 however, PaulM has updated his Who Is Chatting hack. With his update the code has obviously changed, so this will no longer work with his update he put out today Oct 14, 2006.

I kept the old hack he made and added it....then installed your hack and I'm back off and running once again. ;)

It would be nice if you and Paul could work with one another and have this working with his latest version of Who Is Chatting hack. ;)

Thanks

TCB
11-05-2006, 11:40 AM
Is there any way to have this hack working with the latest intergration hack from PaulM?

Please? :D

Mosh
11-08-2006, 05:03 AM
As soon as I install version 3.6.x at least on my test forum, I will update this mod, but until then please have patience.

TCB
11-15-2006, 08:06 PM
looking forward to it. I loved it the way your addon showed the people currently in the chat on top of the forum (y)

AndyP
12-18-2006, 10:36 AM
I'll add my vote to having this work in with PaulM's latest version. Doesn't look like it would take too much to fix up, but beyond me nevertheless.

Must be a great mod, jdsinclair & PaulM, because when it went temporarily missing during the vBulletin upgrade, the members kicked up a stink about it.

FyreLance
12-22-2006, 03:48 PM
I'll add my vote to having this work in with PaulM's latest version. Doesn't look like it would take too much to fix up, but beyond me nevertheless.

Must be a great mod, jdsinclair & PaulM, because when it went temporarily missing during the vBulletin upgrade, the members kicked up a stink about it.

+1, Would like to use this with the latest version of PaulM's hack. Any news on that? :)

dennysperez
12-27-2006, 06:59 PM
Same here.

Mosh
01-18-2007, 08:16 PM
My PHP and MySQL do not meet minimum specs for upgrading to v3.6.x at the moment. Once I can upgrade the backend, I can then upgrade the forums and my dev forum and then be able to update all of my hacks. Until I can do that all updates are on hold, sorry.

Reflect
01-21-2007, 12:56 PM
how do i remove this, installed it and it's messed up my forum index, stretched too wide, guess it does't work with pauls one just yet.

Mosh
01-23-2007, 07:21 PM
how do i remove this, installed it and it's messed up my forum index, stretched too wide, guess it does't work with pauls one just yet.

Just uninstall the product, that is it.

AndyP
02-05-2007, 12:40 AM
My PHP and MySQL do not meet minimum specs for upgrading to v3.6.x at the moment. Once I can upgrade the backend, I can then upgrade the forums and my dev forum and then be able to update all of my hacks. Until I can do that all updates are on hold, sorry.
Thanks for letting us know.

SherryG
02-26-2007, 10:40 AM
Installed on 3.6.4 and working perfectly. Thank you :)

ravencr
03-08-2007, 04:21 AM
Hi,

i can't find

Edit the Members in Flashchat (2) plugin

Find:

$search_text = '<!-- end logged-in users -->';


Change it to:

$search_text = '$navbar';

Save the plugin.

in the Members in Flashchat (2) plugin

There is only

if ($userinfo['activity'] == 'flashchat')
{
$handled = true;
$userinfo['action'] = $vbphrase['in_flashchat'];
$userinfo['where'] = '<a href="'.$vbulletin->options['bburl'].$vbphrase['flashchat_path'].'">'.$vbulletin->options['bburl'].$vbphrase['flashchat_path'].'</a>';
}

in there.

Can anybody help me, please?I have the exact same problem. I can't find that line in the members in Flashchat (2). It doesn't exist. I'm running 4.4 version of Paul's Hack.

Chris

ravencr
03-08-2007, 04:59 AM
I went back to 4.18 instead of 4.4 and works partially, but it doesn't label it as chat, ust a box that you can open or collapse with who's in chat but nobody would know because there's not title like it should be. www.utvrally.com/forum

Chris

ravencr
03-08-2007, 05:14 AM
Ok, folks, for those running 3.6, you need to install version 4.18, then download version 4.4 as well. Once downloaded completely for 4.18, then go to your Display_Chatters in 4.4 and copy and paste that code into the 4.18 display_chatters. That will make it function 100$ as intended.

Chris

ravencr
03-08-2007, 05:26 AM
copy and past this into the display_chatters of the 4.18 version and you'll be good to go:

<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatusers')"><img id="collapseimg_forumhome_chatusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatusers].gif" alt="" border="0" /></a>
$chattersdesc $totalchatters
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatusers" style="$vbcollapse[collapseobj_forumhome_chatusers]">
<tr>
<td class="alt2"><a href="chat/flashchat.php"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$chatters</div></td>
</tr>
</tbody>
<!-- end who is in flashchat -->

Mosh
04-02-2007, 07:49 AM
The official v3.6.x version of this modification is now available from here.

Thanks for your patience, and hope all of you users with v3.6.x will enjoy this ported mod :)

Teresa
12-19-2007, 03:56 AM
I'm using Flashchat Integration 3.03 and Members Who are Using FlashChat 4.18.

I've added a left column to my site; the code for the left column starts UNDER the call of $navbar.

I really want the 'Who is Using Chat' to appear to the RIGHT of the left column, not above it, like it does now.

Can I move some code somehow to make that happen?

Thx.

Mosh
12-19-2007, 06:13 AM
I'm using Flashchat Integration 3.03 and Members Who are Using FlashChat 4.18.

I've added a left column to my site; the code for the left column starts UNDER the call of $navbar.

I really want the 'Who is Using Chat' to appear to the RIGHT of the left column, not above it, like it does now.

Can I move some code somehow to make that happen?

Thx.
Yes, I am sure you can, but as neither of them are my hacks, you will have to ask the original hack author (Paul M) in the hacks respective support threads.