Results 1 to 7 of 7

Thread: Flashchat help

  1. #1
    Join Date
    Oct 2004
    Location
    Lincoln, Lincolnshire
    Posts
    2,662
    Tokens
    98
    Habbo
    Carlsta

    Latest Awards:

    Default Flashchat help

    My mate deleted my flashchat.php and i need it back
    but he erased it frm recycle bit lol
    anyone able to upload it?
    » Carlsta «
    » Currently Got 1571 Reputation Points «



  2. #2
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Redownload it from vB.org

  3. #3
    Join Date
    Oct 2004
    Location
    Lincoln, Lincolnshire
    Posts
    2,662
    Tokens
    98
    Habbo
    Carlsta

    Latest Awards:

    Default

    It's not on there...
    Im on about this flashchat

    http://www.tufat.com/s_flash_chat_chatroom.htm
    » Carlsta «
    » Currently Got 1571 Reputation Points «



  4. #4
    Join Date
    Dec 2006
    Location
    Nottingham
    Posts
    7,752
    Tokens
    756
    Habbo
    katie.pricejorda

    Latest Awards:

    Default

    Found it on my computer, there's not very much to it at all.

    Create a file called flashchat.php and copy and paste this into it:
    PHP Code:
    <?php
        
    require_once('inc/common.php');

        
    $id 'flashchat';

        
    $params = array();

        if(isset(
    $_REQUEST['username']) && !isset($_REQUEST['flash_login'])) {
            if(
    $_REQUEST['username'] == '__random__'$_REQUEST['username'] = 'user_' time();
            if(!isset(
    $_REQUEST['lang'])) $_REQUEST['lang'] = $GLOBALS['fc_config']['defaultLanguage'];
            if(!isset(
    $_REQUEST['password'])) $_REQUEST['password'] = '';
            if(!isset(
    $_REQUEST['room'])) $_REQUEST['room'] = 0;

            
    $params array_merge($params, array(
                
    'login' => $_REQUEST['username'],
                
    'password' => $_REQUEST['password'],
                
    'lang'  => $_REQUEST['lang'],
                
    'room'  => $_REQUEST['room']
            ));
        }
    ?>
    <html>
        <head>
            <title>FlashChat v<?php echo $GLOBALS['fc_config']['version']?></title>
            <script type="text/javascript">
                function showLogger() {
                    win = window.open("logger.php", "logger", "width=500,height=400,left=0,top=0,location=no,menubar=no,resizable=yes,scrollbars=no,status=no,toolbar=no");
                    win.focus();
                }
                <?php if($GLOBALS['fc_config']['debug']) {?>showLogger();<?php ?>
            </script>

            <script language="JavaScript" type='text/javascript' src="javascript/ActivateFlash.js"></script>
        </head>

        <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" scroll="no">
            <center><?php echo flashChatTag('100%''100%'$params)?></center>
        </body>
    </html>
    That's it...

  5. #5
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Ah, sorry! I thought you were taking about the vBulletin addon My mistake!

  6. #6
    Join Date
    Dec 2006
    Location
    Nottingham
    Posts
    7,752
    Tokens
    756
    Habbo
    katie.pricejorda

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    Ah, sorry! I thought you were taking about the vBulletin addon My mistake!
    Your not entirely wrong, Flashchat can be intergrated into nearly all the big CMS's like Mambo, PHPBB and of course vBulletin as a add-on

    You can see all the CMS's it supports at the bottom of this page. Highly recommend Flashchat to anyone.

  7. #7
    Join Date
    Oct 2004
    Location
    Lincoln, Lincolnshire
    Posts
    2,662
    Tokens
    98
    Habbo
    Carlsta

    Latest Awards:

    Default

    Quote Originally Posted by Jordy View Post
    Found it on my computer, there's not very much to it at all.

    Create a file called flashchat.php and copy and paste this into it:
    PHP Code:
    <?php
        
    require_once('inc/common.php');

        
    $id 'flashchat';

        
    $params = array();

        if(isset(
    $_REQUEST['username']) && !isset($_REQUEST['flash_login'])) {
            if(
    $_REQUEST['username'] == '__random__'$_REQUEST['username'] = 'user_' time();
            if(!isset(
    $_REQUEST['lang'])) $_REQUEST['lang'] = $GLOBALS['fc_config']['defaultLanguage'];
            if(!isset(
    $_REQUEST['password'])) $_REQUEST['password'] = '';
            if(!isset(
    $_REQUEST['room'])) $_REQUEST['room'] = 0;

            
    $params array_merge($params, array(
                
    'login' => $_REQUEST['username'],
                
    'password' => $_REQUEST['password'],
                
    'lang'  => $_REQUEST['lang'],
                
    'room'  => $_REQUEST['room']
            ));
        }
    ?>
    <html>
        <head>
            <title>FlashChat v<?php echo $GLOBALS['fc_config']['version']?></title>
            <script type="text/javascript">
                function showLogger() {
                    win = window.open("logger.php", "logger", "width=500,height=400,left=0,top=0,location=no,menubar=no,resizable=yes,scrollbars=no,status=no,toolbar=no");
                    win.focus();
                }
                <?php if($GLOBALS['fc_config']['debug']) {?>showLogger();<?php ?>
            </script>

            <script language="JavaScript" type='text/javascript' src="javascript/ActivateFlash.js"></script>
        </head>

        <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" scroll="no">
            <center><?php echo flashChatTag('100%''100%'$params)?></center>
        </body>
    </html>
    That's it...
    Thank you it now works My fool of a friend deleted it
    http://www.carlstac.com/chat/flashchat.php

    Quote Originally Posted by Invent View Post
    Ah, sorry! I thought you were taking about the vBulletin addon My mistake!
    Thats ok

    +rep to both and Thread closed!
    » Carlsta «
    » Currently Got 1571 Reputation Points «



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •