Zum Inhalt springen

cwt_hcl

Erstellt am 24. Mai 2007 · 1 Antwort · letzte Antwort am 24. Mai 2007

Tags: Frage

Siegi ·

Liebe Comunity,

Ich habe HelpcenterLive installiert..und sehe soweit auch die Startseite nach der Konfiguration, jedoch dürfte im Editfile die Verweise auf die DB nicht stimmt was meint ihr dazu??

<?php
    ///////////////////////////////////////////////////////////////////////////////
    // Copyright &#65533; 2003 Michael Bird. All Rights Reserved                        //
    //                                                                           //
    // This file is part of Help Center Live.                                    //
    //                                                                           //
    // Help Center Live is free software; you can redistribute it and/or modify  //
    // it under the terms of the GNU General Public License as published by      //
    // the Free Software Foundation; either version 2 of the License, or         //
    // (at your option) any later version.                                       //
    //                                                                           //
    // Help Center Live is distributed in the hope that it will be useful,       //
    // but WITHOUT ANY WARRANTY; without even the implied warranty of            //
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             //
    // GNU General Public License for more details.                              //
    //                                                                           //
    // You should have received a copy of the GNU General Public License         //
    // along with Help Center Live; if not, write to the Free Software           //
    // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA //
    ///////////////////////////////////////////////////////////////////////////////

	// DEFAULT initialization of a module [BEGIN]
	include_once ($_SERVER["DOCUMENT_ROOT"]."/typo3conf/localconf.php");
	// DEFAULT initialization of a module [END]

        $TIMER_start = microtime();


        //-----------------------
        // Database config
        //-----------------------
	// Normaly you have to change nothing here!!!
        
        // The server your databse is on. This is usually localhost
        $DB_host = $typo_db_host;

        // The username used to access your database
        $DB_user = $typo_db_username;

        // The password used for this username
        $DB_pass = $typo_db_password;

        // The name of the database Help Center Live is installed on
        $DB_name = $typo_db;

        // If you want to add a prefix to the table names. Otherwise
        // leave blank
        $DB_prefix = "tx_cwthcl_";

        // If your database runs under a persistant connection.
        // Note leave this as 0 unless you know what you are doing.
        $DB_pconnect = 0;



        //----------------------
        // General config
        //----------------------
	// Change according to your needs!


        // The full URL to the directory Help Center Live is in.
        // Make sure you do not include a trailing slash '/'
        // e.g's:
        // Strict non-SSL Site - $URL_maindir = "http://www.meineseite.at/hcl";
        // Strict SSL Site - $URL_maindir = "https://www.meineseite.at/hcl";
        // Mixed SSL / non-SSL Site - $URL_maindir = "//www.meineseite.at/hcl";
        // Status bar only appears in chat windows when in strict SSL mode
        // It does not appear in mixed SSL mode as it cannot be verified whether
        // the operator is using an SSL connection as well as the visitor.
        $URL_maindir = "//www.meineseite.at/typo3conf/ext/cwt_hcl/hcl";

        // The directory that the files are located in. Make sure
        // you include a / at the beginning and end of the
        // directory name. If it is in a sub domain just use one /
        $URL_dir = "/typo3conf/ext/cwt_hcl/hcl/";

        // This path is the full server path to your Help Center Live
        // directory (excluding the trailing slash '/'). If you are using
        // a *nix server you can use $_SERVER["DOCUMENT_ROOT"] to get to
        // your web directory but Windows does not seem to recognise this
        // function.
        $HCL_path = $_SERVER["DOCUMENT_ROOT"]."/typo3conf/ext/cwt_hcl/hcl";



        // The name of your company. This will appear in the
        // title of any visable pages.
        $COMPANY_name = "Meineseite-Live";

        // The admin email of your company. This e-mail address
        // will be used in all automatic e-mails that are sent
        // from Help Center Live e.g. new registration e-mails
        $COMPANY_email = "info@meineseite.at";



        // The skin you want to use
        $SKIN_name = "default";

        // The language that will be used for the client side. Use the name
        // of the language file. e.g. if you are using spanishlang.php, in
        // the language setting put spannishlang
        $LANG_setting = "english";

        // The offset time from GMT you want time signatures to appear
        // e.g "-6" will be Central Time: Mexico City and Central America
        // leave as "0" for GMT
        $TIME_offset = "0";

        // If you want a forum url to be displayed underneath the faq url, set
        // to true, otherwise set to false
        $FORUM_show = "false";

        // If the above is set to true, this is the url that the link will go to
        $FORUM_url = "http://www.meineseite.at/forum/";



        // To check for updates on the control panel homepage, set to true,
        // otherwise set to false. Setting this to true will enable Help Center Live
        // to collect information about your website (which will not be distributed
        // to third parties) in order to produce usage statistics etc.
        // None of the information collected will be used in any unlawful ways.
        $HCL_update = "true";

        // If files are allowed to be attached to trouble tickets or transferred in
        // chat sessions 1 for yes, 0 for no
        $FILE_transfer = 1;

        // If you wish to monitor site traffic then this should
        // be left as 'yes' otherwise change to 'no'.
        $REQUEST_monitor_traffic = "yes";

        // In the message form you can send the message as an email
        // or a trouble ticket. If you want to send it as an email
        // then change this to 'email' otherwise leave as 'ticket'
        $MAIL_option = "ticket";

        // If you choose to use text status links then this prefix will
        // appear before 'ONLINE!' or 'Offline'
        // If it is a per department text link then this prefix will
        // appear before '[Department] ONLINE!' or '[Department] Offline'
        // e.g. Live Support ONLINE!  or  Live Support [Help] Offline
        $LIVE_text = "Live Support";

        // This is the format in which you want the operators messages
        // to appear. for example
        // $CHAT_opauthor = "first_last_dep";
        // will output..
        // 12.00 John Smith [Department]: Hi there how may I help you

        // $CHAT_opauthor = "user";
        $CHAT_opauthor = "first";
        // $CHAT_opauthor = "first_last";
        // $CHAT_opauthor = "first_last_dep";
        // $CHAT_opauthor = "first_dep";



        //----------------------
        // Live Help config
        //----------------------

        // Pixels width of traffic monitor window
        $REQUEST_width = "400";

        // Pixels height of traffic monitor window
        $REQUEST_height = "300";

        // Pixels width of operator chat window
        $CHAT_o_width = "400";

        // Pixels height of operator chat window
        $CHAT_o_height = "600";

        // Pixels width of guest chat window
        $CHAT_g_width = "400";

        // Pixels height of guest chat window
        $CHAT_g_height = "400";

        // The number of seconds the operator has to accept chat before
        // it polls to next operator
        $SESSION_timeout = "15";

        // The number of miliseconds to refresh the tracker.
        // This checks for initiated chat requests and updates the
        // visitors timer so they do not reamin idle and timeout
        $TRACKER_refresh = "10000";

        // The number of seconds the visitor can remain idle until
        // they timeout.
        $TRAFFIC_timeout = "30";

        // The number of seconds the visitor can remain idle until
        // their total time on site updates as a new visit.
        // Note that if this is different to $TRAFFIC_timeout and the
        // user revisits a page after between the $TRAFFIC_timeout
        // and $TRAFFIC_newvisit period the traffic monitor will not
        // refresh to show the visitor again.
        $TRAFFIC_newvisit = "30";

        // The number of miliseconds to refresh the chat window to check
        // for new chat messages recommended is 2000 to 5000
        $CHAT_refresh = "3000";

        // The number of seconds until the chat session times out
        $CHAT_timeout = "90";

        // The number of miliseconds to refresh the chat window to check
        // for any new visitors or chat requests recommended is 3000 to 5000
        $REQUEST_refresh = "5000";

        // The number of seconds the operator can remain idle until
        // their status changes to offline
        $LIVE_timeout = "15";



        //-----------------------
        // Other Config
        //-----------------------

	// This setting configures how the pipe.php handles emails
	// that do not have a trouble ticket attached.
	// 'true' will create a new trouble ticket, while 'false'
	// will leave them in your inbox.
        $EMAILS_createticket = true;


        // Do not change the lines below, they are used to
        // make sure the script runs correctly.

        // Start the session
        function start_session()
        {
            global $sid;
            $cookietime = time() + (60*60*24);
            session_id();
            session_start();
            session_set_cookie_params($cookietime, $URL_dir);
            $sid = session_name()."=".strip_tags(session_id());
            @ini_set("url_rewriter.tags", "");
        }

        // Date in the past
        header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

        // Always modified
        header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

        // HTTP/1.1
        header("Cache-Control: no-store, no-cache, must-revalidate");
        header("Cache-Control: post-check=0, pre-check=0", false);

        // HTTP/1.0
        header("Pragma: no-cache");

        error_reporting (E_ALL ^ E_NOTICE);

        // We dont want magic quotes because it changes ' to \'
        set_magic_quotes_runtime(0);

        // Just in case we cant change the magic quotes setting
        if (get_magic_quotes_gpc()) {
            foreach($_GET as $k => $v) {
                $_GET["$k"] = stripslashes($v);
            }
            foreach($_POST as $k => $v) {
                $_POST["$k"] = stripslashes($v);
            }
            foreach($_COOKIE as $k => $v) {
                $_COOKIE["$k"] = stripslashes($v);
            }
        }

        include_once($HCL_path."/inc/version.php");
?>
Siegi ·

Leute ihr müsst euch nicht alles durchlesen es geht ja nur um diesen part:
_________________________________________________________________________________
#
//-----------------------
#
// Database config
#
//-----------------------
#
// Normaly you have to change nothing here!!!
#

#
// The server your databse is on. This is usually localhost
#
$DB_host = $typo_db_host;
#

#
// The username used to access your database
#
$DB_user = $typo_db_username;
#

#
// The password used for this username
#
$DB_pass = $typo_db_password;
#

#
// The name of the database Help Center Live is installed on
#
$DB_name = $typo_db;
#

#
// If you want to add a prefix to the table names. Otherwise
#
// leave blank
#
$DB_prefix = "tx_cwthcl_";

_____________________________________________________________________________
bitte dringend um eure Hilfe...stimmen denn die Angaben von den TYPO3 Usern?????????????????????????