News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[DONE] Integrated Chat v1.1 for SMF BETA 4

Started by Goosemoose, April 21, 2004, 06:55:26 PM

Previous topic - Next topic

Goosemoose

NOTE THIS IS FOR BETA4, BETA5 HAS BEEN RELEASE IN ANOTHER THREAD


Okay, I have received numerous emails for this. Please let me know how it goes and if you see any problems. Make sure you backup your files before you do this. If you had this running on a YabbSE forum that you upgraded then you don't need to run the chatdb.php file as your settings already exist in the database.

This is an integration to use an IRC room hosting by Brodle at everywherechat for FREE

You can see an example at http://www.goosemoose.com/rfc  I have also added a section in the bottom of the main page that lists the users logged into chat.

You can download the file at:
Download here

brodle

I own the chat community and work on the java chat we use to power this mod. If anyone has any specific questions about the chat or any special needs let me know. [email protected]

Warning I only check email about 3 times a week, if you reply to this forum post Ill get your questions faster.

brodle



ms_ukyankee

Brilliant, thank you. My users were suffering from withdrawls. ;)
SMF since 2004 <3

Tomer

Didnt test it yet but looks very good, very nice my friend, maybe they can add it to the upcoming SMF versions.

brodle

In the old YABB someone created a super mod for the board that incorporated this mod and MANY others. Perhaps that will be the path going forward.

Thank you for the comments :)

someshta

Can anyone tell me how to install this mod?  The files are uploaded, but I can't figure out what goes next..

madmanrulez

is't possible for a popup version of the chat be aviliable?....since many ppl want to be in both at the same time

babylonking

Quote from: madmanrulez on April 25, 2004, 08:19:06 AM
is't possible for a popup version of the chat be aviliable?....since many ppl want to be in both at the same time

I second that  ;)

Good work goosemoose  :)

Goosemoose

The version that is installed is already a popup version. Simply click on the "float" button on the bottom of the screen when you load chat. I guess I could also make it open in a new window when you originall click on it if that is what you mean.

I am assuming that the install went smoothly since no one is saying anything?

ms_ukyankee

I've just installed, and it's great :), thank you for providing this to us early, but there is one little thing that I don't like. The point of having a pop up or floating window is so that you can browse other pages, use other windows, etc.. With this floating window, if you navigate to another page with the parent window, the child window disappears. So you have to have two windows open for one. Is that standard floating chat window behavior? I used to use the popup previously, it's not that big of a deal but some people are adverse to change. ;)
SMF since 2004 <3

[Unknown]

I think that's just sorta how java works...

-[Unknown]

ms_ukyankee

Is there a step missing? I don't have the button in my menu. Which file would that go into?
SMF since 2004 <3

[Unknown]

index.template.php.  Near the bottom, in the menu sub template....

-[Unknown]

ms_ukyankee

Thank you [Unknown], found it. Added this:

// If the user is a logged in, show chat button.
if ($context['user']['is_logged'])
{
echo '
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt['chatAlt'] . '" style="margin: 2px 0;" border="0" />' : $txt['chatAlt']), '</a>', $context['menu_separator'] ;
}

SMF since 2004 <3

Homie

I Have a  question how do you install this. Is this a Mod. Is ther any Instructions  ???  >:(

ms_ukyankee

You can open the .mod file in the zip with a text editor like Notepad. Make the changes to the files as per the steps in the mod file. You can copy and paste the text in the steps. Upload the changed files and the files that came in the zip. The instructions are in there at the top too, follow those as well. :)
SMF since 2004 <3

[Unknown]

Quote from: ms_ukyankee on April 26, 2004, 02:44:31 PM
Thank you [Unknown], found it. Added this:

// If the user is a logged in, show chat button.
if ($context['user']['is_logged'])
{
echo '
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt['chatAlt'] . '" style="margin: 2px 0;" border="0" />' : $txt['chatAlt']), '</a>', $context['menu_separator'] ;
}



Wow, it's even i18n.  Good job, I'm impressed ;).

-[Unknown]

ms_ukyankee

Quote from: [Unknown] on April 26, 2004, 04:23:45 PM

Wow, it's even i18n.  Good job, I'm impressed ;).

-[Unknown]

i18n? You lost me. I just copied and pasted one of the other button's code and changed the appropriate bits, don't give me too much credit, lol. ;)
SMF since 2004 <3

[Unknown]

Well, i18n means "internationalization".  Technically, it means i + 18 letters + n.

Basically, I mean that the code you posted could be used even here, where some people use Spanish, Dutch, and German, while others use English.

-[Unknown]

theoscarspot.com

Please forgive a stupid question, but is this chat tied to any particular IRC server... or can you choose your own?

Advertisement: