vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   FlashChat - Who is in the chat (Add-On) (https://vborg.vbsupport.ru/showthread.php?t=116141)

Mosh 05-19-2006 10:00 PM

FlashChat - Who is in the chat (Add-On)
 
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
  1. It displays the chat list under the navbar on Forum Home, Forum Display, Show Thread, Who is Online and on Search pages.
  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.


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

Quote:

Originally Posted by jdsinclair
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

Quote:

Originally Posted by jdsinclair
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

Quote:

Originally Posted by tamborinegal
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

Quote:

Originally Posted by jdsinclair
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

Quote:

Originally Posted by tamborinegal
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

Quote:

Originally Posted by xtreme2
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 :)

Quote:

Originally Posted by TCB
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

Quote:

Originally Posted by kurtbarker
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

Quote:

Originally Posted by kurtbarker
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

Quote:

Originally Posted by xtreme2
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

Quote:

Originally Posted by jdsinclair
@ 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

Quote:

Originally Posted by jdsinclair
@ 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

Code:

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

Code:

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

Quote:

Originally Posted by HotnHoly
Hi,

i can't find

Code:

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

Code:

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

Quote:

Originally Posted by AndyP
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

Quote:

Originally Posted by funky1
Great mod. THANKS!!!

Why thank you :)
Quote:

Originally Posted by funky1
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:

Code:

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

Code:

<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

Quote:

Originally Posted by barryhand
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.


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01502 seconds
  • Memory Usage 1,838KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete