FlashChat Integration

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

Previous topic - Next topic

Daniel15

QuoteI could not use this mod on his forum because there was a problem between it and nneannos shoutbox mod.  I seems they both use the action chat for there defined action.
Easy fix :).
In Index.php, for the FlashChat mod, there's something like this:

// FlashChat integration
'chat' => array('Chat.php', 'Chat'),

Simply change it to something like:

// FlashChat integration
'flashchat' => array('Chat.php', 'Chat'),


Then, in Display.template.php, find:

<a 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>]' : ''), '</a>


Replace with:

<a href="', $scripturl, '?action=flashchat"', (!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>]' : ''), '</a>


This is assuming that the shoutbox mod doesn't use a file called "Chat.php".
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!

Tick

I will look into it more today and see what I can do with it.  Also let me say you do a great job supporting you mods.  Thanks.  Tick

MegaTinkerCoder

I simply use the AJAX shout box, I prefer it anyway... :)
In the middle of difficulty lies opportunity.

Albert Einstein

Tick

#303

Ok another problem here.  It seem this mod conflicts with my copperming bridge that I have with my  forum.   When I have the mod installed I cannot connect with the database is the error I get in my error log.  I uninstall the mod and it connects fine with the database.  Any answers.  Still a great mod.  I want to use it but I need to get the kinks worked out of it.




Daniel15

Quote from: tick on May 09, 2007, 05:42:54 PM

Ok another problem here.  It seem this mod conflicts with my copperming bridge that I have with my  forum.   When I have the mod installed I cannot connect with the database is the error I get in my error log.  I uninstall the mod and it connects fine with the database.  Any answers.  Still a great mod.  I want to use it but I need to get the kinks worked out of it.




That's very strange, I have no idea what would cause this...
Where did you download the bridge from? And what is the exact error message?
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!

Tick

I have it uninstalled so it not happening know.  I error to the best I can remmember said


Unable to connect to database.   
xxxx/xxxxxx/xxxxxxx/sources/subs.php        and the line number was the same line all of the flashchat info was on.

CHwebby

tick... I have the same exact problem! Conflict with Coppermine. The Coppermine bridge to SMF comes with Coppermine.

I get this error.....

Database Error: No Database Selected
Sources/Subs.php
Line: 3189

Tick

yes that the one I get.  And if you go to that line in the subs.php it is the code for the flashchat.  Once I uninstalled this the coppermine worked fine.

CHwebby


CHwebby

Forgot to add then when I uninstalled this mod to get my gallery working again, the flashchat code in my sources/subs.php  didn't uninstall. I had to manually remove it.

5cakids

Can I change the title to say my board name chat?

MegaTinkerCoder

Could you install coppermine and then install flashchat? Is their a bridge for Coppermine and flashchat that is conflicting?
In the middle of difficulty lies opportunity.

Albert Einstein

Tick

That is the setup I had.  I had the coppermine before the flashchat mod.  Now the flash chat works fine intergrated with the forum but when the flash chat mod is installed it conflicts.  The way I set it up was following flashchats instruction.  The way I put it in my fourm is I use the custom actions mod and create a action for the flash chat and put it in a iframe.  Works the same way it just doesn't add the stats to the bottom of the forum.  I solved that by putting the stats in a tp block.

CHwebby

ditto with what tick said. I'm not using tiny portal though.

cfd107

I am getting an error when trying to uninstall the 0.1 mod.

"3.     Execute Modification     ./index.php     Test failed"

Anyone have a suggestion?

Camping Forum [nofollow]
Forum Post Exchange [nofollow]

Goad

I hate my host....(1and1)

after install, i got this on any page i try....even the index.php.

Error 500 - Internal server error
An internal server error has occured!
Please try again later.

Goad

Quote from: Goad on May 17, 2007, 12:59:16 AM
I hate my host....(1and1)

after install, i got this on any page i try....even the index.php.

Error 500 - Internal server error
An internal server error has occured!
Please try again later.


nevermind, im a retard.

if anyone just happens to have this same issue and searches and finds this post....

just go to domain.com/[chatdir]/ and finish the install  ;D

Anhinga

#317
My apologies if someone has already answered this question, but I looked around a little and I couldn't find anything about it.

The mod is working fine for the most part, with the options for it appearing in the admin panel, and the users in the chatroom listed in the "who's online" section.  However, even if I check the box in the admin panel to make the chatroom appear "inside" the forum or open in a new window, it still opens on its own separate page as though I'd installed it normally.  I'm using a custom theme, but I've already made the changes to it suggested at http://www.daniel15.com/forum/index.php/topic,856.html .  Is there something else I need to edit about the theme to make these options possible?

I'm not using any other mods, so I know that isn't the reason for this problem, and my theme is a customized Babylon theme.  My forum is http://www.captainoccam.com/forum/ , in case you want to examine it for yourself.

Solin

Hello excuse my english, Ill try explain as best I can.

I have installed Flash chat and the mod, and everything seems to work fine except for a few things.

I have been looking around in this forum to see if I could find any answer for my problem. So I ending up to ask for help.

After I installed the mod. It dont show any chat button on the meny. So I went into the configuration in admin.
It looked like this


As you see there is not text in the field, just the place to hook. When I turned them on. It appeard a 1user button on the menu.



When I pushed the button it lead me to the chat, and so far that worked fine. But when I navigate around the forum I got a popup with logout and the 1user button disappear. No I have no opertunity to get back to the chat.

So what is it I do wrong.

Thanks
Solin
-=LOTS OF SPELLING ERRORS=-

Anhinga

Has support for this mod been abandoned, or what?

I'm still having the logout bug, even though I'm using the newest version of the mod.  I tried taking Simplemachines Cowboy's suggestion on page 7, but it didn't change anything.  The popup window that's supposed to log me out still gives me a 404 error.

Advertisement: