News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

FlashChat Integration

Started by Tyrsson, January 05, 2007, 03:44:53 AM

Previous topic - Next topic

dooie

Quote from: MESWEB on May 16, 2012, 07:37:39 AM
Updated version to 2.0.2 can anyone test this update??
I have XP 64 Pro + Xampp beta and I need restart winsock  to reboot every couple days.

I uninstalled the other version that required an emulator.
I installed your version for SMF 2.0.2 and it worked like a charm. You still need FlashChat version 4.7.12 though for proper integration. FlashChat 6.0.8 will not work with this mod.
I still have the same issue as before however, the (Show number of users on Chat button?) still does not work with the default theme of SMF 2.0.2
The other FlashChat Configuration settings in admin panel do work.

Could someone work on getting the (Show number of users on Chat button?) feature working for this default theme.

Cheers.

Realinfo

12.    Execute Modification    ./chat/inc/cmses/smfCMS20.php    File not found
   13.    Execute Modification    ./chat/inc/flashChatTag.php    File not found


How this issue can be solved..............

dooie

#1602
***IMPORTANT***  A quick few things before you start.

This is FlashChat 4.7.12 install and integration instructions for SMF 2.0.2 in Default theme (Curve) only. Download FlashChat ver. 4.7.12 from www.tufat.com

You need to remove all the old Flashchat files from your database from previous installations before you start or this will not work.
***First create a database backup***
In your Control Panel/Databases/PhPMyAdmin/"YourDatabaseName"  go to your Structure tab and select all files with the prefix smf_fc_
go to the bottom of the page and select "Drop" you will be asked for confirmation to delete these database files.

upload via FTP, FlashChat version 4.7.12 in Binary Mode Only into your Forum directory. After installation you need to add more files.

Once you have successfully installed FlashChat 4.7.12, you need to upload the following to your chat directory to change the needed files. attached file FlashChat4712.rar will add ./chat/inc/cmses/smfCMS20.php and other required files.

After FlashChat has been successfully installed go to ./chat/inc/cmses/ and remove everything except the following files...
./chat/inc/cmses/.htaccess
./chat/inc/cmses/smfCMS.php
./chat/inc/cmses/smfCMS2.php
./chat/inc/cmses/smfCMS20.php


A word of Caution, some of the included CMS integration files in ./cmses had a backdoor vulnerability which is why it is important to remove them after successful install. Especially files for aedating.

After Flashchat has been fully installed, you can use the Integration mod for SMF 2.0.2 provided by MESWEB with the file named FlashChatSMF_v2.1.2.zip attached below.

This all worked for me, just make sure you follow all the steps.

Cheers.

Realinfo

13.    Execute Modification    ./chat/inc/flashChatTag.php    File not found
From where we get above file.............

dooie

Quote from: Realinfo on June 03, 2012, 11:10:11 PM
13.    Execute Modification    ./chat/inc/flashChatTag.php    File not found
From where we get above file.............
You get it from a fully installed FlashChat version 4.7.12. If you have error 13.    Execute Modification    ./chat/inc/flashChatTag.php    File not found, you have not installed the FlashChat before executing the integration modification.

If you follow all of my instructions to the letter in my previous post, it will work for you. You had Version 6.0.8 of FlashChat installed, if you did not drop the smf_fc_ database files and the whole chat directory for the previous version before installing FC 4.7.12, this will not work.

It worked for me and I had everything you had before today.

Cheers.

Realinfo

Ok.............. and that Flash Chat I need to BUY first in $5.............. and then this 2.1.2 MOD can help me in integration..............

dooie

Quote from: Realinfo on June 04, 2012, 04:01:26 AM
Ok.............. and that Flash Chat I need to BUY first in $5.............. and then this 2.1.2 MOD can help me in integration..............

Yes, that is correct.

Sandmansa

I don't suppose SMF 1.1 will get the same treatment?  ie: updated plugin.

Matthew K.

I am actually considering updating this within the next couple weeks, assuming Tyrsson is still okay with that.

Sandmansa

One more question.  Does flashchat 4.7.12 work with the latest version of php?  Because I was informed by my host that it won't and they forced me to update my flashchat to 6.0.8.

Matthew K.

I'm not sure...you'd be better off addressing that question in the Tufat community.

Sandmansa

Oh yeah..... them.  I would have better luck finding Jimmy Hoffa over there before any Tufat staff.  LOL  Thanks anyway.

Matthew K.

Tufat staff have always been helpful to me...I wish you luck :)

dooie

I do not know what the latest version of PHP is, but my server is running PHP version 5.2.17 with a Build Date of Jan 21 2012 02:24:36 and FlashChat version 4.7.12 runs without issue on my forum.

Cheers.

Sandmansa

Please correct me if I am wrong but I believe the latest version of PHP is v5.3.6.  At least, that is what is on my server anyway.

dooie

I am running SMF 2.0.2 Default Curve theme with FlashChat version 4.7.12. I tried it in Core Theme as well and still not working. Is there something with the coding that is preventing this from behaving the way it should?
I have integrated FlashChat with the integration mod but I am curious why even though the code is there in the menu to display the number of users in the chat on the chat button in the menu bar. Instead of just saying "Chat", it should say something like "Chat [2 Users]" (assuming 2 users are in the chat) however this is not working while members are in chat.

The code in the menu is this
//Start FlashChat integration
'chat' => array(
    'title' => $txt['fc_chat'],
    'href' => $scripturl . '?action=chat"', (!empty($modSettings['fc_newWindow']) ? ' target="_blank"' : ''), '>', $txt['fc_chat'], (!empty($modSettings['fc_showUserCount']) && !empty($context['num_chat']) ? ' [<strong>' . $context['num_chat'] . ' ' . ($context['num_chat'] == 1 ? $txt['user'] : $txt['users']) . '</strong>]' : ''),
    'show' => !$user_info['is_guest'],
         'sub_buttons' => array(
    ),
),
//End FlashChat integration


This is in Subs.php

Attached is my Subs.php file if someone who understands coding can explain why the number of users is not working.
This would be greatly appreciated as most of the chat users do not use the Welcome User drop down so there is no visible indication that anyone is in chat.

If possible, I would really like to integrate a flashing icon such as a small animated gif next to the chat button when someone is in the chat room.

Any help will be greatly appreciated!

Cheers.

dooie


Kat9119

Quote from: dooie on June 28, 2012, 07:07:11 PM
Anyone?

Have you tried using FlashChat 6 and using these directions?
http://forum.tufat.com/showthread.php?t=80167

I'm in the process of upgrading to a fresh install of 2.0.2 and my users love the chat, and rely on the # in the top menu, so I hope it works!

dooie

Quote from: Kat9119 on June 28, 2012, 10:31:00 PM
Quote from: dooie on June 28, 2012, 07:07:11 PM
Anyone?

Have you tried using FlashChat 6 and using these directions?
http://forum.tufat.com/showthread.php?t=80167

I'm in the process of upgrading to a fresh install of 2.0.2 and my users love the chat, and rely on the # in the top menu, so I hope it works!


Yes, I did try Sebastian's method first after upgrading and it did not work so I went back to my original FlashChat 4.7.12 and used the integration tool here with the emulator and got it to work. I just cant get the # of users on the top menu to work with the code included. That is the one thing left for this to work completely for me.

Cheers.

Kat9119

Quote from: dooie on June 28, 2012, 11:46:21 PM
Quote from: Kat9119 on June 28, 2012, 10:31:00 PM
Quote from: dooie on June 28, 2012, 07:07:11 PM
Anyone?

Have you tried using FlashChat 6 and using these directions?
http://forum.tufat.com/showthread.php?t=80167

I'm in the process of upgrading to a fresh install of 2.0.2 and my users love the chat, and rely on the # in the top menu, so I hope it works!


Yes, I did try Sebastian's method first after upgrading and it did not work so I went back to my original FlashChat 4.7.12 and used the integration tool here with the emulator and got it to work. I just cant get the # of users on the top menu to work with the code included. That is the one thing left for this to work completely for me.

Cheers.

Hum, I wonder if I'll have the same issue then, probably. I don't think the chat button with # of users has worked for a long long time because I remember having to use someone's code edits listed here a couple years ago.

So it shows people in chat listed at the bottom of your forum? What version did you emulate? I'm curious because I'm going to have to try these in a couple days, and I know nothing about editing codes myself lol.

Advertisement: