News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

FlashChat Integration

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

Previous topic - Next topic

Daniel15

The logout bug is a known bug... I'll try to fix it in a future release.
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!


rad1701

#102
Quote from: rad1701 on January 29, 2007, 06:59:43 PM
I've got FlashChat installed and this integration module but have a couple questions.

First - is there a way to make the default to popup instant login (using the normal flashchat.php)?  I tried to modify the chat.template.php to a smaller size but that didn't seem to work.  It always comes up full screen.

I also only seem to be getting a little colon followed by the names of the users in the chat on my site.

Yes, I'm not using the default theme.  Just wanted to know what files I need to modify. 

Here's what I use:
SMF 1.1.1
TinyPortal
Enterprise Theme (by Bloc) - which seems to use the default BoardIndex.template.php
FlashChat 4.7.8


Thanks for any help!

The problem I listed above I'm still having on my Enterprise theme.  The main trouble is the theme does not have a BoardIndex.template.php file, it just has a index.template.php file.  The default BoardIndex.template.php file seems to of been changed automatically when I installed Flashchat with my SMF 1.1.1 forum.

Is there an area of code I can change in my theme specific index.template.php file to get it to show users in the chat properly?  I still only get a little colon at the bottom followed by users in the chat.

Oh, yes I am only using the English language on this board.  Thanks. 

(This is what I mean....)


computel

Has anyone fixed the pop window on exit and it says I'm still in chat when I log out. I looked at 7 pages here and I didn't see the answer or did I miss it.

Thanks

Simplemachines Cowboy

To solve the log out pop-up problem:

Find the dologout.php file in your chat folder.
Make a copy, and place the copy in your main SMF root folder.
Edit the 2nd line of the file to reflect the proper path.
This is mine; FlashChat is in the /chat folder.
require_once('chat/inc/common.php');
My SMF forum: The Open Range

wickedstangs

Simplemachines Cowboy Nice it worked for me....

diva_uno

Quote from: rad1701 on February 03, 2007, 05:18:18 PM
Quote from: rad1701 on January 29, 2007, 06:59:43 PM
I've got FlashChat installed and this integration module but have a couple questions.

First - is there a way to make the default to popup instant login (using the normal flashchat.php)?  I tried to modify the chat.template.php to a smaller size but that didn't seem to work.  It always comes up full screen.

I also only seem to be getting a little colon followed by the names of the users in the chat on my site.

Yes, I'm not using the default theme.  Just wanted to know what files I need to modify. 

Here's what I use:
SMF 1.1.1
TinyPortal
Enterprise Theme (by Bloc) - which seems to use the default BoardIndex.template.php
FlashChat 4.7.8


Thanks for any help!

The problem I listed above I'm still having on my Enterprise theme.  The main trouble is the theme does not have a BoardIndex.template.php file, it just has a index.template.php file.  The default BoardIndex.template.php file seems to of been changed automatically when I installed Flashchat with my SMF 1.1.1 forum.

Is there an area of code I can change in my theme specific index.template.php file to get it to show users in the chat properly?  I still only get a little colon at the bottom followed by users in the chat.

Oh, yes I am only using the English language on this board.  Thanks. 

(This is what I mean....)



Your problem is that you are adding the code into you design specific index.template.php file. You need to put it in your default theme index.template.php file. If you put the code in your default file it doesn't matter what template you add - everything should work.

I have a question?

This is the code they have to put the button in the index.template.php:
else {
     echo '<a href="', $GLOBALS['boardurl'], '/chat/flashchat.php">',
     ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url']
     . '/chat_icon.gif" alt="FlashChat" style="margin: 2px 0;"
     border="0" />' : "FlashChat"),'</a>';


This is not a reflection of SMF 1.1.1 - This coding is really old.
Does anyone have any new code?

diva_uno

Ok - I have a reading problem as I always like to dive into things... it says in your readme.txt

QuoteAlso note that you do not need to edit index.template.php to add a button (like the instructions say to), as this mod does that automatically.

But you actually do have to edit the index.template.php to add the button to each one of your templates. Or at least that is the only way I see it.

Daniel15

Quote
Quote from: rad1701 on February 03, 2007, 05:18:18 PM
Quote from: rad1701 on January 29, 2007, 06:59:43 PM
I've got FlashChat installed and this integration module but have a couple questions.

First - is there a way to make the default to popup instant login (using the normal flashchat.php)?  I tried to modify the chat.template.php to a smaller size but that didn't seem to work.  It always comes up full screen.

I also only seem to be getting a little colon followed by the names of the users in the chat on my site.

Yes, I'm not using the default theme.  Just wanted to know what files I need to modify. 

Here's what I use:
SMF 1.1.1
TinyPortal
Enterprise Theme (by Bloc) - which seems to use the default BoardIndex.template.php
FlashChat 4.7.8


Thanks for any help!

The problem I listed above I'm still having on my Enterprise theme.  The main trouble is the theme does not have a BoardIndex.template.php file, it just has a index.template.php file.  The default BoardIndex.template.php file seems to of been changed automatically when I installed Flashchat with my SMF 1.1.1 forum.

Is there an area of code I can change in my theme specific index.template.php file to get it to show users in the chat properly?  I still only get a little colon at the bottom followed by users in the chat.

Oh, yes I am only using the English language on this board.  Thanks. 

(This is what I mean....)


Hmm... It seems like Modifications.english.php is not loading properly. Copy all the FlashChat stuff from Themes/default/languages/Modifications.english.php, and place it in Themes/default/index.template.php (above the ?>), and it should start working :)

Quote from: diva_uno on February 05, 2007, 12:10:24 AM
Ok - I have a reading problem as I always like to dive into things... it says in your readme.txt

QuoteAlso note that you do not need to edit index.template.php to add a button (like the instructions say to), as this mod does that automatically.

But you actually do have to edit the index.template.php to add the button to each one of your templates. Or at least that is the only way I see it.
Sorry, that's my fault, I didn't make it clear...
The FlashChat instructions say to edit the default theme to add the button. For this mod, you do not need to edit the default theme, as it's edited automatically. You will still need to edit a custom theme if you have one (usually, the theme author will be able to tell you how to add another button to their theme :))

QuoteThis is the code they have to put the button in the index.template.php:

else {
     echo '<a href="', $GLOBALS['boardurl'], '/chat/flashchat.php">',
     ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url']
     . '/chat_icon.gif" alt="FlashChat" style="margin: 2px 0;"
     border="0" />' : "FlashChat"),'</a>';


This is not a reflection of SMF 1.1.1 - This coding is really old.
Does anyone have any new code?
Yeah, this code is from SMF 1.0. The SMF 1.1.1 code is already added to Themes/default/index.template.php when you install this mod.
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

rad1701

Ok - I fixed my trouble with the details showing of who is in chat.  I had to add this:

// --- Begin FlashChat integration ---
$txt['fc_chat'] = 'Chat';
$txt['fc_in_chat'] = 'in Chat';
$txt['fc_not_found'] = 'FlashChat does not appear to be installed!';
$txt['fc_no_guests'] = 'Sorry, guests aren\'t allowed to use the chat!';
$txt['fc_private_room'] = '<i>private room</i>';
$txt['fc_users_online'] = 'Users currently in chat';
// For 'Who's Online' page
$txt['whoall_chat'] = 'In the <a href=' . $boardurl . '?action=chat">Chatroom</a>';
// --- End FlashChat integration ---


To my index.template.php file in my specific Enterprise theme.  That took care of it.

Now, one last tiny trouble.  Why does it seem even if I leave chat, I still show as a user in chat for a period of time later?  Sometimes along time.  Anyway to fix this logout bug?  Is there a time delay??

wickedstangs

LOG OUT BUG...
Simplemachir Cowboy posted this
To solve the log out pop-up problem:

Find the dologout.php file in your chat folder.
Make a copy, and place the copy in your main SMF root folder.
Edit the 2nd line of the file to reflect the proper path.
This is mine; FlashChat is in the /chat folder.

Code:
require_once('chat/inc/common.php');

It worked for me...

Daniel15

Simplemachines Cowboy, thanks for that fix ;). If the developer of FlashChat doesn't mind, I may automatically do this (create a copy of dologout.php on installation) in a future release of the mod
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

perplexed

hi Daniel

I'm currently using the integrated chat mod but there are a couple of problems for us - other external rooms are accessible and cant be switched off, and some members have problems with java, so they dont use it at all.

So, this flashchat thing, this is a chat program/window that is running on your own server and only your chat rooms can be viewable/accessible?  No other chatrooms unrelated to your own site can be seen?  Is that right?

With the current chat everything is set by permissions in admin, but with this one, is it for logged in members only, or can guests get access too?  I dont want guests to have access.

You mentioned above that it will not slow your forum down.  Is that definite as sometimes we have issues with speed?

Lastly, the other chat mod doesnt use up my bandwidth, but this one presumably will since its hosted on my server.  Any idea on how much?

~thanks

SWTrisha

Hi Daniel.

I installed your package no problems arrived until I clicked the home button to go back into the forum and I don't get access, I get this:

QuoteDatabase Error
Table 'alittle_smf1.flashchat_connections' doesn't exist
File: /home/alittle/public_html/Mythica/Sources/BoardIndex.php
Line: 387 

help please

Daniel15

QuoteSo, this flashchat thing, this is a chat program/window that is running on your own server and only your chat rooms can be viewable/accessible?  No other chatrooms unrelated to your own site can be seen?  Is that right?
Yeah, it's on your own server. Only admins can create the chat rooms, and no unrelated rooms will be seen.

QuoteWith the current chat everything is set by permissions in admin, but with this one, is it for logged in members only, or can guests get access too?  I dont want guests to have access.
Only registered members can access the chat.

QuoteYou mentioned above that it will not slow your forum down.  Is that definite as sometimes we have issues with speed?

Lastly, the other chat mod doesnt use up my bandwidth, but this one presumably will since its hosted on my server.  Any idea on how much?
You're best off posting this on the tufat.com forum. I'm not a developer of FlashChat (I just do this integration), and as such I don't have definate answers to these questions.
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

wickedstangs



perplexed

apart from what's already mentioned on the previous 8 pages, does anyone know of any conflict this mod may have with other mods?   

Endless Flight

I've integrated FlashChat into my SMF 1.1.1 forum, but I have a problem with the User Online section. I have the googlebot mod on my site. I've snapped a picture and placed it below.

Can anybody help me with this?

Daniel15

Quote from: perplexed on February 11, 2007, 03:38:45 PM
apart from what's already mentioned on the previous 8 pages, does anyone know of any conflict this mod may have with other mods?  

It only edits:
1) The board index (Users Online list)
2) The SSI.php file (Users Online)
3) index.php (to add the chat action)

The only mods it could interfere with are mods that edit the users online list (Googlebot and Spiders is the only one I know of, but there may be more).

Quote from: Endless Flight on February 11, 2007, 06:30:53 PM
I've integrated FlashChat into my SMF 1.1.1 forum, but I have a problem with the User Online section. I have the googlebot mod on my site. I've snapped a picture and placed it below.

Can anybody help me with this?
Check the Themes/default/BoardIndex.template.php file to see if it was edited properly. The edits to do when the Googlebot and Spiders mod is installed may be found at http://www.simplemachines.org/community/index.php?topic=139769.msg895270#msg895270.
If you don't know how to do this, attach your BoardIndex.template.php file here and I'll see if I can do this for you :)

Quote from: wickedstangs on February 08, 2007, 12:53:16 AM
Daniel can you pm me
PM you? You mean on this forum?
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Advertisement: