vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   FREE zz:FlashChat Drop in Flash Animated Chat Integration (https://vborg.vbsupport.ru/showthread.php?t=64907)

x3n0 05-08-2004 10:00 PM

FREE zz:FlashChat Drop in Flash Animated Chat Integration
 
No modifications to your existing forums!

This single file enhancement allows one to seamlessly integrate vBulletin 3 with Nik's awesome FREE zz:FlashChat PHP/mySQL Flash based GUI chat. zz:FlashChat supports flash smiley events, MP3 sound/music events, and flash animation events, private messages, admin login, and configurable reduced moderator login.

Online demo of integration is at (registration required - Try U: goner P: goner):
http://myganjagrow.com

Naturally registration is required to see the chat. No email verification is used so you remain anonymous at my counter culture adult oriented site. Use a fake email addy if you please.

Obtain Nik's zz:FlashChat 3 beta 1.1 at: http://download.zehnet.de/ZZ_FlashChat_3_%5bbeta1.1%5d/

Install zz:FlashChat as per Nik's included instructions. The install need not reside within your forums tree. The database tables can also be added to your existing vB database and need not reside in a separate database. I cannot provide support for zz:FlashChat.

Obtain my vbulletin integration at: http://myganjagrow.com/download/zzchat_3_add_ons.rar

UnRAR the integration file "member.php" and edit all the paths to reflect where you installed vB and zz:FlashChat. Save and upload to your zz:FlashChat directory. Calling this script from within vbulletin will use the existing vB security to only allow registered vB members to join your chat. Chat member info is encrypted while in chat. Logged out/Unregistered users will be redirected to your forum registration page. Javascript pop-ups can be used to call the chat script. Index.php and login.php should be deleted from the chat directory to prevent back doors from remaining open.

I've also included a script that can enable you to display "Who's in Chat?" from any other vB page by calling users.php from the chat directory. I use it in the left sidebar at my forumhome: http://myganjagrow.com/forums/index.php

Please give me feedback and URLs if you install this. I'll try and work out the inevitable bugs.

Fluous 05-09-2004 12:15 PM

I registered a username that you can all use so you wont have to register. Its

Goner / goner

The chats only OKAY

x3n0 05-09-2004 12:22 PM

You didn't even try the animated actions. Just one sound byte.

SpeedStreet 05-09-2004 01:01 PM

Quote:

Originally Posted by x3n0
You didn't even try the animated actions. Just one sound byte.

Looks fine...a nice simple chat program.

Can you give us a heads up as to how to customize it a bit? I don't see anything in the documentation about animations...nor how to change the colors of the thing.

Nice work.

pjdaley 05-09-2004 01:40 PM

good job man

x3n0 05-09-2004 01:47 PM

There's a color picker and event configurator in the admin section of the chat. Events can be accessed from within chat by the dropdown menus or command line.

[H]Dazz 05-09-2004 02:03 PM

Ooo, this works from behind a firewall as well... Very nice.

Intex 05-09-2004 02:23 PM

Looks great x3no - will add to my list of installs to do. Good job :).

[H]Dazz 05-09-2004 02:46 PM

/me clicks install.

Very easy to install and get seup... I'm pretty impressed.

Is there a chat similar to this that would be able to interface with an existing IRC channel on a specific server? All the ones that I've seen can't work from behind a firewall.

kyrnel 05-10-2004 08:13 PM

Is it possible to display how many users are in chat on ForumHome (or in navbar) with this chat script?

Rampag33 05-10-2004 08:51 PM

Finally a great simple chat. I looked at the demo of the devlopers site instead of your online demo to get an idea, it was simple but still very nice

x3n0 05-10-2004 09:37 PM

Krynel, if you download the RAR archive from the link in my first post you'll see that I've included a Who's Online script. Simply removing the query that pulls the usernames for the list will show only the number online.

kyrnel 05-10-2004 09:46 PM

Cool, thanks!

SaN-DeeP 05-11-2004 12:04 AM

download link for chat is dead or down ??
can u post it on this forum. ?

Thnx.

gmarik 05-11-2004 11:02 AM

the design s@@$@# is it really so?

x3n0 05-11-2004 08:39 PM

The look and feel of zz:FlashChat 3.0 beta is completely customizable, depending on your macromedia flash and php skills. I'm providing a nice fast download link for those of you that can't reach the german site:

http://MyGanjaGrow.com/download/ZZ_F...[1].1].zip

Remember I didn't write the chat and cannot support anything other than the vB integration. Support for the chat is provided at:

http://download.zehnnet.de

Remember it's free, easy, and it works well with minimal bandwidth usage - typically less than 2K/sec per chatter.
Thanks.

U-Dox 05-12-2004 02:02 AM

"Call the file 'installation.php?manual=1' ! Fill in the required fields and press submit.
The textfield on the next page shows up all sql-commandes needed to be triggered in your mysql-databse"

i dont understand what that means. can someone help me

Xenon 05-12-2004 10:50 AM

@x3n0:
you have to attach the files of this hack to the first post. You are currently breaking the rules, and we will delete the thread, if you won't follow em.

thx
Xenon

rinkrat 05-14-2004 05:37 AM

I've got the chat running, but how do I connect it to VB? I log into member.php but I'm not getting the vb around it like on your page.

x3n0 05-14-2004 08:57 PM

You'll need to customize the HTML included in member.php or use the template system.

Okiewan 05-18-2004 10:19 AM

For $5 this flash based chat SMOKES the one in this thread and integrates with the member database easily (the author provides the info for vb integration). I've used it for a month or so and my members love it.
http://www.tufat.com/script.php?script=chat

ogetbilo 05-18-2004 11:21 AM

Is there a way of showing who is on the chat in the 'Who is online' page?

Sting 05-20-2004 02:20 PM

yea i need help too, how do u "call" the script?

x3n0 05-20-2004 09:40 PM

"Calling" the script means browsing to it from your favorite web browser. For example:

http://www.Your-Domain.com/YourChatP...stallation.php

Every time you click on a PHP link you are "calling" or "running" one or another PHP script parsing files, which, in turn, dynamically creates an HTML page for you. Just like when you did your original install of vB, unless of course you have an illegal copy. That's why php install files must be deleted after use, they can reveal far too much about your setup.

ogetbilo 05-20-2004 11:53 PM

x3n0

do you know of a way of displaying who´s in chat in ´who is online page´?

NuclioN 05-22-2004 08:34 PM

Can someone make the chat so it looks and behave as the shoutbox? There is a big advantage because of the instant refresh when text is typed. All loggedin members will then shoot trough the loginsection of this chat and can talk instantly on forumhome. :)

danbc 05-23-2004 08:06 AM

Nice hack, but the Vbulletin intergration addon is not downloadeble :(

x3n0 05-24-2004 10:16 PM

Sorry some DNS work made the link unrereachable yesterday. I guess that's why Xenon reminded me that the code must be attached to the first post. The Member.php attached to the first post is what you need, or you can follow the link I provided for an alternative download as it is working again.

As for showing the chat users in "Who's Online" - Chen's hack should do the job nicely:

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

EDIT: Opps Chen's hack is for version 2. Anyone know of a similar hack for vB 3?

x3n0 05-24-2004 10:21 PM

Quote:

Originally Posted by NuclioN
Can someone make the chat so it looks and behave as the shoutbox? There is a big advantage because of the instant refresh when text is typed. All loggedin members will then shoot trough the loginsection of this chat and can talk instantly on forumhome. :)

I like this idea! Boy would it increase the forumhome pageviews alot. I remember seeing a hack out there that lets you include flash on forumhome. It would be simple work to make that chat look like an embedded shoutbox by changing the look. Gears are starting to turn....

ogetbilo 05-25-2004 04:53 AM

Quote:

Originally Posted by x3n0
Sorry some DNS work made the link unrereachable yesterday. I guess that's why Xenon reminded me that the code must be attached to the first post. The Member.php attached to the first post is what you need, or you can follow the link I provided for an alternative download as it is working again.

As for showing the chat users in "Who's Online" - Chen's hack should do the job nicely:

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

EDIT: Opps Chen's hack is for version 2. Anyone know of a similar hack for vB 3?

Chen said he is not going to port his hack to vB3.

Can tell me how you used your users.php (to see who's on chat) on your Home page?

x3n0 05-25-2004 07:27 AM

<?php
## """"" INCLUDE """"""""""""""""""""""""""""""""""""""""""""
include('./config/database.php'); # Read Database-Variables
## """"" INCLUDE """"""""""""""""""""""""""""""""""""""""""""
switch(false){
case($db = @mysql_connect($cfg['server'],$cfg['user'],$cfg['password'])):
$mysqlERROR = mysql_error();
break;
case($dat = @mysql_select_db($cfg['database'],$db)):
$mysqlERROR = mysql_error();
break;
}
if(!$mysqlERROR) {

## """"" INCLUDE """"""""""""""""""""""""""""""""""""""""""""
include('./inc/func.get_config.php'); # Read Configuration-Data
## """"" INCLUDE """"""""""""""""""""""""""""""""""""""""""""
}
# $sql = 'SELECT * FROM zz_user WHERE user!=\'admin\' and status=\'0\''; # -- get user currently online
$sql = 'SELECT * FROM '.$cfg['userdat'].' WHERE status=0';
$result = mysql_query($sql, $db);
$number = mysql_num_rows($result);
//No Users Online
if ($number==0)
{
$number= "No users in chat";
echo $number;
}
//Users Online
else
{
$message = "$number users in chat:";
echo $message;
echo "<p>";
for ($i=0; $i<"$number"; $i++)
{
$row=mysql_fetch_array($result);
$id=$row[2];
echo "$id<br>";
}
echo "<p>";
}

mysql_free_result($result);
?>

x3n0 05-25-2004 07:39 AM

Thats the SQL query to pull the usernames from the chat data tables. Then I used the following code in my sidebar template to create the collapsable stat:

<!-- WHOS IN CHAT -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('who_chat')"><img id="collapseimg_who_chat" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
Who's in Chat?
</td>
</tr>
</tbody>

<tbody id="collapseobj_who_chat">
<tr>
<td class="alt1" width="100%"><div class="smallfont">$chat_users</a></td>
</tr>
</tbody>

<!-- /WHOS IN CHAT -->

x3n0 05-25-2004 07:44 AM

Finally the following code MUST be added to the phpinclude_start template:

ob_start();
require("http://Your/Chat/Path/users.php");
$chat_users = ob_get_contents();
ob_end_clean();

Should work then.

ogetbilo 05-25-2004 09:33 AM

thank you x3n0 :)

:applause:

lemarsu 06-04-2004 03:14 PM

Hi
can someone help me please ?

Did any one try to add users online to the vBindex "vbindex_customblocks" ?

I added to phpinclude_start
Code:

// Chat
ob_start();
require("http://www.ukmonster.co.uk/chat/users.php");
$chat_users = ob_get_contents();
ob_end_clean();

and to one of the vBindex "vbindex_customblocks"
Code:

<!-- WHOS IN CHAT -->
Who's in Chat?
<div class="smallfont">$chat_users</a></div>

<!-- /WHOS IN CHAT -->

but I still get this error :

Code:

Warning: Unknown(): stream does not support seeking in /home/ukmonste/public_html/monster/global.php(395) : eval()'d code on line 10
3 users in chat:


ashley53680 06-05-2004 08:23 PM

Quote:

Originally Posted by x3n0
<?php
## """"" INCLUDE """"""""""""""""""""""""""""""""""""""""""""
include('./config/database.php'); # Read Database-Variables
## """"" INCLUDE """"""""""""""""""""""""""""""""""""""""""""
switch(false){
case($db = @mysql_connect($cfg['server'],$cfg['user'],$cfg['password'])):
$mysqlERROR = mysql_error();
break;
case($dat = @mysql_select_db($cfg['database'],$db)):
$mysqlERROR = mysql_error();
break;
}
if(!$mysqlERROR) {

## """"" INCLUDE """"""""""""""""""""""""""""""""""""""""""""
include('./inc/func.get_config.php'); # Read Configuration-Data
## """"" INCLUDE """"""""""""""""""""""""""""""""""""""""""""
}
# $sql = 'SELECT * FROM zz_user WHERE user!=\'admin\' and status=\'0\''; # -- get user currently online
$sql = 'SELECT * FROM '.$cfg['userdat'].' WHERE status=0';
$result = mysql_query($sql, $db);
$number = mysql_num_rows($result);
//No Users Online
if ($number==0)
{
$number= "No users in chat";
echo $number;
}
//Users Online
else
{
$message = "$number users in chat:";
echo $message;
echo "<p>";
for ($i=0; $i<"$number"; $i++)
{
$row=mysql_fetch_array($result);
$id=$row[2];
echo "$id<br>";
}
echo "<p>";
}

mysql_free_result($result);
?>

so this whole thing is a query you need to do in sql? (I am still learning lol)

Bounce 06-06-2004 03:09 AM

firstly how do you put a header and footer in,

then i need to intregrate into vb 3 RC 4,wot files do i need to edit please.

Also like the feature of guest havin to register, how do i do that as well :squareeyed:

Once ive done all that be Ideal for my site :rolleyes:

Bounce 06-08-2004 09:33 PM

Ive added the events,pretty cool, but looking at the attached images on first page it shows a events bar

any idea how i get this showing

Bounce 06-08-2004 09:44 PM

Quote:

Originally Posted by x3n0
Finally the following code MUST be added to the phpinclude_start template:

ob_start();
require("http://Your/Chat/Path/users.php");
$chat_users = ob_get_contents();
ob_end_clean();

Should work then.


i'm getting this


Warning: Unknown(): stream does not support seeking in /home/virtual/site5/fst/var/www/html/forum/global.php(388) : eval()'d code on line 8

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/forum/flashchat/users.php on line 22
No users in chat
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/forum/flashchat/users.php on line 44

lemarsu 06-10-2004 12:47 PM

Quote:

Originally Posted by hIBEES
i'm getting this


Warning: Unknown(): stream does not support seeking in /home/virtual/site5/fst/var/www/html/forum/global.php(388) : eval()'d code on line 8

This part is the same as what I get...
I don't see where Chat calls global.php!! :ermm: :rolleyes:

Help I want this to work

I am sure you did ..... but did you change this line : require("http://Your/Chat/Path/users.php");


All times are GMT. The time now is 04:47 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.01445 seconds
  • Memory Usage 1,839KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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