![]() |
Works now, but the avatar function isn't quite right. People with avatars are showing up as the noavatar thing
|
mysql_fetch_array(): supplied argument is not a valid MySQL result resource in ...../forum/index.php on line 514
(das ist die line 514 in meinem index.php) $count = mysql_fetch_array(mysql_query($query_chatonline)); |
Just realised it only works if the avatars are in teh database, whereas I use a file based system. Hang on and I'll think of a way round that.
|
Oh, sorry for talking german!
I installed it and get the following error message: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in ...../forum/index.php on line 514 where line 514 is this one: $count = mysql_fetch_array(mysql_query($query_chatonline)); |
@karlogaga: is the flashchat dbtable in the same database as the forum? your error sounds to me, that the query cannot find the "connections" table of your flashchat table. or do you use a prefix on the flashchat table?
I forgot to implement this in the php because i do not use a prefix. If you use one. please change the Quote:
Quote:
I will put it in the next version |
thanks, i just found it myself, and i put the prefix before "connections".
I also did it for "users", is that correct? Quote:
|
..like this:
//Get the username for each chatter $show_username= $DB_site->query("select username from vb3_user where userid=".intval($val)); where vb3_ is the prefix... |
Quote:
here again: Quote:
if you have also a prefix for your vbulletin board: Quote:
|
Quote:
@keeper: thx I will have a look at it later. now i have to go shopping:/ |
Ok I looked at my code, and this appears to work fine now for both flat files and database:
Code:
// ### HACK FOR WHO'S CHATTING |
All times are GMT. The time now is 09:26 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|