Vorrei installare una chat nel mio forum, ma non so da che parte cominciare!
Girovagando qua e la ho trovato questa: integratedchat_2.0_SMFB5 e integratedChat_2.0
Però non ho nessuna idea di come si montino!
Sempre per via che non so una parola di inglese! Qualcuno mi può aiutare?
Nella prima versione c'è un file che dice questo:
<id>
Integrated Chat
</id>
<version>
2.0 for SMG Beta 5
</version>
<mod info>
Integrated Chat using www.everywherechat.com servers, fully IRC compliant.
AWSOME MOD :)
1. Upload files from mod into forum following directory structure in zip file
2 Run chatdb.php via web browser (unless your upgrading), delete chatdb.php
3. Run integratedchat_2.0.mod in boardmodSE OR use your favorite text editor
4. Go into your admin panel and edit the chat settings under mod settings.
5. Make sure your room name doesn't exist on the server first.
Then once you have gone in the room double click on it to register yourself and your other mods.
You might have to do this again occasionally if there is a chat server upgrade.
5. I personally edited my BoardIndex.template.php to make the number of users and who they were on my index page.
Another option is to insert the following into a news box in the admin panel. Change roomname to your room name.
There are currently <script src="http://www.everywherechat.com/users.asp?room=ROOMNAME"></script> people talking in the chat room.<BR>
<script src="http://www.everywherechat.com/members.asp?room=ROOMNAME"></script>
</mod info>
<edit file>
Sources/ModSettings.php
</edit file>
<search for>
array('text', 'cal_maxspan'),
</search for>
<add after>
&$txt['chatTitle'],
// Integrated Chat 1.0 Settings
array('text', 'chatLanguage'),
array('text', 'chatRoomName'),
array('text', 'chatAppend'),
array('text', 'chatWidth'),
array('text', 'chatHeight'),
array('text', 'chatPassword'),
array('check', 'chatRoomsTab'),
</add after>
<search for>
'default_personalText', 'time_format',
</search for>
<add after>
'chatLanguage', 'chatRoomName', 'chatAppend', 'chatWidth',
'chatHeight', 'chatPassword',
</add after>
<edit file>
Themes/default/languages/index.english.php
</edit file>
<search for>
$txt['quickmod_delete_selected'] = 'Delete Selected';
</search for>
<add after>
$txt['chatAlt'] = 'Chat';
$txt['chatStats'] = 'Chat Stats';
</add after>
<edit file>
Themes/default/languages/ModSettings.english.php
</edit file>
<search for>
$txt['cal_maxspan'] = 'Max number of days an event can span';
</search for>
<add after>
$txt['chatTitle'] = 'Integrated Chat Settings';
$txt['chatLanguage'] = 'Choose the language of your board';
$txt['chatRoomName'] = 'Type in the name of your chat room';
$txt['chatAppend'] = 'Type in 3 or 4 letters to append to every user name. This prevents duplicate names from the server, ex _app';
$txt['chatWidth'] = 'Type in the Width of the chat applet (default 700)';
$txt['chatHeight'] = 'Type in the Height of the chat applet (default 500)';
$txt['chatPassword'] = 'If you want to put a password on your room put it here, otherwise use NULL';
$txt['chatRoomsTab'] = 'If you do not want a list of other chat rooms to appear set to false, otherwise true';
</add after>
<edit file>
Themes/default/BoardIndex.template.php
</edit file>
<search for>
// "Users online" - in order of activity.
</search for>
<add before>
// Chat Stats
echo '
<tr>
<td class="catbg" colspan="2">', $txt['chatStats'], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=chat">
<img src="', $settings['images_url'], '/chatIcon.gif" alt="', $txt['chatAlt'], '" border="0" /></a>
</td>
<td class="windowbg2" width="100%">
<BR>There are currently <script src="http://www.everywherechat.com/users.asp?room=', $modSettings['chatRoomName'], '"></script> people talking in the chat room.<BR>
<script src="http://www.everywherechat.com/members.asp?room=', $modSettings['chatRoomName'], '"></script>
<span class="smalltext">';
</add before>
<edit file>
index.php
</edit file>
<search for>
'calendar' => array('Calendar.php', 'CalendarMain'),
</search for>
<add after>
'chat' => array('Chat.php', 'ChatRoom'),
</add after>
<edit file>
Themes/default/languages/Who.english.php
</edit file>
<search for>
$txt['whoall_.xml'] = 'Viewing an XML feed.';
</search for>
<add after>
$txt['whoall_chat'] = 'Entering the <a href="' . $scripturl . '?action=chat">Chat Room</a>.';
</add after>
<edit file>
Themes/default/index.template.php
<search for>
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
</search for>
<add after>
// Integrated Chat Mod Icon
if (!$context['user']['is_guest'])