vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Flashchat: Who is chatting (https://vborg.vbsupport.ru/showthread.php?t=73042)

dsboyce8624 06-24-2005 02:29 AM

Quote:

Originally Posted by Paul M
um, setting the module identifier is in the instructions ....

HRm I must be losing my mind.

Oh well, reading the whole thread gave up the info I needed so either way I got it.

digidivakathy 07-07-2005 10:17 PM

Hey, Paul...Last night I saw someone in the chat who wasn't there. When I looked at the db table today, they weren't even in the flashchat_users table. I apparently accidentally installed this in stateless CMS mode because the generic password worked for the admin panel (I've since changed the password), but my admin userid and password from the forums didn't. Anyway, any ideas what's going on?

Thanks!
Kathy

Paul M 07-07-2005 11:33 PM

Kathy, you are not showing as having this installed, please click the link.

FYI - it won't work correctly unless you have it integrated - in stateless mode FC just assigns sequential userids to each new chatter, starting from 1 when you first install it.

Deepdog009 07-08-2005 12:04 AM

Reading Helps, I fix my problem after reading all those dog gone posts. Im a getting better at it. My first days tho were hell. do U fill me? :tired:

./Flash <....

digidivakathy 07-08-2005 12:06 AM

Sorry, Paul...I just clicked on install. I reinstalled it and am waiting to see if all is well. It's working for me and showing me in chat, so hopefully it's a go.

Thanks!

Paul M 07-08-2005 11:09 PM

FYI, the older hack version 2.00 has been withdrawn, if you are still using an old version of Flashchat (3.9.x) then you can use version 2.20. If you have an older version than 3.9.x then I suggest you upgrade. :)

digidivakathy 07-12-2005 03:37 AM

Ummm...a question, Paul? When I installed this, I completely skipped step 3 and it was still working wonderfully. After reading about buggy smilies in FlashChat, I upgraded to 4.0.12 and when I simply deleted old flashchat files and replaced them with new, I got a My SQL connect error...sorry, I can't tell you precisely what it was, something about couldn't connect with user name and password file inc/db.php. Anyway, since this message is coming from the forums home page, I didn't know if it was related to this hack or if it's a flashchat issue, but I figured I'd just ask both places. I undid the upgrade and am back to 4.0.9 and the message is gone, but I just don't know where to look for the problem.

Thanks!

Paul M 07-12-2005 03:08 PM

Theres not really much I can tell you unless i see the error.

Step 3 makes sure you can connect to the correct tables in your database - did you make sure that the "pref" setting is correct in both versions - by default (in the downloaded FC 4.0.12 files) it is probably wrong. What is it set to in your 4.0.9 config.srv.php ?

digidivakathy 07-12-2005 04:04 PM

Thanks, Paul. It's set to _fc_ in both files. Maybe late tonight, I'll put it back in long enough to copy the error message so you can see exactly what it says.

paul41598 07-13-2005 11:03 AM

does anyone know why that if your in flashchat, your board runs sloooow. Its like you cant be in flashchat and on your forums at the same time, otherwise your internet seems like a 56k or something. Then once you log out of flashchat, your forums fly when you maneuver around them? Weird...

Paul M 07-13-2005 04:43 PM

Why have you posted this exact question in two of my threads - it has nothing to do with my hacks.

arob42 07-15-2005 04:58 PM

I've integrated flashchat with vbulletin 3.0.3 and I'm adding this hack, but after step 1 in the instructions where index.php is modified, I upload and refresh my forum page and see the following at the top of the page.
Code:

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

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

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

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

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

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

Is it trying to access my vbulletin database using arob42 as my userid? This is only part of my userid, but it has been truncated. Anyone know what might cause this? Shouldn't the userid be fetched from config.srv.php?

Also, does this even work with 3.0.3?

Thanks,
--Robert

Paul M 07-15-2005 06:42 PM

Quote:

Originally Posted by arob42
Shouldn't the userid be fetched from config.srv.php?

No, if it's integrated correctly, the userid, password and database are pulled from your vB config.php.

Those errors are from the flashchat code, not vB. What version of Flashchat are you using, and which CMS file ?

arob42 07-16-2005 02:55 AM

I'm using flashchat v4.0.12 and vbulletinCMS.php. I've modified the vbulletinCMS.php file with my license number, and I removed the 2 blank lines at the end of the file. I verified that when I'm logged into my vbulletin forum I enter straight into the chat room, and when I'm logged out I am prompted for my username/password when accessing chat. It will take my vbulletin username/pass at this point and I'm back in chat. My chat directory is located at my forum root, as per instructions, not the website root. I removed the flashchat databases and reinstalled everything but still get the same result. It's probably something stupid I'm doing but I don't see it yet.

Paul M 07-16-2005 04:21 AM

Sorry, but I would need to access your server files to see what is going on - it makes no sense at all.

wattieuk 07-16-2005 12:56 PM

<font color="SandyBrown">Deleted: solved it!</font>

Paul M 07-16-2005 08:04 PM

Quote:

Originally Posted by arob42
I'm using flashchat v4.0.12 and vbulletinCMS.php.

I don't know why 4.0.12 has caused this to happen for some people - but there is no requirement for that bit of code to actually be called, it's just a side effect of calling the flashchat common.php - I have altered the code to avoid this now anyway, new version v2.25 uploaded. :)

digidivakathy 07-25-2005 02:11 AM

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

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

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

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

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

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

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

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

Thanks!

Paul M 07-25-2005 12:11 PM

See the post above yours, replace your code with v2.25 and hopefully the problem should go away. :)

unknowngiver 07-29-2005 11:49 AM

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

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

in the navbar template

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

Paul M 07-29-2005 07:17 PM

The code is located in index.php, so it will only generate the list on the forumhome. You would need to install the hack code elsewhere to have it on all pages. This is discussed earlier in the thread - starting about here.

derekivey 08-05-2005 12:46 AM

For some reason it doesn't show the name of the bot thats in the room, it just shows a blank space. Any ideas on what is wrong?

Paul M 08-05-2005 01:09 AM

Hmm, yes ......

It's never going to show their name - as its not stored anywhere except in a text file .... what a daft system.

Sorry, but I suggest you set $showbots = false; in the hack code as it's never going to work. I'm going to remove that bit for now as it cannot query a database to get the information.

I'll look at it sometime after my holiday to see how easy it is to get the data from the text file it uses, but it may just end up that bots will not be displayed by name, just called "bot", or possibly something like "Users currently in the Chat: 4 (Members: 3, Bots: 1)" with just the list of members.

derekivey 08-05-2005 01:10 AM

Ok No Problem, I'll just do that.

LTW 08-05-2005 08:19 AM

Paul M ... thank you for this ... i've clicked install.

I have a question / request ... i hope it's not already been asked, as i've not read every post in this thread ... but ...

I'd like to know if you can help me put the online chatters in the header? I'm currently using Chen / Erwin's Online Users Mod, which does this for the online users. I'd like for my chatters to be listed up there too. I'd like it setup exactly as you have it below, only displayed above as well.

Is this possible ... can you help me?

Thanks a Bunch.

LTW

Paul M 08-05-2005 01:36 PM

Drop me a PM and I'll look when I return from holiday - I don't have time before.

Prisoner 08-11-2005 02:40 AM

I get the following error when I tried to install this.
Quote:

Warning: main(./chat/inc/config.php): failed to open stream: No such file or directory in /index.php on line 299

Fatal error: main(): Failed opening required './chat/inc/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rwalker/public_html/forum/index.php on line 299
Anyone have any ideas? The forum and chat directories are at the same level...ie. /public_html/chat and public_html/forum.

Thanks!

Prisoner 08-11-2005 10:19 AM

I got it to work by changing"
PHP Code:

require_once("./" $fcfolder "/inc/config.php"); 
require_once(
"./" $fcfolder "/inc/config.srv.php"); 

to
PHP Code:

require_once("/home/rwalker/public_html/" $fcfolder "/inc/config.php"); 
require_once(
"/home/rwalker/public_html/" $fcfolder "/inc/config.srv.php"); 

Was this a sound fix, or is there a better way?

sinoeu 08-15-2005 09:16 PM

Quote:

Originally Posted by Paul M
Well it took me a few minutes to figure out your mistake, but the small snippet of code finally gave it away.

You have put the hack code in the wrong file. It goes in vB's index.php - you appear to have installed it in flashchat's index.php.

There's no mistake like that in my case. But I still have no name display under the total chatters number display. However, when there's nobody in the chatroom, there is a display of "No one is currently using the chat" under the "Members currently in the Chat: 0" :disappointed:

who can tell me why? I am using FlashChat 3931 under vbb 3.07

Paul M 08-20-2005 06:58 PM

Sorry, but 3931 is a very old version of Flashchat, I have no idea if this is still compatible with it.

JoyB 08-30-2005 07:22 PM

Hi

Is this hack compatible with 3.5 RC2 as I seem to be having problems?

Joy :)

Paul M 08-30-2005 08:55 PM

Not this version - there is a 3.5.0 plugin here;

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

JoyB 08-31-2005 08:12 AM

Thanks very much, Paul :)

geoff4787 09-29-2005 07:34 PM

I get an error on my index.php when I paste that code above the // ### LOGGED IN USERS #########################################


The error says this:
Quote:

Fatal error: Call to a member function on a non-object in /home/global/public_html/index.php on line 317
Any clue as to what is wrong?

geoff4787 09-29-2005 08:14 PM

Nevermind, I fixed that but I got a new error I need to post on the 3.50 thread for this.

Paul M 09-29-2005 09:13 PM

Quote:

Originally Posted by geoff4787
Any clue as to what is wrong?

Judging by you next post I would say you are installing the wrong version, this is for 3.0.x :)

Paul M 10-21-2005 04:16 PM

Are you sure you are in the right topic, there is no such facility in this (3.0 version).

Paul M 10-21-2005 04:21 PM

Quote:

Originally Posted by dgallek
isn't this the Flashchat: Who is chatting area?

Only for vb 3.0.9 (or older).

netrosearch 10-23-2005 01:06 AM

Well, I did the the install but this is what I get:

Fatal error: Call to a member function on a non-object in /home/savetheo/public_html/orcaclub/communitypod/index.php on line 316

Any ideas? Copied everything as it was listed in the instructions and checks all the variables.

Paul M 10-23-2005 02:55 AM

Check Step 3, are you sure the prefix in config.srv.php is correct ?

Edit: Actually, you have also posted in the vb3.5 integration thread, you do realise that this hack is for 3.0.x, not 3.5.0 ?


All times are GMT. The time now is 02:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01446 seconds
  • Memory Usage 1,831KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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