News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Problem chat

Started by Elisa, May 29, 2004, 08:26:56 AM

Previous topic - Next topic

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

#1
*edit out becasue of stupidity*
;)

Elisa

sorry, i dont understand!
you can speack english, before, i translate!

Eris Siva

#3
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:

<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>


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!!!!

andrea

If you do not see the chat button then you did something wrong, maybe either entered some wrong code or in the wrong place.

What you have to do is to add another menu button into the top menu, for example behind the calendar button. Look for the code for the top menu in the file "index.template.php".

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Oldiesmann

The chatroom is a java-based chatroom, so if your computer has problems with Java applets, you may not be able to get it to work.
Michael Eshom
Christian Metal Fans

Eris Siva

Quote from: Oldiesmann on June 01, 2004, 11:04:02 AM
The chatroom is a java-based chatroom, so if your computer has problems with Java applets, you may not be able to get it to work.


As she said before:
QuoteWhit 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.

It's not that she can't use the chat, it's that she can't see the link for the chat...

Oldiesmann

Well, she said that with the default theme she could see the icon but couldn't get into the chat...

Elisa - send me your FTP info via PM and I'll see what I can do...
Michael Eshom
Christian Metal Fans

Elisa

Tank you, but now all it's ok!!!!!

Advertisement: