Advertisement:

Author Topic: [DONE] Integrated Chat v1.1 for SMF BETA 4  (Read 20093 times)

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
[DONE] Integrated Chat v1.1 for SMF BETA 4
« on: April 21, 2004, 06:55:26 PM »
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
« Last Edit: May 02, 2004, 07:48:21 PM by goosemoose »

Offline brodle

  • Semi-Newbie
  • *
  • Posts: 46
  • EWC Owner
    • EveryWherechat
Re: Integrated Chat v1.1 done
« Reply #1 on: April 21, 2004, 07:11:54 PM »
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. brodle@everywherechat.com

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

brodle



Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Integrated Chat v1.1 done
« Reply #2 on: April 21, 2004, 07:41:54 PM »
Brilliant, thank you. My users were suffering from withdrawls. ;)
SMF since 2004 <3

Offline Tomer

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,652
  • Gender: Male
    • Aromazing
Re: Integrated Chat v1.1 done
« Reply #3 on: April 22, 2004, 06:48:27 PM »
Didnt test it yet but looks very good, very nice my friend, maybe they can add it to the upcoming SMF versions.

Offline brodle

  • Semi-Newbie
  • *
  • Posts: 46
  • EWC Owner
    • EveryWherechat
Re: Integrated Chat v1.1 done
« Reply #4 on: April 22, 2004, 09:54:41 PM »
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 :)

Offline someshta

  • Newbie
  • *
  • Posts: 7
Re: Integrated Chat v1.1 done
« Reply #5 on: April 24, 2004, 12:04:27 PM »
Can anyone tell me how to install this mod?  The files are uploaded, but I can't figure out what goes next..

Offline madmanrulez

  • Semi-Newbie
  • *
  • Posts: 17
Re: Integrated Chat v1.1 done
« Reply #6 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

Offline babylonking

  • SMF Friend
  • Full Member
  • *
  • Posts: 664
  • Gender: Male
  • Proudly Canadian
    • Assyrian Chaldean Online Community
Re: Integrated Chat v1.1 done
« Reply #7 on: April 25, 2004, 08:43:23 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  :)

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Integrated Chat v1.1 done
« Reply #8 on: April 25, 2004, 12:47:31 PM »
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?

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Integrated Chat v1.1 done
« Reply #9 on: April 26, 2004, 02:06:17 PM »
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

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Integrated Chat v1.1 done
« Reply #10 on: April 26, 2004, 02:07:34 PM »
I think that's just sorta how java works...

-[Unknown]

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Integrated Chat v1.1 done
« Reply #11 on: April 26, 2004, 02:16:14 PM »
Is there a step missing? I don't have the button in my menu. Which file would that go into?
SMF since 2004 <3

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Integrated Chat v1.1 done
« Reply #12 on: April 26, 2004, 02:26:13 PM »
index.template.php.  Near the bottom, in the menu sub template....

-[Unknown]

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Integrated Chat v1.1 done
« Reply #13 on: April 26, 2004, 02:44:31 PM »
Thank you [Unknown], found it. Added this:

Code: [Select]
// 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

Offline Homie

  • Jr. Member
  • **
  • Posts: 127
  • Gender: Male
  • I Love SMF 1.0 Beta 5
    • Homies Community
Re: Integrated Chat v1.1 done
« Reply #14 on: April 26, 2004, 02:55:46 PM »
I Have a  question how do you install this. Is this a Mod. Is ther any Instructions  ???  >:(

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Integrated Chat v1.1 done
« Reply #15 on: April 26, 2004, 03:06:43 PM »
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

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Integrated Chat v1.1 done
« Reply #16 on: April 26, 2004, 04:23:45 PM »
Thank you [Unknown], found it. Added this:

Code: [Select]
// 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]

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Integrated Chat v1.1 done
« Reply #17 on: April 26, 2004, 04:52:50 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

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Integrated Chat v1.1 done
« Reply #18 on: April 26, 2004, 04:54:43 PM »
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]

Offline theoscarspot.com

  • Semi-Newbie
  • *
  • Posts: 90
  • Gender: Male
    • TheOscarSpot.com
Re: Integrated Chat v1.1 done
« Reply #19 on: April 26, 2004, 05:16:39 PM »
Please forgive a stupid question, but is this chat tied to any particular IRC server... or can you choose your own?