vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - FlashChat - Who is in the chat. (https://vborg.vbsupport.ru/showthread.php?t=91338)

Paul M 11-25-2005 07:49 PM

Quote:

Originally Posted by zendiver
In the previous versions, it was pretty upfront how you changed the text and the link, but I can't find either of them. Someone point me in the right direction.
This is what it says now: Members currently using Flashchat:
And the link defaults to the /forums/chat/flashchat.php
I have changeed the name in the VBCP and entered the correct folder name, but when you roll over the whos_online.gif, the link goes to the above default and of course I get the Page Not Found.

TIA

Edit the 'Display_Chatters' template.

VAN 11-25-2005 09:11 PM

Any way to get this to count bots as well?

Paul M 11-25-2005 09:20 PM

Quote:

Originally Posted by VAN
Any way to get this to count bots as well?

From the first post.

Quote:


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


TexasAtvs 11-27-2005 01:49 AM

This is the error I am recieving after installing everything. Can someone please tell me what I did wrong or how to fix this? Thanks!

Database error in vBulletin 3.5.1:

Invalid SQL:

SELECT connections.userid, connections.roomid, rooms.name, rooms.ispublic,
connections.start,user.usergroupid, user.displaygroupid, user.options, user.username,
groupa.opentag as opentaga, groupa.closetag as closetaga,
groupb.opentag as opentagb, groupb.closetag as closetagb
FROM flashchat_connections as connections
LEFT JOIN flashchat_rooms as rooms ON(connections.roomid = rooms.id)
LEFT JOIN user as user ON(connections.userid = user.userid)
LEFT JOIN usergroup as groupa ON(user.usergroupid = groupa.usergroupid)
LEFT JOIN usergroup as groupb ON(user.displaygroupid = groupb.usergroupid)
WHERE connections.userid > 0 AND connections.ip != '0.0.0.0' ORDER BY start;

MySQL Error : Table 'texasatv_vbulletin.flashchat_connections' doesn't exist
Error Number : 1146
Date : Saturday, November 26th 2005 @ 10:02:34 PM
Script : http://69.16.204.245/forums/index.php
Referrer :
IP Address : 70.114.206.223
Username : Brandon
Classname : vb_database

Paul M 11-27-2005 02:11 AM

Make sure the prefix defined in flashchat's config.srv.php is correct (i.e matches the actual prefix of your flashchat tables). atm it looks like it's set to 'flashchat_' , which appears to be wrong.

TexasAtvs 11-27-2005 02:16 AM

Quote:

Originally Posted by Paul M
Make sure the prefix defined in flashchat's config.srv.php is correct (i.e matches the actual prefix of your flashchat tables). atm it looks like it's set to 'flashchat_' , which appears to be wrong.

Okay I pulled up Php My Admin and found the following tables:

texasatv_flashchat

flashchat_bans
flashchat_bot
flashchat_bots
flashchat_connections
flashchat_conversationlog
flashchat_dstore
flashchat_gmcache
flashchat_gossip
flashchat_ignors
flashchat_messages
flashchat_patterns
flashchat_rooms
flashchat_templates
flashchat_thatindex
flashchat_thatstack
flashchat_users

Isn't this correct ?? I dont see what is wrong with the tables

Paul M 11-27-2005 09:39 AM

What is texasatv_flashchat ?

Also - if you want me to look at what's wrong then I need ftp access and an admin id with full permissions (inc running sql queries).

I suggest you disable the product in the product manager until I can take a look.

Paul M 11-27-2005 02:34 PM

Okay, thanks for the PM, I have checked your system and the probem is that you have not installed flashchat as an integrated solution with vbulletin - it is installed as a totally seperate entity, even to the point of having it's own seperate database.

You cannot use this hack with such an installation - it requires you to have installed flashchat integrated with vb. :)

.Tim 11-27-2005 04:10 PM

How hard would it be or would it be possible to have it show in the users postbit or profile (preferably profile) that they're in the chat?

Paul M 11-27-2005 06:50 PM

It wouldn't be very difficult - just add a plugin to global_start to scan the users in the chat and set a global variable to true if they are - that variable could then be used anywhere in the forum (like in a template conditional).


All times are GMT. The time now is 03:59 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.01367 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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