Tudolegal Posted April 15, 2006 Share Posted April 15, 2006 (edited) Hi, this is a very good contribution but i have a problem ! when i log into my admin then click "Start Live Support" it opens the window for file: admin/ls_callwaiting.php All working fine ! But with every 5 secounds I have another window POPING UP from /admin/ls_callwaiting.php This is very annoying this is a great contribution but i might not be able to use it because i cannot use my computer for anything else ! Since every 5 seconds this window popups in front of everything! Is this popup really necessary ? How can i block it so i dont get it poping up every 5 seconds? Very annoying little bug for me ! The contribution works fine ! ALL GOOD except this window that keeps poping up calling LS_CALLWAITING.PHP every 5 seconds, and this cant be accepted, only for those that run a computer only for this support chat feature! Thanks allot hope someone has a solution for me! Edited April 15, 2006 by Tudolegal Quote Link to comment Share on other sites More sharing options...
Tudolegal Posted April 15, 2006 Author Share Posted April 15, 2006 If i set POPUP BLOCKER from my browser it doesnt work! I get busy moderators and in my admin i get no user allerts ! Quote Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2006 Share Posted December 8, 2006 (edited) I'm having the same problem! I have no idea how to fix it. Please someone help! Edited December 8, 2006 by claybor Quote Link to comment Share on other sites More sharing options...
gayla Posted January 8, 2007 Share Posted January 8, 2007 I'm having the same problem! I have no idea how to fix it. Please someone help! I just installed this contrib over the weekend and I'm having the same problem. It actually worked just fine right after the install but today, when I had a friend outside of my own office try it, the pop ups started as soon as we ended the session. Anyone have any idea on this? Or any suggestion for a different live support contrib that doesn't do this? Thanks, Gayla Quote Link to comment Share on other sites More sharing options...
Micke Posted January 9, 2007 Share Posted January 9, 2007 Hi All! I have been using this contribution for a month without any problems. Today I got the same problem as the rest of you here. If I understand things right this is the code that triggers the window to open (in ls_messages.php) <? $status_query = tep_db_query("select status from " . TABLE_LS_TECHS . " a where tech_id ='1' "); while ($status = tep_db_fetch_array($status_query)) { if($status['status'] == 'yes') { echo "<p align=\"center\"><b style=\"font-size:16pt;\">Waiting for a call!</b></p>\n"; $i = 0; $conversation_query = tep_db_query("select guest, session_id from " . TABLE_LS_CONVERSATIONS . " a where tech ='Support' "); while ($conversation =tep_db_fetch_array($conversation_query)) { $i++; } if($i > 0) { echo "<script>NewWindow('ls_newcall.php','conversation','280','320','no')</script>\n"; } } if($status['status'] == 'busy') { echo "<p align=\"center\"><b style=\"font-size:16pt;\">Busy!</b></p>\n"; } } ?> This is the Javascript it calls: <script language="javascript"> var limit="0:5" if (document.images){ var parselimit=limit.split(":") parselimit=parselimit[0]*60+parselimit[1]*1 } function beginrefresh(){ if (!document.images) return if (parselimit==1) window.location.reload() && window.scroll(0,20000) else{ parselimit-=1 curmin=Math.floor(parselimit/60) cursec=parselimit%60 if (curmin!=0) curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!" else curtime=cursec+" seconds left until page refresh!" setTimeout("beginrefresh()",1000) } } window.onload=beginrefresh var win = null; function NewWindow(mypage,myname,w,h,scroll){ LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; TopPosition = (screen.height) ? (screen.height-h)/2 : 0; settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable' win = window.open(mypage,myname,settings) } </script> Is the problem in the database? Why does the problem appear? //Micke Quote Link to comment Share on other sites More sharing options...
Micke Posted January 9, 2007 Share Posted January 9, 2007 Hi All! OK, problem is solved. I had missed a call and the database was not cleaned up. I had to use phpMyAdmin to go into the table "ls_conversations" and delete a couple of entries there... Now everything works fine... //Micke Quote Link to comment Share on other sites More sharing options...
CD Monster Posted July 21, 2007 Share Posted July 21, 2007 (edited) Hi All! OK, problem is solved. I had missed a call and the database was not cleaned up. I had to use phpMyAdmin to go into the table "ls_conversations" and delete a couple of entries there... Now everything works fine... //Micke Thanks Micke, thats solves the popup problem and it runs ok.. but Im having this problem.. wonder if anyone has a hint. : The script runs fine on the index and some other pages but will not work on the products_info page. If you click to view a product, then on the column left click on the "live support" the new window opens but to the index, not to the live_support page. But if you are on index, reviews or any page that is not a product page. then its like it loses the base url. anyone have this problem or sees whats going on.. thanks :'( this problem also hapens if you switch languages if you run a bi-lingual site. Edited July 21, 2007 by CD Monster Quote Music is body splash for the soul. 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.