PDA

View Full Version : Integration with vBulletin - FlashChat - Who is in the chat.


Pages : [1] 2

Paul M
06-28-2005, 10:00 PM
This modification is no longer available or supported.

This is a simple display of who is currently chatting in FlashChat - on the forum homepage display.

The main features of Version 4.xx are basically the same as previous versions ;

1. It displays the list on Forum Home with the "Users online" display.
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.
6. The hack is now phrased.
7. The ability to turn it on/off is in the ACP Forum Home Options.
8. The ability to allow only certain usergroups to view the list is an ACP option.
9. The location of the flashchat folder is now an ACP option (vBulletin Options > Forums Home Page Options).

Unzip the XML and import into vB using the ACP Product Manager.

To upgrade from version 4.10 onwards, you need to re-import the product with the overwrite option set to yes. To upgrade from version 4.02 to version 4.10 onwards, you need to uninstall the product and remove the template code in FORUMHOME - then upload the new product. To upgrade from version 3.xx to version 4.xx you need to delete the existing plugin and remove the template code in FORUMHOME - then upload the new product.

* An add-on to display a 'Most ever chatters' count is available here (https://vborg.vbsupport.ru/showthread.php?s=&threadid=98887).


Note: This hack cannot display any bots in the chat, due to the strange way that flashchat stores this information. Please also note that I am not Tufat.com (http://www.tufat.com) or anything to do with the Flashchat (http://www.tufat.com/s_flash_chat_chatroom.htm) product - if you have questions about Flashchat (http://www.tufat.com/s_flash_chat_chatroom.htm) in general, their forums are here (http://www.tufat.com/phpBB2/index.php).


History:

v4.10 : Removed the need to edit the FORUMHOME template.
v4.11 : Hyperlinked display icon to chat page. Added vb number formatting to count.
v4.12 : Added ALT tag to above hyperlink.
v4.13 : Updated ACP view permission option to take into account secondary groups.
v4.14 : Added 'nofollow' attribute to listed usernames.
v4.15 : Restricted list based on flashchat autologout parameter, to get round the issue of connections not being cleaned up.
v4.16 : Minor changes, no update necessary.
v4.17 : Added members status to hover information.
v4.18 : Re-wrote status code to take account of custom status definitions.

justindwhite
06-30-2005, 02:19 AM
Thanks a bunch... I've been waiting for this one ;)

*clicks install*

Roxie
06-30-2005, 06:00 PM
Thanks :D

Roxie
06-30-2005, 06:16 PM
This displays users that aren't in the chat. Don't know if I screwed up somewhere. LOL...but the users it lists aren't the ones in chat.

Paul M
06-30-2005, 07:13 PM
This displays users that aren't in the chat. Don't know if I screwed up somewhere. LOL...but the users it lists aren't the ones in chat.Well it can't make them up, it reads the flashchat database. :) maybe you have more than one database from previous flashchat installs ?

Roxie
06-30-2005, 07:17 PM
Well, it's pulling up users that have not been active in months. I only have one database. So, I dunno.

Paul M
06-30-2005, 08:21 PM
Well, it's pulling up users that have not been active in months. I only have one database. So, I dunno.Sorry, database was perhaps the wrong word - I mean more than one set of Flashchat tables in your vb database.
What CMS file are you using, and what 'pref' is defined in your config.srv.php ? What is the url of your site ?

Roxie
06-30-2005, 08:25 PM
I am using vbulletin35cms and the pref is set to _fc_, which is the same way it is in the database. The site is member only... http://daboard.dizzam.com - but I can set up a test membership.

Paul M
06-30-2005, 08:30 PM
The site is member only... http://daboard.dizzam.com - but I can set up a test membership.That would be useful, drop me a PM. :)

Paul M
06-30-2005, 10:30 PM
Okay - there is something wrong with your integration, users are not automatically being logged in. Instead, you can manually login as anybody, with any password - and you get a sequentially assigned userid, starting at 1 and working up. This is what is being displayed (currently reached 23).

Fix your integration and you will fix the user display automatically.

I notice you have posted a problem in the integration hack thread so i will move over to there now. :)

stlmike
07-01-2005, 02:02 AM
Someone got screenshot of this, so i can see what it looks like

Paul M
07-01-2005, 02:05 AM
Someone got screenshot of this, so i can see what it looks likeIt's exactly the same as the 3.0.7 version (https://vborg.vbsupport.ru/showthread.php?t=73042), which has a screenshot in it.

PixelFx
07-01-2005, 06:31 AM
It's exactly the same as the 3.0.7 version (https://vborg.vbsupport.ru/showthread.php?t=73042), which has a screenshot in it.
nice thanks for working on this .. would be cool to intergrate the latest flash chat's box with the forums like talker bot for example .. however very nice

justindwhite
07-01-2005, 07:22 PM
Someone got screenshot of this, so i can see what it looks like

Here you go

FilmoreSlim
07-06-2005, 07:59 PM
Great Work! Thanks a ton my man :)

digidivakathy
07-06-2005, 09:26 PM
Awesome, awesome, awesome! thanks so much!

I clicked Install!

Darth Gill
07-16-2005, 11:42 AM
I'm getting these errors: Warning: mysql_connect(): Access denied for user 'bkraft'@'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 'bkraft'@'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 'bkraft'@'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

Darth Gill
07-16-2005, 01:13 PM
I just thought I'd mention that everything works except that it puts those messages at the top of the forum which I fixed by putting @ signs in at the appropriate places...

$GLOBAL['fc_config']['db_conn'] = @mysql_connect($GLOBALS['fc_config']['db']['host'], $GLOBALS['fc_config']['db']['user'], $GLOBALS['fc_config']['db']['pass']);
@mysql_query("SET NAMES utf8", $GLOBAL['fc_config']['db_conn']);

Darth Gill
07-16-2005, 03:53 PM
Oh man i thought I had the problem solved. Now I'm being automatically logged out after I close the browser. Any thoughts?

Paul M
07-16-2005, 04:07 PM
I just thought I'd mention that everything works except that it puts those messages at the top of the forum which I fixed by putting @ signs in at the appropriate places...Hmm, that's not fixing it, just hiding it ...... Still, if your happy ......

Oh man i thought I had the problem solved. Now I'm being automatically logged out after I close the browser. Any thoughts?
Logged out of what - flashchat, or your forum ?

Darth Gill
07-16-2005, 04:18 PM
The Forum. Fixed it with this code: http://www.tufat.com/phpBB2/viewtopic.php?p=11606

Darth Gill
07-16-2005, 04:19 PM
Hmm, that's not fixing it, just hiding it ...... Still, if your happy ......Well, I would like it fixed, but I don't want to spend hours tracking down the problem... Any suggestions? Everything is working perfectly right now.

Paul M
07-16-2005, 04:28 PM
The Forum. Fixed it with this code: http://www.tufat.com/phpBB2/viewtopic.php?p=11606Hmm, yes, I've looked at that code and wondered why flashchat needs to do that at all, IMO it shouldn't need to mess with your vB Cookie. I just haven't got round to looking at it properly. I think you could just remove that code, but haven't tested it.

Well, I would like it fixed, but I don't want to spend hours tracking down the problem... Any suggestions? Everything is working perfectly right now.I don't understand what is going on with that, but you are the second person to mention it since FC 4.0.12 was released. I don't get it on my system so I can't investigate why it happens. What version of php are you on ?

Darth Gill
07-16-2005, 04:57 PM
I don't understand what is going on with that, but you are the second person to mention it since FC 4.0.12 was released. I don't get it on my system so I can't investigate why it happens. What version of php are you on ?I'm using 4.3.11. Thanks. :)

Paul M
07-16-2005, 08:00 PM
I'm using 4.3.11. Thanks. :)Oh well, it wasn't a php5 thing then. Anyway, at the end of the day - there is no requirement for that bit of code to be called, it was just a side effect of calling the flashchat common.php - I have altered the code to avoid this now anyway. Plugin v3.05 released.

Michael2
07-27-2005, 09:15 PM
Works great, thank you! :)

Neal-UK
07-29-2005, 02:47 AM
Works great, thank you! :)

I cant get flashchat to install on vb3.5.0, worked ok when i had it on 3.0.3+ though.

You have indicated that you wish to integrate FlashChat with vBulletin 3.0.7 NOTE: Requires input of license number in /inc/cmses/vbulletinCMS2.php. Please refer to the full integration instructions located in the TUFaT.com Wiki. There are additional steps to complete after this installer is finished.

Configuration Error!

FlashChat was unable to detect your MySQL login setting from the vBulletin 3.0.7 NOTE: Requires input of license number in /inc/cmses/vbulletinCMS2.php configuration file. You must correct this before FlashChat can finish its installation. Please refer to the integration Instructions in the TUFaT.com Wiki to ensure that the FlashChat files were correctly uploaded to your server.

Possible Reasons for this error may include:

1) FlashChat was uploaded to an incorrect server location.
2) The CMS system that you are using is unsupported by FlashChat.
3) Your server has incompatible settings which may have been undetected in Step 1 of the FlashChat installer. For example, specific security restrictions which are not typical of most PHP/MySQL setups.

Put my license number in, etc!!! bugger

Paul M
07-29-2005, 02:50 AM
I cant get flashchat to install on vb3.5.0, worked ok when i had it on 3.0.3+ though.You need this ;

https://vborg.vbsupport.ru/showthread.php?t=91278

Neal-UK
07-29-2005, 03:04 AM
You need this ;

https://vborg.vbsupport.ru/showthread.php?t=91278

yeah, sorted now thanks paul

Neal-UK
07-29-2005, 04:06 AM
yeah, sorted now thanks paul

Paul,

how long should the botloader script take, been running for about an hour and it's only half way along the bar.....

Paul M
07-29-2005, 04:15 AM
Paul,

how long should the botloader script take, been running for about an hour and it's only half way along the bar.....
Sorry, I have no idea - I have never installed the bots as I have no use for them. I doubt a script will run sucessfully for an hour - doesn't php timeout after a while ?

Neal-UK
07-29-2005, 04:25 AM
Sorry, I have no idea - I have never installed the bots as I have no use for them. I doubt a script will run sucessfully for an hour - doesn't php timeout after a while ?

i thought so. Kept going though but something must have gone wrong. Stopped in now and skipped it, installed fine and running well.

Neal-UK
07-29-2005, 06:56 PM
i thought so. Kept going though but something must have gone wrong. Stopped in now and skipped it, installed fine and running well.

How can I edit the usergroup permission? Need to let my donaters get in quick ;-(

Paul M
07-29-2005, 07:05 PM
Edit the relevant section in the CMS file - it's easy to spot.

Neal-UK
07-29-2005, 07:09 PM
Edit the relevant section in the CMS file - it's easy to spot.

ok cheers

Paul M
07-29-2005, 07:12 PM
BTW - you do realise this is the "who is in the chat" thread, not the integration thread ;)

Neal-UK
07-29-2005, 07:14 PM
BTW - you do realise this is the "who is in the chat" thread, not the integration thread ;)

i didn't see one for vb3.5.0. so sorry about that, mods please can you remove my posts.

EasyTarget
07-30-2005, 04:28 AM
nice hack/s

*warning, I don't know coding*
when I tried to import the .xml I get a vb error message saying invalid file specified.
I tried to do it both from my computer and from ftp to the includes/xml folder and got the same message.

I then opened the the add new plugin choice and put the information in there that I found in the .xml file, though it took a few times because I kept including too much of the information I guess. Like it only worked after I took off this stuff <?xml version="1.0" encoding="ISO-8859-1" ?>
- <plugins>
- <plugin active="1">
<title>Members in Flashchat</title>
<hookname>forumhome_start</hookname>
- <phpcode>
- <![CDATA[

]]>
</phpcode>
</plugin>
</plugins>


I'm just posting this in case this is actually the only way to add it so that maybe you'd update the instructions so that step 3 isn't just:
Step 3.

Install the plugin using the supplied XML file.but actually goes through and tells us newbies what to do :p

Paul M
07-30-2005, 05:11 AM
Sorry, but it's not my job to teach people how to install plugins - my hacks will assume you either already know, or are capable of finding out. Check out the forums "how to" section - esp this thread (https://vborg.vbsupport.ru/showthread.php?t=82621).

EasyTarget
07-30-2005, 05:28 AM
well maybe a link to that thread in the install would be nice.

I've installed several other plugins/hacks and I figured uploading the xml via plugin system would work. Since it seems there's several ways to do it why not specify which?

and I never said it was your job or responsibility to do it, I was just making a suggestion which I figured would help other people who had a code deficiency like myself.

anyways thanks for the hack.

*edit*
well according to that thread you linked to the way I first tried it (upload from pc/ftp to site) was the correct way, and that's the way that failed for me giving me the 'invalid file specified error'.

Paul M
07-30-2005, 05:48 AM
Well I just imported it okay. Are you sure you are using "Download / Upload Plugins" and not "Manage Products" - as the latter will give an invalid file error.

EasyTarget
07-30-2005, 08:27 AM
yeah, I used the manage products -> add/import product section
when I got the error.

did it this time in the download/upload section and it went smoothly, thanks.
(it was working before but I wanted to make sure to do it properly so I could learn for the future)

thanks.

and just for the sake of learning, what are the different sections of the plugin manager for?

hotrod1
08-06-2005, 06:21 PM
Great hack, thanks a bunch!

b6gm6n
08-07-2005, 12:50 PM
Hi, i had this hack working for a while, then i used the latest version, installed ok, but now on my forum home i always see 1 person chatting but no names to click... weird, i'll uninstall and reinstall.... i did use the template data from the latest version also... is there anything i could have done to create this? as i say it was working before, i'm using RC2

-b6

southernlady
08-07-2005, 06:33 PM
I've installed it but when the plugin is active, this is what I get on my forum home page:
Warning: Unknown(./chat/inc/config.php): failed to open stream: No such file or directory in /index.php(63) : eval()'d code on line 92

Fatal error: (null)(): Failed opening required './chat/inc/config.php' (include_path='.:/usr/local/lib/php') in home/southern/mysouthernlady.com/forum/index.php(63) : eval()'d code on line 92

I'm not giving my entire path due to security reasons. Flashchat itself is working beautifully. Liz

Sleepyk
08-17-2005, 01:23 AM
is this chat too or just the little add-on?

TTG
08-17-2005, 03:48 PM
This displays users that aren't in the chat. Don't know if I screwed up somewhere. LOL...but the users it lists aren't the ones in chat.

Have same problem ..

JirQUEST
08-18-2005, 07:42 AM
i think the users didnt log out properly? as in, they were inside b4, but they closed the window without clicking that red circle at the right hand corner.

RMS-Chef
08-30-2005, 08:32 PM
Have same problem ..

I had this problem with previous versions of this. People with popup blockers turned on for your site might have logout of chat issues. Sometimes they block the popup that logs you out of chat when they close it.

Paul M
08-30-2005, 08:58 PM
Just to clarify, as per this explanation months ago ;

https://vborg.vbsupport.ru/showpost.php?p=585037

This is not a hack problem, it is a flashchat issue. This hack can only use the information supplied to it by flashchat.

RMS-Chef
08-30-2005, 10:56 PM
No doubt Paul.
Thanks for the hacks.

geoff4787
09-29-2005, 08:15 PM
Everything is working except one part. The area that shows who is in the chatroom never changes and neither does the number. Its always at 0 and says no one is in the chatroom when someone really is.

Paul M
09-29-2005, 09:28 PM
At a guess I would say you have more than one set of flashchat tables in your database and the chat is using one, while the hack is using another. Make sure that in config.srv.php the "pref" setting is the correct prefix of the active flashchat tables. If you have a very old flashchat installation (3.9.x) that you have upgraded to 4.3.2 then the prefix may be nothing (' '), if you have a more recent installation then it may be' _fc_' - neither of which matches the default in the config file - which is 'flashchat_'.

EasyTarget
09-29-2005, 11:04 PM
so what was updated? says updated yesterday?

geoff4787
09-29-2005, 11:15 PM
Ok cool that was why Paul. I changed that and its working. Just when you logout it still shows you logged in. Anyone know how to fix that?

geoff4787
09-29-2005, 11:17 PM
Nevermind, I got it!

hotrod1
09-29-2005, 11:20 PM
For some reason it won't update the people in the chatroom, any solution? Thanks!

Paul M
09-30-2005, 12:12 AM
so what was updated? says updated yesterday?Nothing, just a minor change to the post - this alters the last update message.

Paul M
09-30-2005, 12:19 AM
Ok cool that was why Paul. I changed that and its working. Just when you logout it still shows you logged in. Anyone know how to fix that?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
09-30-2005, 12:22 AM
For some reason it won't update the people in the chatroom, any solution? Thanks!Not unless you explain more, what do you mean "won't update" ?

OrangeFlea
09-30-2005, 02:47 AM
Is it possible to add the number of people in chat on the navbar, next to the chat link? I want the number to be viewable, while this forces the members on the board I'm with to scroll down to get the info.

Something like this: User CP Member List Chat (2)

Paul M
09-30-2005, 03:50 AM
Most things are possible, but it would be a sperate hack.

Ville
09-30-2005, 09:22 PM
Hi Paul, I just installed your vB 3.5 integration module (after upgrading to vB 3.5.0 gold yesterday). FlashChat works now better—before your version of the CMS module the FlashChat interface would not come up.

But now the users are still not able to log in. I am, since I'm the admin (on vB), but the users are returned back to FlashChat's login prompt ("wrong password or user name.. try again"). Since your version of the CMS module was for 3.5.0 beta, I wonder if something changed sufficiently between the beta through RCs, and finally gold, or whether there's something else up.

Thanks!

Paul M
09-30-2005, 09:29 PM
Nope, the CMS works fine with any 3.5.0 version (beta 1 to gold) so you must have a problem somewhere, are you using the standard usergroup 2 or a custom usergroup for the users ?

Ville
10-01-2005, 01:29 AM
Yep, indeed! :) Most of the "regulars" on my board are in a non-standard user group (called, in fact, "regulars"). Those were the people who were having problems (they were banned). Once I edited your CMS file and added the appropriate user group to the allowed list, that problem was solved.

Secondly, I currently don't use unicode for storing user names in vB, yet I initially was testing the access with a user name that contained an umlauted character ('?'). vBulletin allows such characters to be used even though unicode is not on, but apparently ASCII encoding of such characters confused FlashChat login. I need to look into converting user names into unicode so that any new user who will pick a user name containing an umlauted character will also be able to access FlashChat.

In any case, thanks for the updated CMS file!! :)

Ville
10-01-2005, 03:42 AM
I just figured out why the users with usernames with umlauts weren't able to login. My stock configuration of vBulletin 3.5.0 allows users to select usernames with "scandinavian" characters (?,?,?) which are part of the extended ASCII set. Thus the usernames are not encoded as Unicode in the database. However, logins with usernames containing such characters were failing.

When I disabled the following line in your vbulletin35CMS.php, the problem went away:

$login = utf8_to_entities($login);Otherwise the 3.5.0 integration is working great!

dsotmoon
10-01-2005, 04:20 AM
installed, thanks!

OrangeFlea
10-01-2005, 05:52 AM
Most things are possible, but it would be a sperate hack.

What would make it so difficult? The number is originally displayed at the bottom. That itself can remain there, but I also want that number next to the chat link on the navbar.

Paul M
10-01-2005, 09:24 AM
The navbar is called on every page, this hack is not, the number is only available on the forum homepage - btw, I don't recall saying it was difficult, just seperate.

OrangeFlea
10-01-2005, 09:47 PM
Hopefully someone can build it, then. It's a common feature practiced by the EZboards, and it makes sense. A member could be browsing in other areas of the forum, like the arcade, journal, or quiz areas, and never know that there are people in the chat room. They'd have to go back to the main page and possibly scroll all the way down to the bottom of the forum listing in order to see the number of users in chat.

matteveryday
10-02-2005, 06:07 PM
Usernames seem to get stuck in the "who's chatting" box. When they leave the chat room, their username remains in the "who's chatting".

Paul M
10-02-2005, 06:11 PM
Read post 59.

misticjeff
10-03-2005, 05:42 AM
Hey Paul,

Thanks for the great hack!!

Just a question... since the xml plugin is telling flashchat to post the information in ForumHome couldn't it just as well tell it to post it anywhere the user wants? For instance, I'd like to have a module on the front page of my site telling who's online in chat. I can get the module built and all the info is there except the users. How can I get the call to point where i want it?

Paul M
10-03-2005, 08:48 AM
vB doesn't work like that, the code is attached to a "hook" that is only called by index.php, so the data is only available on that page (the forum homepage). In theory you could attach it to a more global hook, but then the code would be run on every page, regardless of whether you actually use the results.

misticjeff
10-03-2005, 09:24 AM
THanks... found what i was looking for over at the vBadvanced forums... someone managed to do it.

http://www.vbadvanced.com/forum/showthread.php?t=9595&highlight=flashchat

Paul M
10-06-2005, 01:30 AM
Now converted from a 'Plugin' to a 'Product' which means ;

* The hack is phrased.
* The ability to turn it on/off is an option in the ACP.
* The ability to allow only certain usergroups to view the list is an ACP option.
* The location of the Flashchat folder is now an ACP option.

If you are happy with it working as is - then obviously there is no requirement to upgrade - I will still support the old version (though I will strongly urge you to upgrade in most cases). If you wish to upgrade then you will need to delete the existing plugin, upload the new product, and replace the template code with the new version.

hpwilhelm
10-06-2005, 10:21 AM
Hi Paul, thanks for the FlashChat integrations.

I got a sql-error with this one. Seems that " . $fcprefix . " gets the wrong prefix. It returns '_fc2_connections', while the table is 'flashchat_connections'. Works fine when I change to the correct table name in the product xml.

I installed 4.3.3 on a fresh database, with your integration file and instructions.

Keep up the good work! :)

Paul M
10-06-2005, 05:41 PM
Hi Paul, thanks for the FlashChat integrations.

I got a sql-error with this one. Seems that " . $fcprefix . " gets the wrong prefix. It returns '_fc2_connections', while the table is 'flashchat_connections'. Works fine when I change to the correct table name in the product xml.

I installed 4.3.3 on a fresh database, with your integration file and instructions.

Keep up the good work! :)
You don't need to change anything in the hack, it reads the prefix from you flashchat config.srv.php - you obviously have the wrong prefix in this.

vibe
10-08-2005, 07:39 AM
you da man

weaver
10-08-2005, 02:56 PM
How would I add my bot's name to the list of users in chat? It shows 1 user is in chat but there is no one listed. It would be nice to have the bot's name there. :)

belindaj
10-08-2005, 03:07 PM
Any idea why (some of) my registered users can't see the "Who's In Chat" plugin at the bottom of my Forumhome? (I can see it fine - I thought the plugin install was flawless).

If they log OUT - they CAN see the Who's in Chat (as a guest!!) But logged in - they don't see it at all.

They are having no problem getting in and out of chat, and have done hard refreshes and cookie cleanup out the wazoo. LOL THESE are my users who normally don't ever have problems on upgrades.

I don't have an idea what to look for in the code.

Paul M
10-08-2005, 05:41 PM
Any idea why (some of) my registered users can't see the "Who's In Chat" plugin at the bottom of my Forumhome? (I can see it fine - I thought the plugin install was flawless).

If they log OUT - they CAN see the Who's in Chat (as a guest!!) But logged in - they don't see it at all.

From the first post ;

8. The ability to allow only certain usergroups to view the list is an ACP option.

TimBrown
10-09-2005, 02:39 PM
Thanks!

TripleOx
10-09-2005, 05:32 PM
I found the installation instructions for this hack extremely vague. Certainly wasn't as good as the 3.5.0 flashchat integration.

I have no knowledge about the templates and xml thing. :( I managed the first bit adding the bit of code to FORUMHOME, but i decided to leave the second bit. Was just too scary. :ermm:

Paul M
10-09-2005, 06:57 PM
Sorry, but IMO there is nothing vague about them.

PixelFx
10-09-2005, 07:09 PM
Sorry, but IMO there is nothing vague about them.

This hacked installed smoohtly and was very clear, thank you for keeping it updated.

Inferno Dragon
10-09-2005, 07:41 PM
Thanks for this nice hack :)

belindaj
10-09-2005, 11:06 PM
Thank you Paul - I am embarrassed I missed that simple instruction :cross-eyed:

Paul M
10-10-2005, 09:36 AM
How would I add my bot's name to the list of users in chat? It shows 1 user is in chat but there is no one listed. It would be nice to have the bot's name there. :)From post one.

Note: This hack cannot display the names of any bots in the chat, due to the strange ( & stupid) way that flashchat stores this information.

Colejo
10-10-2005, 09:43 AM
When I had this installed before I upgraded to 3.5.0 I thought there was a way to make it so that the bot did not count towards the number of users in chat. I don't remember how it was done though.

Paul M
10-10-2005, 10:07 AM
You are correct, there used to be an option to include/exclude bots, until I realised that you could not display their names even if they were included, and removed the option again. However, it does sort of make sense not to include them in the count, so maybe I'll add that part back. Thing is, some people will probably want to include them in the count still, so it really needs to be an option.

---MAD---
10-10-2005, 05:15 PM
You are correct, there used to be an option to include/exclude bots, until I realised that you could not display their names even if they were included, and removed the option again. However, it does sort of make sense not to include them in the count, so maybe I'll add that part back. Thing is, some people will probably want to include them in the count still, so it really needs to be an option.

paul, when i try to use admin commands on a user with a space in his/her name it doesnt work...any suggestions!?

Paul M
10-10-2005, 05:18 PM
paul, when i try to use admin commands on a user with a space in his/her name it doesnt work...any suggestions!?Um, not sure what that has to do with this hack but I would guess that you enclose the name in quotes.

---MAD---
10-10-2005, 05:19 PM
Um, not sure what that has to do with this hack but I would guess that you enclose the name in quotes.

ok thanks

Are you gonna add any more stuff on this hack?

Paul M
10-10-2005, 05:24 PM
Are you gonna add any more stuff on this hack?I don't really see what else I could sensibly add.

trackpads
10-10-2005, 05:43 PM
Where is the link to download Flashchat itself?

trackpads
10-10-2005, 05:44 PM
I don't really see what else I could sensibly add.

Hot Tubs, you can always add a hot tub :)

TripleOx
10-10-2005, 05:46 PM
Sorry, but IMO there is nothing vague about them.

I'm not getting at ya! I just don't understand the xml upload bit at all. I'll RTFM. :squareeyed:

EDIT: Right, still none the wiser :( Do i upload this from the Style Manager or the Plugins Manager?

Extract the XML file and import it into vBulletin as a product (using the ACP product manager).

If that isn't vague to someone who's never touched a vb hack like me, then i don't know what is.

I've enabled plugins manager. I've created a new product from the plugins manager. Called it your product id. Added the xml code in the box. Doesn't do a thing, please help. :tired:

Cornolio
10-11-2005, 02:54 PM
installed :)

Floob
10-11-2005, 08:33 PM
Does anybody have a link set up on their navbar to link to the chat?

Paul M
10-11-2005, 09:02 PM
Does anybody have a link set up on their navbar to link to the chat?Most people I would think.

mclark2112
10-12-2005, 12:46 AM
I don't see this in the ACP option anywhere. I've imported the product succesfully, but it doesn't add any options...ANy clue?

Paul M
10-12-2005, 01:44 AM
vbulletin options > forum home page options.

LittleBoy1
10-12-2005, 02:59 AM
Hi!
i installed the chat, but the users in the room don't coincide with the users in the chat list of the main page:surprised:
Help Me! :surprised:

Paul M
10-12-2005, 08:04 AM
Quite simply, you haven't done the integration of flashchat to vb - you are probably running flashchat in it's default stateless mode.

TripleOx
10-12-2005, 05:28 PM
What "Hook Location" do i need to set this plugin to?

Anyone know? :disappointed:

Paul M
10-12-2005, 06:08 PM
You don't, just import it and it sets itself.

RaceJunkie
10-13-2005, 01:18 AM
Any way to change
Members currently using Flashchat: to Chat Room?

Paul M
10-13-2005, 01:40 AM
Any way to change
Members currently using Flashchat: to Chat Room?Edit the phrase.

TripleOx
10-13-2005, 05:29 PM
I've sorted it at last. It was typically my error. Why's it always my fault.

Thanks for the script :)

nymyth
10-14-2005, 10:35 PM
Warning: Unknown: failed to open stream: No such file or directory in /index.php(63) : eval()'d code on line 2

I get this error when uploading the xml file ..... any ideas??

Peace

Paul M
10-14-2005, 11:14 PM
Warning: Unknown: failed to open stream: No such file or directory in /index.php(63) : eval()'d code on line 2

I get this error when uploading the xml file ..... any ideas??

Peace
Have you set this correctly ?

9. The location of the flashchat folder is now an ACP option.

nymyth
10-14-2005, 11:41 PM
^^thanks mate, didnt see that one....appreciate it

Peace

funinthesun
10-15-2005, 04:21 PM
Quick and easy to install. Works perfectly :)

Thank you

Wachtmeister
10-20-2005, 04:39 PM
I have a "," in front of my usernames... How can i fix this?

Paul M
10-20-2005, 05:45 PM
I would guess you have a bot in your chat.

It's a known issue due to the way bot names are stored. At the moment it will count the bot and try to display the name, even though it can't. It will be fixed when I do the next release.

Wachtmeister
10-20-2005, 07:28 PM
I don't use bots. I noticed, that the "," is gone now ;)

I'll keep an eye on it. Thank you

bobs409
10-21-2005, 11:47 AM
Can someone help, I'm getting this error:

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

Fatal error: (null)(): Failed opening required './chat/inc/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/n484092/public_html/forum/index.php(63) : eval()'d code on line 8

thanks,

Bob

Paul M
10-21-2005, 03:06 PM
Try looking up the thread, about 7 posts.

dgallek
10-21-2005, 04:26 PM
Since installing who-is-chatting, I have added a new usergroup. When I login as a member of this new usergroup, I do not see the Who's Chatting. If I login as one of the default vBulletin usergroups, I do see it.

How do I give this new group permissions to view the Who's Chatting?

the note at the top of this page say:
8. The ability to allow only certain usergroups to view the list is an ACP option.

but does not say where in the ACP that option is found

i've been looking thru the ACP but cannot find an option for allowing or denying access to the who-is-chatting info

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
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
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
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
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 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=98887).

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

<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" border="0" /></td>

i changed it to this if you dont mind

<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
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
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
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
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 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=73042) (so yes, 2.30 is the latest version for it).

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 defualtI'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

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.


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:

$chattersdesc $totalchatters

Replace with:

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

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

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
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
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.php?p=782246&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
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
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.

TIAEdit 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
Any way to get this to count bots as well?From the first post.


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
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
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
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 ?

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
Can you please clarify this? Clarify it in what way ? I don't think i could make it much clearer without actually writing it.

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
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
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
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?
ThanksBecause you haven't got the WOL plugin installed - it's part of the integration hack.

indie
11-30-2005, 02:48 AM
Doh! Thanks, great support.

007
12-04-2005, 02:27 AM
How would I put this number on a different page? The number in $totalchatters ?

dprice
12-05-2005, 09:30 PM
Everything works great! Thanks for a great hack!

Is there a way to manually clear USERS CURRENTLY IN FLASHCHAT?

I have over 30 users showing logged in to Flashchat and they are really not there.

Paul M
12-05-2005, 11:38 PM
I would guess you have a combination of ;

1. Quite a few FireFox users.

2. High values for the 'autologoutAfter' & 'autocloseAfter' settings [in the flashchat config file].

dprice
12-06-2005, 06:49 AM
I would guess you have a combination of ;

1. Quite a few FireFox users.

2. High values for the 'autologoutAfter' & 'autocloseAfter' settings [in the flashchat config file].

WHat should the settings be? Its not logging ANYBODY out.

I have tried playing with those values in the config file, which was a no go.

I also sent you a PM with some login details so that you could take a look and see if that behavior is normal.

007
12-06-2005, 08:36 PM
Can this number be made to show up in the Navbar? So a link that says "Chat (15)" etc?

Paul M
12-06-2005, 09:18 PM
@007 - Not without changing where it runs.

@dprice - I have sent you a reply.

zendiver
12-08-2005, 03:02 AM
Paul, I got a quick question, then I'll get out of your hair. Not sure which of your two threads to post this into, but seeing as how I got here first, this one will do. I have both of your easy to install hacks: Who Is Chatting & Whos Visited Today. Both are working as they should be with out any problems...so this is a cosmetic thing. Is there a way to have the Whos Visited Today on top rather than underneath Who is Chatting. I had first installed Who Visited Today and then WIS and it ended up on top, so I figured OK, I will do the install the other way, but no go....Is there a way to swap the two?

Thanks for all of your work...

Paul M
12-08-2005, 07:47 AM
IIRC, the last one installed will be top, so uninstall WVT and then re-install it (just re-installing over the top will not work).

zendiver
12-08-2005, 03:21 PM
No sir...that didn't work. I even unistalled both of them, then reinstalled in the order you suggested...WIC comes in above WVT. :(

In the previous version prior to 3.5, the latest install took priority, doesn't seem to be the case anymore. Any other suggestions? I know this isn't a bug, but it is more about me being anal about cosmetics and organization. I have that mentality as I do it all day long.

Thanks

gokke
12-08-2005, 05:15 PM
Hi

will this work whit phpchat ???

Best Regards Gokke

Paul M
12-08-2005, 05:57 PM
No sir...that didn't work. I even unistalled both of them, then reinstalled in the order you suggested...WIC comes in above WVT. :(

In the previous version prior to 3.5, the latest install took priority, doesn't seem to be the case anymore. Any other suggestions? There is no change in the class_hook code between 3.5.1 and 3.5.2, it runs them in the order it pulls them from the database, so as far as I can see the installation order should still affect this. There is still no other way to alter their execution order until this feature gets added to vb.

Paul M
12-08-2005, 05:58 PM
will this work whit phpchat ???No..

zendiver
12-08-2005, 08:28 PM
There is no change in the class_hook code between 3.5.1 and 3.5.2, it runs them in the order it pulls them from the database, so as far as I can see the installation order should still affect this. There is still no other way to alter their execution order until this feature gets added to vb.

I was referring to to versions priort to 3.5, sorry for not clarifing this. Well, I will see what I can do about changing things up some. I was just hoping that you may have ran into this before and had an easy fix.

dfdems
12-12-2005, 01:11 AM
Hello,

I am trying to keep my board as close to w3c valid as possible. I installed this (works great!) but it brings an error. No "alt" tag for the who's online image.

If it's OK with you (it's your hack) I would like to change the code on my installation

whos_online.gif" border="0"

to

whos_online.gif" alt="" border="0"

so it validates.

Paul M
12-12-2005, 02:35 AM
Sure, feel free. It will get added as a low priority update at some point anyway.

Reeftanksonline
12-13-2005, 12:56 PM
why does my users never get loged out , if they go to the chat room it keeps them active in the chat room for days??

Rickie3
12-15-2005, 09:44 AM
excellent thankyou *installs*

Paul M
12-15-2005, 04:27 PM
why does my users never get loged out , if they go to the chat room it keeps them active in the chat room for days??Search back in the thread - it's mentioned numerous times (user error / flashchat issue).

BiReL41r
12-16-2005, 07:56 PM
It says that I'm always in the Chat, yet I'm not...Bug?

Paul M
12-16-2005, 08:54 PM
It says that I'm always in the Chat, yet I'm not...Bug?I don't want to sound rude, but please read the rest of the thread. This has been covered so many times i'm fed up of answering it. :)

lifesourcerec
12-17-2005, 02:31 PM
How can I move the table from the bottom to the top of forum home page?

susie_in_texas
12-17-2005, 04:28 PM
I have installed and I can see this on my site... the problem is when members login it disapears. As long as you are not loged in or an Admin you can see it...how do I make it so everyone can see it?

Paul M
12-17-2005, 04:49 PM
I have installed and I can see this on my site... the problem is when members login it disapears. As long as you are not loged in or an Admin you can see it...how do I make it so everyone can see it?Did you read the first post ?
8. The ability to allow only certain usergroups to view the list is an ACP option.

susie_in_texas
12-17-2005, 06:27 PM
ACP... AdminCP? If so I sure as hell dont see it.

Paul M
12-17-2005, 06:33 PM
vBulletin Options > Forums Home Page Options

cbr929rrerion
12-19-2005, 09:56 PM
** clicks install ** It don't get easier than that !

lifesourcerec
12-21-2005, 07:32 AM
How can I move the table from the bottom to the top of forum home page?

Anyone know how to do this?

CommanderDEUX
12-25-2005, 11:36 PM
It wont work. Whenever I try and run it, it gives me an error like this:

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

Fatal error: (null)(): Failed opening required './chat/ch/inc/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/schafe/public_html/forum/index.php(63) : eval()'d code on line 21

Hmmm... maybe one of you could PM me about this.

The "location of FlashChat" is shown as "chat"

and it is uploaded at www.mywebsite.com/chat/inc/config.php

Help would be appreciated (as a PM please)

redspider
12-26-2005, 07:06 PM
I got same problem I using flashchat 442 and vbulletin 3.5.2
flash chat work till I run the plugin from this hack and I get this error





Warning: Unknown(./chat/inc/config.php):
failed to open stream:
No such file or directory in /index.php(66) :
eval()'d code on line 44

Fatal error: (null)(): Failed opening required
'./chat/inc/config.php'
(include_path='.:/usr/local/lib/php')
in /home/www/mydomain.com/
forums/index.php(66) :
eval()'d code on line 44






can someone help?

Paul M
12-26-2005, 08:39 PM
can someone help?What is the url of your forum and chat ?

redspider
12-26-2005, 09:43 PM
What is the url of your forum and chat ?


http://www.devilsreaper.com/forums/

http://www.devilsreaper.com/forums/Flashchat/
this are the url

Paul M
12-26-2005, 09:47 PM
Have you set the chat location to "Flashchat" in the hacks ACP setting ?

(Those errors would suggest not).

redspider
12-26-2005, 09:52 PM
Have you set the chat location to "Flashchat" in the hacks ACP setting ?

(Those errors would suggest not).
no I dont remeber doing that .

where I can do this ? I looking in the flash chat admin cp and cant see that option .

thank you for your help.

update got it to work thank you .

Paul M
12-26-2005, 10:03 PM
update got it to work thank you .Okay.

FYI anyone else - it is mentioned in the main post ;

9. The location of the flashchat folder is now an ACP option (vBulletin Options > Forums Home Page Options).

wtrk
12-26-2005, 10:38 PM
how can i make the "Users chatting in flashchat" (or whatever it says) into a link to flashchat?

Paul M
12-26-2005, 10:43 PM
wtrk you are not showing as having this installed.

AWI
12-27-2005, 05:42 AM
Any idea on how to show in the postbit that the user is in chat?

indie
12-28-2005, 09:28 PM
Now I am posting in the correct thread:

Any chance of making this a CMPS module? I have a module already but it's not as good as this mod, it doesn't have musername and it's in an iframe which is really annoying. I tried putting this code in a module, but no go. I guess it only works on FORUMHOME.

Thanks

Paul M
12-28-2005, 09:37 PM
Not by me, I don't use CMPS. Maybe someone else can do it, and attach it to a post, I will put a link in the first post if they do.

SlimWicked
01-04-2006, 07:27 PM
Hi everyone!

Does anyone know how you can place the "Who is chatting" box at the top of the forum as well? Mybe right below the nav bar? Can this be done? I'm frying my brain trying to figure this one out. :confused:

matt3830
01-05-2006, 03:23 PM
How can I uninstall it?

Paul M
01-05-2006, 03:47 PM
With the product "uninstall" option.

matt3830
01-05-2006, 04:28 PM
I disabled the plugin. But I'm not sure how to remove the 'who's chatting' box at the bottom of the forum.

Paul M
01-05-2006, 04:43 PM
I take it you have an old version then ?

matt3830
01-05-2006, 06:32 PM
Yes, I think I do. I actually kind of forgot about it. Is that 'who's chatting' at the bottom of the forum in a template somewhere?

Paul M
01-05-2006, 07:22 PM
In versions prior to 4.10 it is in the FORUMHOME template.

paulmjno
01-07-2006, 12:08 AM
The chatters list doesn't seem to display users who have a post count of 0.

Paul M
01-07-2006, 03:35 PM
There is no check on the number od posts someone has.

GrendelKhan{TSU
01-10-2006, 02:38 AM
anyone know of a conflicting plugin?

I installed with no issues...but it just doesn't appear at all for my main skin.

It seems to work when I view it in my old original skin....but not for my main one (which has several forumhome plugins/edits). what would cause it to just NOT appear?



=========
ps. I realize covering custom skin eccentricities is not the scope of your responsibility, but just wondering if you might be able to point me in the right direction of what may cause conflict or someone had a simliar experience that they were able to fix.

great hack and much appreciated for your volunteered work. :)