Customizing SMF > SMF Coding Discussion
Problem chat
Elisa:
I'm italian girl, i don't speack english!
I have a problem.
I install integratetedChat. Whit default theme i see the icon 2"chat" e i can get into the chat.
I install theme spaceman Theme and i can't get into the chat because i don't see the icon and the link. Why????
Eris Siva:
*edit out becasue of stupidity*
;)
Elisa:
sorry, i dont understand!
you can speack english, before, i translate!
Eris Siva:
Okay.... Well, you also need to edit the index.template.php file for the theme that you want to use in order for the button to show up in the menu-bar.
The auto-install script does this:
--- Code: ---<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'])
echo '
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? ' <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt['chatAlt'] . '" target="_blank" style="margin: 2px 0;" border="0" />' : $txt['chatAlt']), '</a>', $context['menu_separator'];
</add after>
--- End code ---
Basically, you need to do the same. You also need to upload the "Chat images" to the correct folders in whatever theme you want to use...
Elisa:
i do that, but i don't see the chat!!!!! help!!!!
Navigation
[0] Message Index
[#] Next page
Go to full version