X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Live Chat and additional modules help (https://forum.x-cart.com/showthread.php?t=68782)

qualiteam 03-15-2014 01:34 AM

Re: Live Chat and additional modules help
 
How do you restart the process? Try deleting the [xc]/var directory and then open the "admin.php" script in your browser (i.e. the back end, not the storefront - opening the storefront won't start the cache rebuilding process). Does this help?

xanadude 03-15-2014 03:42 AM

Re: Live Chat and additional modules help
 
I have tried this but it does nothing all I get is the maintenance screen

http://wemakeanyshirt.com/shop2014/admin.php

I have removed the /var folder and it recreated a new one but been sat at maintenance screen for near 2 days now.
do not want to start again for a 4th time due to this

xanadude 03-15-2014 04:44 AM

Re: Live Chat and additional modules help
 
disabled the sslseal module via SQL and its back

tony_sologubov 03-19-2014 05:45 AM

Re: Live Chat and additional modules help
 
Hi!

So, do I understand you correctly that SslSeal module caused this problem?

xanadude 05-27-2014 11:24 AM

Re: Live Chat and additional modules help
 
sorry Tony missed your reply - no it was not the ssl seal module.... as i re-enabled it and all was fine... not sure what the issue was....

Downside is now its no longer supported in 5.1 and I need to get the ssl seal back on and the app link images + the livechat that I had got working within it

:)

Many thanks

tony_sologubov 05-28-2014 04:08 AM

Re: Live Chat and additional modules help
 
Hi!

The first thing you need to do with your custom modules is
1) Find their Main.php files
2) Change getMajorVerion() method there, so it would return 5.1 instead of 5.0. After next cache rebuild, you will be able to use them.

xanadude 05-28-2014 04:43 AM

Re: Live Chat and additional modules help
 
Thanks Tony
Not that clever but I will try it on the demo/clone store as a learner

:)

tony_sologubov 05-28-2014 05:09 AM

Re: Live Chat and additional modules help
 
Quote:

Originally Posted by xanadude
Thanks Tony
Not that clever but I will try it on the demo/clone store as a learner

:)


I would recommend making experiments on dev copy of your store in order to be sure that your live store is not affected.

Moreover, I believe, you already have dev one installation.

xanadude 05-28-2014 11:20 AM

Re: Live Chat and additional modules help
 
Hi Tony

Thanks for the heads up
I got Live Livechat working in my local test site now on my desktop pc.... all I have done is put the live chat code in the skins/default/en/header/body.tpl

so the contenreads a little like this

<head{foreach:getHeadAttributes(),k,v} {k}="{v}"{end:}>
<list name="head" /><!--Begin Comm100 Live Chat Code-->
<div id="comm100-button-###"></div>
<script type="text/javascript">
var Comm100API = Comm100API || new Object;
Comm100API.chat_buttons = Comm100API.chat_buttons || [];
var comm100_chatButton = new Object;
comm100_chatButton.code_plan = ###;
comm100_chatButton.div_id = 'comm100-button-728';
Comm100API.chat_buttons.push(comm100_chatButton);
Comm100API.site_id = ######;
Comm100API.main_code_plan = ###;
var comm100_lc = document.createElement('script');
comm100_lc.type = 'text/javascript';
comm100_lc.async = true;
comm100_lc.src = 'https://chatserver.comm100.com/livechat.ashx?siteId=' + Comm100API.site_id;
var comm100_s = document.getElementsByTagName('script')[0];
comm100_s.parentNode.insertBefore(comm100_lc, comm100_s);
</script>
<!--End Comm100 Live Chat Code-->
</head>

this uses the floating button so mine is always on the right side of the page.
Hope this helps others

thanks

tony_sologubov 05-28-2014 11:27 AM

Re: Live Chat and additional modules help
 
The problem with this approach is that next (even minor) upgrade will erase this change. It is OK as a quick solution, but you need a separate module in the long run.


All times are GMT -8. The time now is 05:20 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.