TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

FlashChat User

Started by Sakuragi, November 01, 2005, 07:24:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

camflan

so, the block is also not rendering in Safari either.

anyone have an idea why this wouldn't work in Safari or IE?

camflan


whoesa

I bought FlashChat today and uploaded to my root. I did follow all the steps as told on the site www.tufat.com

I having problems to find the last code i have to replace: Add Flashchat to the CMS interface.

i need to replace:
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>';


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>';
}


Im using the Black22 theme, so i need the change the code in Themes/TP_Black22_11rc2/index.template.php?

I looked in this file and tried many ways but nothing works fine  :(

I can't find the exact first code, the only code i can't find there is:
        // Otherwise, they might want to [logout]...
        else
                echo $bef.'
                                <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', strtoupper($txt[108]) , '</a></td>';


Can someone please help me out here?




G6Cad

You dont add it in to Black22.
You make all the editing of the codes and integrations in the default themes files. that way you all you have to do is add a button for the ret of the themes you are using, the rest is fetched from the default files

RoarinRow

Quote from: camflan on February 06, 2006, 02:55:31 AM
Quote from: RoarinRow on February 03, 2006, 04:16:51 AM
Quote from: gerrymo on November 02, 2005, 12:41:29 PM
This is the Code Bloc gave me to show the members using flashchat in a Block (php).


global $boardurl;
echo '
<iframe frameborder="0" height="100" src="', $boardurl, '/chat/info_embedded.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe>';


Do you notice any slowness of the page refreshing when you have the chat stats enabled?  I notice a slight delay at times and others a longer delay where the chat stats box turns white on the inside of the box.


I am experiencing an issue where this block doesn't render in IE.  the frame and the collapse button are there, but there is no text displayed w/in it.  anyone know why, or maybe some kind of idea?

Is this the path that you put the flashchat? - /chat/info_embedded.php  Did you trying changing that?

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

Crip

Your path should be:
Quote
forum/chat/flashchat.php

crip :)
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



pheasant_plucker

#36
I just put this code in a centre block!

include('http://www.rcmf.co.uk/4um/chat/info.php');

This lists the usernames that are in chat along the top of the forum. Obviously change the path to info.php to suit your own server!
If you want to list the rooms and users in them then use info_embedded.php

Gerry

whoesa

Ok i changed all the files in the default theme and it works just fine now  ;D

Thanks

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



kontroldkhaos

Quote from: gerrymo on November 02, 2005, 12:41:29 PM
This is the Code Bloc gave me to show the members using flashchat in a Block (php).


global $boardurl;
echo '
<iframe frameborder="0" height="100" src="', $boardurl, '/chat/info_embedded.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe>';


im using this code on the Nostalgia Theme by husmen73 & Masterhan ..its a board with a black ground ..code works fine on on the lighter color boards, but this is my primary board and you cant view whos is chat,because the text is black..

i need the same code but in a different text color so it will stand out on my board..

This website is proudly hosted on Crocweb Cloud Website Hosting.