SMF Support > SMF 2.0.x Support

Flash chat

(1/3) > >>

dblast:
Hi everyone I am very green at upgrading and the like and I just got the newest upgrade running 2.0 Beta 4. During the process it got rid of my flash chat. I went to the site and it has an old php change and I can't find the line in the new index.php

else
     echo '<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'],
     '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url']
     . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108]
     . '" style="margin: 2px 0;" border="0" />' : $txt[108]),    '</a>';

Replace it with:

 else {
     echo '<a href="', $GLOBALS['boardurl'], '/chat/flashchat.php">',
     ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url']
     . '/chat_icon.gif" alt="FlashChat" style="margin: 2px 0;"
     border="0" />' : "FlashChat"),'</a>';

    echo '<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'],
    '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url']
    . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108]
    . '" style="margin: 2px 0;" border="0" />' : $txt[108]),'</a>';
}

I can't find these lines to change in the newer index.php

Thanks

charlottezweb:
You want to add it back to your site menu? 

I think you mean index.template.php

What theme are you trying to correct?

dblast:
Yes you are right, but I still cant find that line.

Babylon is the theme I use.

dblast:
bump

greyknight17:
It doesn't look like that mod is compatible with SMF 2.0 yet at least without some modifications. You might want to post in the mod's topic to see if there are any updates or if someone has it installed on 2.0 successfully (most likely with some code changes).

Navigation

[0] Message Index

[#] Next page

Go to full version