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

ms_ukyankee

Quote from: theoscarspot.com 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?

It's nearly impossible to find an applet where you can choose your own server, unless you're running the irc server yourself and host your own chat applet. This one is from everywherechat.com. I've been using it for almost 2 years, no complaints, and fairly easy to use, supporting a lot of irc features such as file transfer, smileys, sounds, etc. :)
SMF since 2004 <3

DeadlyDemon

Sorry bout this stupid question but when i open the .mod file it says Run integratedchat_1.1.mod in boardmodSE, what is boardmodSE?

ms_ukyankee

You don't have to use boardmod, you can follow the steps in the file, looking for text in the files named, and in the case, adding the text in the add after tags. Boardmod is a convenience for automatic installation of mods with a lot of steps. This mod is small. :)
SMF since 2004 <3

DeadlyDemon

ok, it says i have to add :
// Integrated Chat 1.0 Settings
         array('select', 'chatLanguage', &$txt['chatLanguage'], 'm12', array('embedded' => 'English', 'french' => 'French', 'german' => 'German',
            'greek' => 'Greek', 'italian' => 'Italian', 'malaysian' => 'Malaysian', 'nepal' => 'Nepal', 'polish' => 'Polish',
            'spanish' => 'Spanish', 'turkey' => 'Turkish')),
         array('text', 'chatRoomName', &$txt['chatRoomName']),
         array('text', 'chatAppend', &$txt['chatAppend']),
         array('text', 'chatWidth', &$txt['chatWidth']),
         array('text', 'chatHeight', &$txt['chatHeight']),
         array('text', 'chatPassword', &$txt['chatPassword']),
         array('select', 'chatRoomsTab', &$txt['chatRoomsTab'], 'm12', array('true' => 'On', 'false' => 'Off')),

After &$txt['chatTitle'], but i cant find that anywhere in ModSettings.php

ms_ukyankee

I don't think that's quite right, let me explain:
<edit file>
sources/ModSettings.php
</edit file>

<search for>
array('text', 'cal_maxspan', &$txt['calendar53']),
</search>

<add after>
&$txt['chatTitle'],
// Integrated Chat 1.0 Settings
array('select', 'chatLanguage', &$txt['chatLanguage'], 'm12', array('embedded' => 'English', 'french' => 'French', 'german' => 'German',
'greek' => 'Greek', 'italian' => 'Italian', 'malaysian' => 'Malaysian', 'nepal' => 'Nepal', 'polish' => 'Polish',
'spanish' => 'Spanish', 'turkey' => 'Turkish')),
array('text', 'chatRoomName', &$txt['chatRoomName']),
array('text', 'chatAppend', &$txt['chatAppend']),
array('text', 'chatWidth', &$txt['chatWidth']),
array('text', 'chatHeight', &$txt['chatHeight']),
array('text', 'chatPassword', &$txt['chatPassword']),
array('select', 'chatRoomsTab', &$txt['chatRoomsTab'], 'm12', array('true' => 'On', 'false' => 'Off')),
</add after>

<search for>
'default_personalText', 'time_format',
</search>

<add after>
'chatLanguage', 'chatRoomName', 'chatAppend', 'chatWidth',
'chatHeight', 'chatPassword',
</add after>


You've got the right file, so well done there. :) However, for the first step, you need to find what's in the search for tags:

array('text', 'cal_maxspan', &$txt['calendar53']),


and add this after it:

&$txt['chatTitle'],
// Integrated Chat 1.0 Settings
array('select', 'chatLanguage', &$txt['chatLanguage'], 'm12', array('embedded' => 'English', 'french' => 'French', 'german' => 'German',
'greek' => 'Greek', 'italian' => 'Italian', 'malaysian' => 'Malaysian', 'nepal' => 'Nepal', 'polish' => 'Polish',
'spanish' => 'Spanish', 'turkey' => 'Turkish')),
array('text', 'chatRoomName', &$txt['chatRoomName']),
array('text', 'chatAppend', &$txt['chatAppend']),
array('text', 'chatWidth', &$txt['chatWidth']),
array('text', 'chatHeight', &$txt['chatHeight']),
array('text', 'chatPassword', &$txt['chatPassword']),
array('select', 'chatRoomsTab', &$txt['chatRoomsTab'], 'm12', array('true' => 'On', 'false' => 'Off')),


The steps are in pairs, first the <search for> then the add afters/replaces/add befores. Does that make sense?
SMF since 2004 <3

DeadlyDemon

o..ok lol i get it now. but i cant find array('text', 'cal_maxspan', &$txt['calendar53']),  in ModSettings.php

ms_ukyankee

Lines 285-287:

// One day events or multi-day?
array('check', 'cal_allowspan', &$txt['calendar52']),
array('text', 'cal_maxspan', &$txt['calendar53']),
SMF since 2004 <3

[Unknown]

It's changed for Beta 5 Public....

-[Unknown]

DeadlyDemon

 :o uhhh i got beta 5 public lol i forgot 2 mention that...doh

ms_ukyankee

#29
What's changed, the mod? If so, I didn't know either.

Edit: Its dawned on me you mean the files, I haven't upgraded to B5 Public yet. Guess I'll do that tonight...
SMF since 2004 <3

DeadlyDemon

hmmmm does it have 2 be under array('text', 'cal_maxspan', &$txt['calendar53']), wont it work under anything else?

ms_ukyankee

The arrays are different, just from a quick look. I'd have to really dig in to figure it out.

Any idea when an update to this mod might be coming? I was going to install it on my live board tonight. ::)
SMF since 2004 <3

DeadlyDemon

uhh does that mean we have 2 wait till un update  ::)

MarcTouchsMySoul

Ok i am stuck

I got your directions
1. Upload files from mod into forum following directory structure in zip file
2  Run chatdb.php via web browser, delete chatdb.php
5. Run integratedchat_1.1.mod in boardmodSE
6. Go into your admin panel and edit the chat settings under mod settings.

But I am stuck on the 3rd direction..welll you have lit listed at 5. I cant find the boardmodSE i am stuck waiting to run the intergratedchat_1.1.mod  Please help.

Goosemoose

Marc,
Please read back a few notes to what ms_ukyankee said about step 3.


ms_ukyankee,
I'll take a look at beta 5 on monday when I'm at work and update the mod. I won't have time this weekend.

ms_ukyankee

Quote from: goosemoose on May 02, 2004, 02:26:58 AM
Marc,
Please read back a few notes to what ms_ukyankee said about step 3.


ms_ukyankee,
I'll take a look at beta 5 on monday when I'm at work and update the mod. I won't have time this weekend.

I understand that. I haven't upgraded yet anyway (no time), so I'm just going to skip it for now so I can get chat going for my users, and upgrade later when this mod is updated. :)
SMF since 2004 <3



Advertisement: