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)

shiola 11-17-2005 04:05 PM

For displaying the number of chatters next to your 'Chat' link in the navbar - I just added $totalchatters next to the Chat link - it only works on your home page, but it's easy and is better than nothing.

Don't use brackets or a hyphen though, as it'll just look strange on all other pages.

Just thought I'd mention it.

SuaveDebonaire 11-18-2005 02:54 PM

If you want to display the current users on the navagation bar (on nearly every page, not just the forum home)

Change the Hook Location of the second instant to "global_start"
in that same instant change ['FORUMHOME'] to ['navbar']

then add the template chatters code to the navbar template

Chadi 11-19-2005 06:24 AM

My "who's in chat" on the right column is missing for some reason.

http://www.talkjesus.com/index.php?

How do I correct this? I'm on 3.51 with latest flash chat.

I have $chatwho in the field so it should work. This happened last time and somehow fixed itself (go figure).

dc3dreamer 11-19-2005 11:34 AM

Paul -- The other left-hand icons in the What's Going On have "tooltips" resulting from alt-tags on their images, so in who-is-chatting.xml (in 4.11 this is inside the hyperlink you added to jump to flashchat, so...):

<img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Start chatting" border="0" />

Paul M 11-19-2005 04:10 PM

Quote:

Originally Posted by chadi
My "who's in chat" on the right column is missing for some reason.

http://www.talkjesus.com/index.php?

How do I correct this? I'm on 3.51 with latest flash chat.

I have $chatwho in the field so it should work. This happened last time and somehow fixed itself (go figure).

Your forum is offline atm, so i cannot see what you mean.

Quote:

Originally Posted by dc3dreamer
Paul -- The other left-hand icons in the What's Going On have "tooltips" resulting from alt-tags on their images, so in who-is-chatting.xml (in 4.11 this is inside the hyperlink you added to jump to flashchat, so...):

<img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Start chatting" border="0" />

They probably need alt and title tags, maybe in 4.12 ...... :)


BTW, SuaveDebonaire, chadi & dc3dreamer, none of you have install clicked .......

Chadi 11-19-2005 04:14 PM

Please try now. I turned it on.

Paul M 11-19-2005 04:43 PM

chadi, please click on install if you want support.

When you have done that, please explain your problem, since it looks fine to me.

Chadi 11-19-2005 04:49 PM

The right side column on forum home...it is not listing who's in chat like it should.

Paul M 11-19-2005 06:56 PM

Quote:

Originally Posted by chadi
The right side column on forum home...it is not listing who's in chat like it should.

Sorry, but it is now clear from your PM's and logging into your site that you are referring to something totally unrealted to this hack that you have added to your side column. This hack displays in the "What's Going On" section at the bottom of the ForumHome page and is working fine.

temabu 11-19-2005 09:58 PM

Using the Left column hack, can I put the FlashChat module in the left column? What code block/var do I need to use?

Thanks

Paul M 11-20-2005 02:43 AM

I do not know what the left column hack is.

tony 11-23-2005 12:37 AM

Nice hack paul!

The only problem I notice is if you don't log out of chat, you just close your browser window. It shows that your still in the chat room.

Paul M 11-23-2005 12:56 AM

Quote:

Originally Posted by tony
The only problem I notice is if you don't log out of chat, you just close your browser window. It shows that your still in the chat room.

https://vborg.vbsupport.ru/showpost....6&postcount=59

tony 11-23-2005 01:05 AM

Sorry, I skipped a few post.

I still think it should log you out when closing the window. This is the way it works with vb or using mirc I don't see how it is user error. Anyhow I will let my members know.

Thanks

Paul M 11-23-2005 01:20 AM

Quote:

Originally Posted by tony
I still think it should log you out when closing the window. This is the way it works with vb or using mirc I don't see how it is user error.

I suggest you take it up with Tufat then, it's Flashchat functionality, unrelated to this hack. :)

TJ3 11-23-2005 11:52 AM

After having a nightmare of a time install flashchat onto my board (bunch of writable files had to be chmod 777), this baby installed smoothly!

FLAWLESS VICTORY!

Thanks!

tony 11-25-2005 09:49 AM

Paul, I have a question for ya.

I just notice this morning on my main site it is showing someone in the chat room. But when I use the flash chat's who is online( .com/chat), there is no one in chat.

Paul M 11-25-2005 03:40 PM

Read the previous page, around post 157.

zendiver 11-25-2005 07:03 PM

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

VAN 11-25-2005 07:32 PM

This plugin system makes things too easy. :D

Thanks for another great one, Paul!

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).

indie 11-29-2005 09:47 PM

I installed and it works fine, but I tried to put the:
<!-- who is in flashchat -->
part of the code into a CMPS module for my homepage and it didn't work. Any advice?
Also, does this product create tables in the db?
Thanks

Chadi 11-29-2005 09:50 PM

Quote:

Originally Posted by Paul M
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).


Can you please clarify this? Also, as you already know I was asking about via pm, possible to add the whos in chat in vertical format with info taken from the info.php file so I can add this to forumhome?

Thank you

Paul M 11-29-2005 10:14 PM

Quote:

Originally Posted by indie
I tried to put the:
<!-- who is in flashchat -->
part of the code into a CMPS module for my homepage and it didn't work. Any advice?

Sorry, I know little about CMPS - but they have their own support forum don't they ?

Quote:

Originally Posted by indie
Also, does this product create tables in the db?

No.

indie 11-29-2005 10:35 PM

Any idea on how to get this to work on pages other than forumhome (while keeping it on forumhome)?

I tried to just copy the html part to display it on another page and it didn't work. Would I have to replace the instances of forumhome in the XML and re-upload it as a new product?

Thanks

Paul M 11-29-2005 10:47 PM

Quote:

Originally Posted by chadi
Can you please clarify this?

Clarify it in what way ? I don't think i could make it much clearer without actually writing it.

Quote:

Originally Posted by chadi
Also, as you already know I was asking about via pm, possible to add the whos in chat in vertical format with info taken from the info.php file so I can add this to forumhome?

I don't know, I've never really looked at info.php as I've never had a need for it. Not really sure what you mean by "vertical format".

Paul M 11-29-2005 10:49 PM

Quote:

Originally Posted by indie
Any idea on how to get this to work on pages other than forumhome (while keeping it on forumhome)?

What pages ?

heynurse 11-29-2005 10:52 PM

How about the top of every page? It would be nice to have a # of users at least to tease people to come into chat.

indie 11-29-2005 11:23 PM

Quote:

Originally Posted by Paul M
What pages ?

Like my home page (which is not forumhome).

indie 11-30-2005 02:10 AM

Also, any idea why when certain users are in the chat room, their location in who's online says:
/chat/getxml.php
And when you click it it's an XML page?
Thanks

Paul M 11-30-2005 02:17 AM

Quote:

Originally Posted by indie
Also, any idea why when certain users are in the chat room, their location in who's online says:
/chat/getxml.php
And when you click it it's an XML page?
Thanks

Because you haven't got the WOL plugin installed - it's part of the integration hack.


All times are GMT. The time now is 06:05 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.01645 seconds
  • Memory Usage 1,829KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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