aboyz Posted June 6, 2003 Share Posted June 6, 2003 Hi, If anyone got this working Please zip up a working version with all the fixes so we can try it out. with all this error and confusion.. thanks Quote Link to comment Share on other sites More sharing options...
alfaowner Posted June 6, 2003 Share Posted June 6, 2003 Hi, If anyone got this working Please zip up a working version with all the You will be lucky! Quote Link to comment Share on other sites More sharing options...
aboyz Posted June 6, 2003 Share Posted June 6, 2003 Can someone Put all the fixes together. and Release a final Versiono f the Live Support Help. and add it to the contribution sectoin so others can download itl. Becuase right now its just too many stuff to fix.. and too many error.s Please someone gotta be kind enough to do this please do this thanks Quote Link to comment Share on other sites More sharing options...
dasalnt Posted June 9, 2003 Share Posted June 9, 2003 agreed Quote Link to comment Share on other sites More sharing options...
aboyz Posted June 10, 2003 Share Posted June 10, 2003 Please.... someone be kind enough, or please take some time enough to zip up a complete fix for the php live support, as this is one of the best contribution I seen so far. Please someone do it for me, I'll donate $10 for this contribution, as this is all I can afford, but will donate more if I make good money :) Thanks you Quote Link to comment Share on other sites More sharing options...
alfaowner Posted June 10, 2003 Share Posted June 10, 2003 Why dont you just go through the thread and make these changes anyway? Its actually quite easy. Dont be to lazy, the times I have seen you post, you could have done the changes x100 Regards, AO Quote Link to comment Share on other sites More sharing options...
aboyz Posted June 10, 2003 Share Posted June 10, 2003 Alfa. I have made the changes, and still getting problems, I made all the changes, but its not talking to each other, I would like to see someoen actually put upa LIVE DEMO so i can see it in action. Come on guys, Please share this live support module with ME>... I will donate some money to whoever give it to me. I know a small amount is not alot but if more people donate then its alot.. Again, Someone Pleaes be kind enought to add all the changes and upload a working copy with all the fixes . Thank you so much!!!!!! Quote Link to comment Share on other sites More sharing options...
Tank27 Posted June 20, 2003 Share Posted June 20, 2003 im using 1.3 and the update from 3/14. now i am trying to do the fixes from page 1 but there is no ls_reset or ls_hangup files in 1.3 what do i do? Quote Link to comment Share on other sites More sharing options...
tkeats Posted July 6, 2003 Share Posted July 6, 2003 (edited) I have had to reinstall this contrib. I am now using MS1 with the 1.2c version of LiveSupport. The problem I am having SEEMS to be coming from ls_comm_main.php What happens is this Start Live Support request for live support from the index.html file. Input name *box pops up listing the name for admin interaction* *I click on the user name to interact* The following comes up on screen... Parse error: parse error in /home/thomask/rainbowcomputers.ca/htdocs/admin/ls_comm_main.php on line 131 Now, Admin/sales can type, and the user will see. However the user types, and the admin/sales can NOT see whats being said. This is my ls_comm_main.php file <? /* ? ? ? ?Live Support v 1.2b ? ? ? ?Author: Mike Lessar <[email protected]> ? ? ? ?for use with: ? ? ? ?osCommerce v2.2, Open Source E-Commerce Solutions ? ? ? ?http://www.oscommerce.com ? ? ? ?Released under the GNU General Public License */ require('includes/application_top.php'); ?> <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv=Content-Type content="text/html; charset=windows-1252"> <style type=text/css>TD.main { ? ? ? ?FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: arial } TD.header { ? ? ? ?FONT-SIZE: 8pt; COLOR: #ffffff; FONT-FAMILY: arial } TD.hidden { ? ? ? ?FONT-SIZE: 0pt; COLOR: #ffffff; FONT-FAMILY: arial } A.bluelink { ? ? ? ?FONT-SIZE: 8pt; COLOR: #0000ff; FONT-FAMILY: arial; TEXT-DECORATION: none } A.bluelink:hover { ? ? ? ?TEXT-DECORATION: underline } .TextBox { ? ? ? ?BORDER-RIGHT: #000000 1px inset; BORDER-TOP: #000000 1px inset; FONT-SIZE: 12px; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-IMAGE: url('live_support/box_shadow.gif'); BORDER-LEFT: #000000 1px inset; COLOR: #000000; BORDER-BOTTOM: #000000 1px inset; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif } .Button { ? ? ? ?BORDER-RIGHT: #000000 1px inset; BORDER-TOP: #000000 1px inset; FONT-SIZE: 11px; BORDER-LEFT: #000000 1px inset; COLOR: #000000; BORDER-BOTTOM: #000000 1px inset; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif } .question { ? ? ? ?FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: arial } .reply { ? ? ? ?FONT-SIZE: 8pt; COLOR: #ff0000; FONT-FAMILY: arial } .system { ? ? ? ?FONT-SIZE: 8pt; COLOR: #008000; FONT-FAMILY: arial } </style> <script language=JavaScript> var countDownInterval=5; var c_reloadwidth=200 </script> </head> <body style="BACKGROUND-ATTACHMENT: fixed; MARGIN: 0px; BACKGROUND-REPEAT: no-repeat" leftMargin=0 topMargin=0 rightMargin=0 marginheight="0" marginwidth="0" class="TextBox"> <ilayer id=c_reload width="&{c_reloadwidth};"> <layer id=c_reload2 width="&{c_reloadwidth};" top="0" ? left="0"></layer> </ilayer> <script> var countDownTime=countDownInterval+1; else if (document.layers){ document.c_reload.document.c_reload2.document.write('<table ?width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="hidden"><b id="countDownText">'+countDownTime+'</b></td></tr></table>') document.c_reload.document.c_reload2.document.close() } counter=setTimeout("countDown()", 1000); } function startit(){ if (document.all||document.getElementById) document.write('<table ?width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="hidden"><b id="countDownText">'+countDownTime+'</b></td></tr></table>') countDown() } if (document.all||document.getElementById) startit() else window.onload=startit </script> <table cellSpacing=0 cellPadding=0 width="100%" border=0> ?<tbody> ?<tr> ? ?<td width=10></td> ? ?<td class=main> <? ? ? ? ?$windowstatus = 0; ? ? ? ?// lets see if the user has closed the session ? ? ? ?$lsstatus_query = tep_db_query("select status from " . TABLE_LS_STATUS . " where session_id = '" . $session . "' "); ? ? ? ?while($lsstatus = tep_db_fetch_array($lsstatus_query)) { ? ? ? ? ? ? ? ?$windowstatus = $lsstatus[status]; ? ? ? ?} ? ? ? ?if($windowstatus == '1') { ? ? ? ? ? ? ? ?// Lets read the contents of the conversation ? ? ? ? ? ? ? ?$conversation_query = tep_db_query("select id, guest, tech, message, tech_reply from " . TABLE_LS_CONVERSATIONS . " a where session_id = '" . $session . "' order by id desc"); ? ? ? ? ? ? ? ?while ($conversation =tep_db_fetch_array($conversation_query)) { ? ? ? ? ? ? ? ? ? ? ? ?if($conversation['tech_reply'] == '1') { ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?echo "<span class="question"><b>$conversation[tech]</b> $conversation[message] </span><br>n"; ? ? ? ? ? ? ? ? ? ? ? ?} ? ? ? ? ? ? ? ? ? ? ? ?if($conversation['tech_reply'] == '0') { ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?echo "<span class="reply"><b>$conversation[guest]</b> $conversation[message] </span><br>n"; ? ? ? ? ? ? ? ? ? ? ? ?} ? ? ? ? ? ? ? ? ? ? ? ?if($conversation['tech_reply'] == '3') { ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?echo "<p align="center" class="system"> $conversation[message]</p><br>n"; ? ? ? ? ? ? ? ? ? ? ? ?} ? ? ? ? ? ? ? ?} ? ? ? ?} else { ? ? ? ? ? ? ? ?if($conversation['tech_reply'] == '3') { ? ? ? ? ? ? ? ?echo "<p align="center" class="system"> $conversation[message]</p><br>n"; ? ? ? ?} ? ? ? ?} ?// line 131 // ? ? ? ?} else { ? ? ? ?echo " The User has left the conversation!<br>FIRST HANG UP and then End Support Session!!<form method=post action=ls_comm_exit.php onSubmit='this.mysubmitbutton1.value=Processing;return(true);'> ? ? ? ?<input type=hidden name=tech value=1> ? ? ? ?<input type=submit value=Hang Up name=mysubmitbutton1 ></form>"; } ?> ? ? ? ? ? ? ? ?<script> ? ? ? ? ? ? ? ? ? ? ? ?alert("The User has left the conversation!"); ? ? ? ? ? ? ? ? ? ? ? ?window.open('ls_comm_exit.php','conversation', 'width=100', 'height=100'); ? ? ? ? ? ? ? ?</script> ? ? ? ?<? } ?> ? ?</td> ?</tr> ?</tbody> </table> </body> </html> Any suggestions? Line 131 is marked by comment... I cant seem to see what I'm doing wrong... Thomas Keats Edited December 22, 2003 by Johnson Quote A signature is something that reflects its user. - The dictionary The question is not, 'to code, or not to code' the question is, 'if we do not code, are we really alive?' -- anonymous Link to comment Share on other sites More sharing options...
tkeats Posted July 6, 2003 Share Posted July 6, 2003 Uhm, nm, I think I got it... if($conversation['tech_reply'] == '3') { echo "<p align="center"class="system"> $conversation[message]</p><br>n"; } } } else { needed to be edited out / removed } simply an errant } in the section.. It works now, but I get a window that lasts all of 1-3 seconds on my screen, I dont even have time to read what it MIGHT contain, as it never parses anything. Gets annoying when I am trying to do certain tasks and it steals my focus.. Thomas Keats Quote A signature is something that reflects its user. - The dictionary The question is not, 'to code, or not to code' the question is, 'if we do not code, are we really alive?' -- anonymous Link to comment Share on other sites More sharing options...
michellez1 Posted July 7, 2003 Share Posted July 7, 2003 This is a version I modified in January. Instructions and files are packed in a zip file that you can download here: http://www.wwwebcentral.com/Livesupport.zip *** VERY IMPORTANT *** Just because I've been using it (problem-free) since January, does not mean it will work for you! And before anyone asks, I'm now using the MS1 version - but it was successful with the previous version. Also, I say this in the readme file - but I'll say it here - ALWAYS backup your database and any files you are going to alter BEFORE you modify them. Just because the modifications from Live Support are minor compared to other scripts - does not ensure your files are safe from corruption, which can happen during file uploads and transfers. That was my "tip of the day". :wink: Anyway - I will also offer to "test" your installed live support for you, if you PM me through my username (michellez1). Regards, Michelle Quote Link to comment Share on other sites More sharing options...
Tank27 Posted July 8, 2003 Share Posted July 8, 2003 OK i get no page and this in the title when we click live support in the admin section http://www.tank27.com/shop/admin/FILENAME_LIVE_SUPPORT and page does not exist Quote Link to comment Share on other sites More sharing options...
michellez1 Posted July 8, 2003 Share Posted July 8, 2003 Open catalog/admin/includes/application_top.php Add: define('FILENAME_LIVE_SUPPORT', 'live_support.php'); Close and Save! Open catalog/includes/application_top.php Add: define('FILENAME_LIVE_SUPPORT', "java script:void(0);" onclick="window.open('live_support.php','livesupport','width=280,height=280') Close and Save! Note to self: Add to readme file. Sorry bout that...Was hoping I didn't miss any steps - it's only been 6 months since I installed this. :oops: Regards, Michelle Quote Link to comment Share on other sites More sharing options...
michellez1 Posted July 8, 2003 Share Posted July 8, 2003 I fixed the readme file. HTH. Regards, Michelle Quote Link to comment Share on other sites More sharing options...
Tank27 Posted July 8, 2003 Share Posted July 8, 2003 now i get 1146 - Table 'shop.TABLE_LS_TECHS' doesn't exist select status from TABLE_LS_TECHS where tech_id=1 [TEP STOP] Quote Link to comment Share on other sites More sharing options...
michellez1 Posted July 8, 2003 Share Posted July 8, 2003 Okay, I fixed the README again - I sent you an email with the fix (uploaded the corrected .zip file). Let me know if I missed anything else. :oops: Hopefully, this time - I got it all. Regards, Michelle Quote Link to comment Share on other sites More sharing options...
jloos Posted July 8, 2003 Share Posted July 8, 2003 i installed the livesupport contribution, but something went wrong..... i got this : Parse error: parse error, unexpected T_VARIABLE, expecting ']' in /usr/home/erodvdzaak/www/html/catalog/includes/application_top.php on line 205 Warning: main(DIR_WS_LANGUAGES/FILENAME_DEFAULT) [function.main]: failed to create stream: No such file or directory in /usr/home/erodvdzaak/www/html/catalog/default.php on line 33 Fatal error: main() [function.main]: Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='.:/usr/local/lib/php') in /usr/home/erodvdzaak/www/html/catalog/default.php on line 33 when i remove the following line : define('FILENAME_LIVE_SUPPORT', "java script:void(0);" onclick="window.open('live_support.php','livesupport','width=280,height=280') ; from /catalog/includes/application_top.php it is oke again, but does'nt work...... anyone has a clue ??? thx ... Quote Link to comment Share on other sites More sharing options...
michellez1 Posted July 8, 2003 Share Posted July 8, 2003 Should be: define('FILENAME_LIVE_SUPPORT', "java script:void(0);" onclick="window.open('live_support.php','livesupport','width=280,height=280') "); Not: define('FILENAME_LIVE_SUPPORT', "java script:void(0);" onclick="window.open('live_support.php','livesupport','width=280,height=280') ; Notice the ") before the ; Try that - that should fix the problem. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 9, 2003 Share Posted July 9, 2003 Only one window go up and down all the time, but I have many computers so no problem. But is it one way i can remove the window come up all the time in admin, every time it refrech. The window come up 1 sec but then go away again. Not the little window, with text but one bigger. We have also install order processing module, our site begin be very good. I like this, and sales go up, up uppp. :) 8000USD in juni. I love this work.. Quote Link to comment Share on other sites More sharing options...
jloos Posted July 9, 2003 Share Posted July 9, 2003 Okay ! this works............ thanx !!! Should be: define('FILENAME_LIVE_SUPPORT', "java script:void(0);" onclick="window.open('live_support.php','livesupport','width=280,height=280') "); Not: define('FILENAME_LIVE_SUPPORT', "java script:void(0);" onclick="window.open('live_support.php','livesupport','width=280,height=280') ; Notice the ") before the ; Try that - that should fix the problem. grtz. Hans Quote Link to comment Share on other sites More sharing options...
Tank27 Posted July 10, 2003 Share Posted July 10, 2003 I got it and it works in the template system. have you tried the affiliate contrib Quote Link to comment Share on other sites More sharing options...
Tank27 Posted July 10, 2003 Share Posted July 10, 2003 It doesnt work. i get page does not exist after you enter your name in the live support chat window do i need to change this? <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> Quote Link to comment Share on other sites More sharing options...
michellez1 Posted July 10, 2003 Share Posted July 10, 2003 Make sure you have this code at the top of every page: require('includes/application_top.php'); It doesnt work. i get page does not exist after you enter your name in the live support chat window do i need to change this? <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> Quote Link to comment Share on other sites More sharing options...
michellez1 Posted July 10, 2003 Share Posted July 10, 2003 If you have your catalog in the catalog directory, it would be this: require('catalogs/includes/application_top.php'); instead of: require('includes/application_top.php'); Quote Link to comment Share on other sites More sharing options...
michellez1 Posted July 10, 2003 Share Posted July 10, 2003 Just woke up - sorry...Long night. As I think about this more...depending on how you have your DIR_WS_CATALOG set - you might really only have to change the: require('includes/application_top.php'); to: require('/includes/application_top.php'); You'll have to see which way works for you. But it's most likely one of these things. Regards, Michelle If you have your catalog in the catalog directory, it would be this: require('catalogs/includes/application_top.php'); instead of: require('includes/application_top.php'); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.