Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Flashchat: Who is chatting Details »»
Flashchat: Who is chatting
Version: 2.30, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.x Rating:
Released: 12-17-2004 Last Update: 09-28-2005 Installs: 225
 
No support by the author.

This modification is no longer available or supported.

This is a simple ForumHome display of who is currently using your Flashchat.

Version 2.20 is for use with Flashchat 4.1.x - however, it may work with older versions of Flashchat if set-up correctly.

The main features of Version 2.xx are ;

1. It displays the list on Forum Home with the "Users online" display.

2. The list view is collapsable, so you just see the number.

3. Users who should display as coloured or bold etc should be displayed correctly. (based on the display usergroup)

4. If you 'hover' over a username it will show the room they are chatting in.

5. If the chat is empty, a simple "no one is chatting" message is displayed.


Note: This will not display the names of any bots in the chat, due to the strange way that flashchat stores this information.


With help from Cyricx a CPMS module is located in this post. (Version 2.20 only, unsupported - use at your own risk).

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #212  
Old 07-13-2005, 04:43 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why have you posted this exact question in two of my threads - it has nothing to do with my hacks.
Reply With Quote
  #213  
Old 07-15-2005, 04:58 PM
arob42 arob42 is offline
 
Join Date: Nov 2004
Location: Dallas
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've integrated flashchat with vbulletin 3.0.3 and I'm adding this hack, but after step 1 in the instructions where index.php is modified, I upload and refresh my forum page and see the following at the top of the page.
Code:
Warning: mysql_connect(): Access denied for user: 'arob42@localhost' (Using password: NO) in /chat/inc/classes/db.php on line 15

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /chat/inc/classes/db.php on line 16

Warning: mysql_connect(): Access denied for user: 'arob42@localhost' (Using password: NO) in /chat/inc/classes/db.php on line 15

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /chat/inc/classes/db.php on line 16

Warning: mysql_connect(): Access denied for user: 'arob42@localhost' (Using password: NO) in /chat/inc/classes/db.php on line 15

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /chat/inc/classes/db.php on line 16
Is it trying to access my vbulletin database using arob42 as my userid? This is only part of my userid, but it has been truncated. Anyone know what might cause this? Shouldn't the userid be fetched from config.srv.php?

Also, does this even work with 3.0.3?

Thanks,
--Robert
Reply With Quote
  #214  
Old 07-15-2005, 06:42 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by arob42
Shouldn't the userid be fetched from config.srv.php?
No, if it's integrated correctly, the userid, password and database are pulled from your vB config.php.

Those errors are from the flashchat code, not vB. What version of Flashchat are you using, and which CMS file ?
Reply With Quote
  #215  
Old 07-16-2005, 02:55 AM
arob42 arob42 is offline
 
Join Date: Nov 2004
Location: Dallas
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using flashchat v4.0.12 and vbulletinCMS.php. I've modified the vbulletinCMS.php file with my license number, and I removed the 2 blank lines at the end of the file. I verified that when I'm logged into my vbulletin forum I enter straight into the chat room, and when I'm logged out I am prompted for my username/password when accessing chat. It will take my vbulletin username/pass at this point and I'm back in chat. My chat directory is located at my forum root, as per instructions, not the website root. I removed the flashchat databases and reinstalled everything but still get the same result. It's probably something stupid I'm doing but I don't see it yet.
Reply With Quote
  #216  
Old 07-16-2005, 04:21 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, but I would need to access your server files to see what is going on - it makes no sense at all.
Reply With Quote
  #217  
Old 07-16-2005, 12:56 PM
wattieuk's Avatar
wattieuk wattieuk is offline
 
Join Date: Jul 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="SandyBrown">Deleted: solved it!</font>
Reply With Quote
  #218  
Old 07-16-2005, 08:04 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by arob42
I'm using flashchat v4.0.12 and vbulletinCMS.php.
I don't know why 4.0.12 has caused this to happen for some people - but there is no requirement for that bit of code to actually be called, it's just a side effect of calling the flashchat common.php - I have altered the code to avoid this now anyway, new version v2.25 uploaded.
Reply With Quote
  #219  
Old 07-25-2005, 02:11 AM
digidivakathy digidivakathy is offline
 
Join Date: Jul 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, Paul, I finally switched it long enough to get the error...here it is:

Warning: mysql_connect(): Access denied for user: 'kathyssi@localhost' (Using password: NO) in /flashchat/inc/classes/db.php on line 15

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /flashchat/inc/classes/db.php on line 16

Warning: mysql_connect(): Access denied for user: 'kathyssi@localhost' (Using password: NO) in /flashchat/inc/classes/db.php on line 15

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /flashchat/inc/classes/db.php on line 16

Warning: mysql_connect(): Access denied for user: 'kathyssi@localhost' (Using password: NO) in /flashchat/inc/classes/db.php on line 15

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /flashchat/inc/classes/db.php on line 16

I have checked, double checked and triple checked and the login info for the database is the same in the old db.php file as it is in the new one. Any idea what's going on?

Thanks!
Reply With Quote
  #220  
Old 07-25-2005, 12:11 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See the post above yours, replace your code with v2.25 and hopefully the problem should go away.
Reply With Quote
  #221  
Old 07-29-2005, 11:49 AM
unknowngiver unknowngiver is offline
 
Join Date: Jul 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey i need help
i want to add whose chatting in the header
and i added this

<center><a href="http://www.apkafuture.com/chat/flashchat.php"><img src="http://www.apkafuture.com/LIVE.gif"</a>There are $totalchatters members in the chatroom <a href="http://www.apkafuture.com/chat/flashchat.php">Join Now</a></center>

in the navbar template

it works in the INDEX PAGE but it doesnt work in the other pages
wt should i do?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:06 AM.


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.04988 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete