I intigrated shine live with sugarcrm.but the crm link is not visible for creating lead.Is there any diffrence between visitor ,operator and user.As add to CRM link is only visible for users other than operator can any one tell me how to create users that are not operator?
here is config php file of shinelive. let me know if there are any changes.
<?php
//================================================== =========================
//* -- ~~ Shine Live Help ~~ -- *
//================================================== =========================
// URL: http://www.iradeon.com/shine.html EMAIL: info@iradeon.com
// Copyright (C) 2006 iRadeon Group Inc. (http://www.iradeon.com )
// --------------------------------------------------------------------------
// LICENSE:
// This program 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;
// This program 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 this program in a file named LICENSE.txt .
// --------------------------------------------------------------------------
// set this to true if false you will be re-directed to the setup page
$installed=true;
if(empty($_SERVER)){ $_SERVER = $HTTP_SERVER_VARS; }
// if this program has not been installed and this is not the setup.php
// re-direct to that page to setup database..
if( ($installed == false) && (!eregi("setup.php", $_SERVER['PHP_SELF'])) ){
Header("Location: setup.php");
exit;
}
// if this file has insecure permissions:
if($installed==true){
$perm = @stat("config.php");
if(!(empty($perm[2]))){
if( ($perm[2] == "33279") || ($perm[2] == "33278") || ($perm[2] == "33270") ){
@chmod("config.php", 0755);
$perm = @stat("config.php");
if(!(empty($perm[2]))){
if( ($perm[2] == "33279") || ($perm[2] == "33278") || ($perm[2] == "33270") ){
print "<font color=990000>You must secure this program. Insecure permissions on config.php</font>";
print "<br>While installing CSLH you might of needed to change the permissions of config.php so ";
print "that it is writable by the web server. config.php no longer needs to be written to so ";
print " please chmod config.php to not have write permissions for everyone. you can do this by";
print " UNCHECKING the box that reads write permissions for the file:";
print "<br><br><img src=directions2.gif>";
exit;
}
}
}
}
}
// dbtype either is either:
// mysql - this is for Mysql support
// txt-db-api - txt database support.
$dbtype = 'mysql';
//database connections for MYSQL
$server = 'localhost';
$database = 'SugarCRM';
$datausername = 'sugarcrm';
$password = 'sugarcrm';
// change this to the full SERVER path to your files
// on the server .. not the HTTP PATH.. for example enter in
// $application_root = "/usr/local/apache/htdocs/livehelp/"
// not /livehelp/
// keep ending slash.
// WINDOWS would look something like:
// $application_root = "D:\\virtual www customers\\craftysyntax\\livehelp_1_6\\";
$application_root = 'C:\\Projects\\shine\\';
// if using txt-db-api need the path to the txt databases directory
$DB_DIR = '\\';
// if using txt-db-api need to have the full path to the txt-db-api
// you must set this property to something like /home/website/livehelp/txt-db-api/
$API_HOME_DIR = 'C:\\Projects\\shine\\' . 'txt-db-api/';
$CRM_ISADMIN = 1;
# Modify the following variables to enable SugarCRM integration.
$SOAP_ENABLED = true;
$SUGARDB = 'SugarCRM';
$SUGARDB_USERNAME = 'sugarcrm';
$SUGARDB_PASS = 'sugarcrm';
$SUGAR_URL = 'http://localhost:8080/SugarCRM';
$SUGAR_PATH ='C:\\Projects\\SugarCRM\\';
$SOAP_ID = '1';
?>
Thanks


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks