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 10-21-2005 06:41 PM

ACP > vBulletin Options > Forums Home Page Options , near the bottom.

dgallek 10-21-2005 07:07 PM

thank you, i'd never have found it there

bobs409 10-22-2005 10:12 AM

Quote:

Originally Posted by Paul M
Try looking up the thread, about 7 posts.

I have and noticed post #112 was similar but not sure what that means. What do I have to set and where?

Thanks,

Bob

Paul M 10-22-2005 04:07 PM

ACP > vBulletin Options > Forums Home Page Options, near the bottom.

bobs409 10-22-2005 05:05 PM

Ah, success! I had my chat folder named Chat. That capital C was the problem.

Working good now.

Thanks for the great hack.

*Clicks install*

Bob

Trevor Hannant 10-22-2005 05:59 PM

Installed fine.

Trevor Hannant 10-22-2005 06:07 PM

Is there anything that sorts out the 'Who's Online' page?

Paul M 10-22-2005 08:48 PM

Quote:

Originally Posted by Trevster
Is there anything that sorts out the 'Who's Online' page?

Sorry, i don't understand the question.

Trevor Hannant 10-22-2005 09:05 PM

Quote:

Originally Posted by Paul M
Sorry, i don't understand the question.

See image attached. Does this plugin sort that (used the flashchat integration when installing rather than this one)?

Cheers.

Paul M 10-22-2005 09:08 PM

Yes, the plugin(s) sort that.

bobs409 10-23-2005 09:32 AM

Something very wierd going on with my list. A member reported that when he logs into the chat, someone elses name shows up on the forum instead of his. In fact, it's a user name that was banned.

He tried logging in with a few other member names and each time, it showed someone other than that persons name.

When I log into the chat myself, it shows my username so it works for my account. If I log in with another members name (without password), it shows someone completely different. :surprised:

Not sure if this is something buggy with this script or perhaps Flashchat itself or???

Any help is appreciated,

Bob

Paul M 10-23-2005 12:42 PM

You are not running in vb integrated mode (if you were then you would be logged straight in to the chat, you don't get a login screen, and you certainly cannot login as anyone else). What you are seeing is a classic example of still using Flashchats default stateless mode.

bobs409 10-23-2005 04:14 PM

Quote:

Originally Posted by Paul M
You are not running in vb integrated mode (if you were then you would be logged straight in to the chat, you don't get a login screen, and you certainly cannot login as anyone else). What you are seeing is a classic example of still using Flashchats default stateless mode.

Thanks once again Paul!

I just upgraded to the latest version of Flashchat and checked the integrate box. Should all be ok now.


Bob

Paul M 10-24-2005 05:06 PM

Version 4.10 uploaded.

A couple of minor bugs have been fixed.

This version removes the need to edit the FORUMHOME template.

To upgrade from version 3.xx to version 4.10 you need to delete the existing plugin and remove the template code in FORUMHOME - then upload the new product. To upgrade from version 4.xx to version 4.10 you need to uninstall the product and remove the template code in FORUMHOME - then upload the new product.

* An add-on to display a 'Most ever posters' count is also available here.

TitanJeff 10-24-2005 05:27 PM

I just added this and am having a problem with it showing up properly on the index page. I've taken a snapshot below to show it better. Any ideas? Thanks.

Paul M 10-24-2005 05:46 PM

oops sorry, a Phrase is missing, I'll add it now.

Paul M 10-24-2005 05:53 PM

Fixed, re-import the product with overwrite = yes.

TitanJeff 10-24-2005 06:09 PM

I think that took care of it. Many thanks.

Paul M 10-24-2005 06:13 PM

Quote:

Originally Posted by TitanJeff
I think that took care of it. Many thanks.

Yes, it was assigned to the wrong product on my forum, so didn't get exported. :( You would think it should just know where it belonged ;)

divided_by_fear 10-25-2005 12:37 AM

i love this hack just one thing to make this W3C Compliant XHTML you have to add the alt so basicly you have this

Quote:

<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" border="0" /></td>
i changed it to this if you dont mind

Quote:

<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="" border="0" /></td>
and your 100% W3C Compliant :cool:

TitanJeff 10-26-2005 03:27 PM

Quick question: If I want it to say "Who is in the chat room" instead of "Who is in FlashChat", how can I do that?

Paul M 10-26-2005 04:25 PM

Quote:

Originally Posted by TitanJeff
Quick question: If I want it to say "Who is in the chat room" instead of "Who is in FlashChat", how can I do that?

Edit the 'using_flashchat' phrase.

emtee 10-27-2005 07:15 PM

Thanks for this, but this version of who's in chat it doesn't work with FlashChat 4.4.1. I edit the prefix from fc_ to flashchat_ and it looks ok, but when there are users in the chat, it still reports no users in chat. Any idea ?

Paul M 10-27-2005 07:19 PM

Quote:

Originally Posted by emtee
Thanks for this, but this version of who's in chat it doesn't work with FlashChat 4.4.1.

Erm, yes it does, perfectly. :)

So I'm afraid you have done something wrong.

PsiNyde 10-28-2005 12:56 AM

b/c default prefix for integrating [from my experience] is _fc_

Paul M 10-28-2005 03:47 AM

Actually, for a new installation it will normally be 'flashchat_' ;)

( _fc_ was the old hardcoded prefix in the 3.0 CMS file).

I've seen many installations that have both sets of tables .........

dragon_1973 11-01-2005 07:44 PM

Can I request a new feature to this plugin? With the new version, it modifies (or inserts code) in the FORUMHOME template.

Can you also, in that block, add a link for users to actually get in the chat from the block? Right now I have to modify some other template to give my users a link to get into the chat.

Paul M 11-01-2005 08:04 PM

The code it inserts is the "Display_Chatters" template, just modify that to add your link.

dragon_1973 11-01-2005 10:27 PM

Yea... that works... :)

Thanks for the great, simple to use plugin!

am-fs 11-02-2005 11:15 PM

Need some help Please :)

1 problem and 1 question

1st were does the vbulletin35cms.php file go, in the chat folder or the forum root?

problem i recieve after importing plug

Warning: Unknown(./http://xxxxx.com/forum/chat/inc/config.php): failed to open stream: No such file or directory in /index.php(63) : eval()'d code on line 34

Fatal error: (null)(): Failed opening required './http://xxxxx.com/forum/chat/inc/config.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts//xxxxx.com/httpdocs/forum/index.php(63) : eval()'d code on line 34

i have set the "home page option" to the path then the url, and still recieve the error on the forum home.

any idea what i messed up or didnt do.
thanks

Paul M 11-03-2005 12:06 AM

The CMS file goes in the flashchat /inc/cmses/ folder.

The error means you have not set the correct path (relative to your forum root) for your flashchat folder in the home page options, where is it located, what is it called.

am-fs 11-03-2005 12:36 AM

ok, i replaced the vbcms file in the right place.

i edited the botton for the user groups.

then in vb options, home page display options

i put the path:
/home/httpd/vhosts/xxxx.com/httpdocs/forum/chat

i have also tried ( http://xxx..com/forum/chat )

is this correct?

i also she a spot on top of the vbcms for a path and have added it there and removed it and still no go.

Still the same error :ermm:

Paul M 11-03-2005 02:56 AM

Quote:

Originally Posted by am-fs
i put the path:
/home/httpd/vhosts/xxxx.com/httpdocs/forum/chat

i have also tried ( http://xxx..com/forum/chat )

is this correct?

No. Neither is correct.

The path RELATIVE to your forum root, if your forums are in ...../http/forum and your chat is inside this ( ...../http/forum/chat ) then the setting is simply chat (which is the supplied default).

am-fs 11-03-2005 03:24 AM

LMAO........Thanks

Great Add on :up:


Is there a way to make " Members currently using Flashchat:" link into chat?

Thanks again

bada_bing 11-04-2005 02:31 PM

I just install version 2.30 for Vbulliten 3.0.7 and was wondering if that is the lastest and greatest for vbulliten 3.0.7? Also I wanted to know how I can add the Who is Chatting as a side module on my vbportal along with having it on the botton as defualt

Paul M 11-04-2005 03:48 PM

Quote:

Originally Posted by bada_bing
I just install version 2.30 for Vbulliten 3.0.7 and was wondering if that is the lastest and greatest for vbulliten 3.0.7?

The current 3.0.x version is here (so yes, 2.30 is the latest version for it).

Quote:

Originally Posted by bada_bing
Also I wanted to know how I can add the Who is Chatting as a side module on my vbportal along with having it on the botton as defualt

I'm sure you can, but you need the help of people who use the portal. I don't.

Boss-Hog 11-07-2005 01:40 PM

Hi Paul,

I'm running FlashChat v4.3.3 (which has been gradually upgraded from an old FC 3.X version) with your FC integration hack (version 2.45) on vB 3.5.0. I am running version 4.10 of this hack, which I upgraded from a previous version. Anyway, I have an occassional problem with the members in chat display on the ForumHome page, which may or may not be due to what you mentioned in the quoted text below.

When I enter the chat, my nickname is correctly displayed on ForumHome. Similarly, when I leave FC and it logs me out, ForumHome correctly displays that there are no chatters. However, sometimes there will be a single user that appears on ForumHome as a member in chat (before I enter). When I enter chat, that user appears in the FC list (in other words, the user's name appears on ForumHome AND in FC). However, when I log out of FC, the number of chatters on ForumHome becomes 0, meaning that the other chatter who was initially appearing on ForumHome before I entered chat is no longer listed. When I reenter FC, that user is not there, as he or she was when I initially entered FC. Additionally, I question whether or not the user was actually there when I first entered FC, even though the nickname appears on ForumHome and in FC, because your Most Ever Chatters hack (version 2.03) displays '1', even though FC shows me and the other user when I initially enter FC. If another user was truly in chat, and I enter, then that should obviously be 2. Any help on this is appreciated - hope that wasn't too confusing!

Boss

Quote:

Originally Posted by Paul M
This has been mentioned a number of times over time but just to cover it again - technically it's user error, though some may say it's a flashchat 'issue' - it happens because you are not actually logging out of flashchat, but just closing the browser. Always log out using the red (top right) logout button. If you just close the browser then flashchat will try and run a pop-up to log you out - but browsers other than IE (such as firefox) block this.


Paul M 11-07-2005 04:37 PM

It is exactly due to what I posted. If the last person in the chat does no log out correctly, then they will remain in the database (as above). Flashchat can only clean-up expired connections when something runs it's code - this only happens if someone else enters the chat - so in the case above, the last person did not log out correctly, and the stuck entry was not cleaned out until you entered [later].

This doesn't affect the Socket Server mode, but most people do not / cannot run that mode.

Boss-Hog 11-07-2005 05:51 PM

That makes sense - thanks for the reply and hack.

shiola 11-17-2005 03:58 PM

Display Chatters!!!!! I've been scouring the FORUMHOME template for ages trying to find that little bugger. Might want to add that to the install instructions or somewhere more obvious than page 10 of this thread.

Great hack, thanks.

Quote:

am-fs

Is there a way to make " Members currently using Flashchat:" link into chat?

Go to: Style & Templates - Style Manager - Edit Templates - Display Chatters

Find:
Quote:

$chattersdesc $totalchatters
Replace with:
Quote:

Members currently using <a href="chat/flashchat.php" target="flashchat">Chat</a>: $totalchatters


All times are GMT. The time now is 07:09 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.02532 seconds
  • Memory Usage 1,830KB
  • 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
  • (16)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