merlin-1 Posted October 19, 2011 Share Posted October 19, 2011 I want to remove all communication from my site to prestashop. It slows down load, its info I don't need as I get emails, and as we have seen before it leaves site open to risk What code do I edit or delete to remove all links into back office? Thanks! Link to comment Share on other sites More sharing options...
tomerg3 Posted October 20, 2011 Share Posted October 20, 2011 Edit /admin/tabs/AdminHome.php look for if (!isset($cookie->show_screencast)) $cookie->show_screencast = true; and add the following line below if (!isset($cookie->show_screencast)) $cookie->show_screencast = true; $cookie->show_screencast = false; //This will disable the request to the Prestashop server. Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2011 Share Posted October 20, 2011 Hi tomerg3 - I can;t find this code - I wonder if it has been changed in the new release?. Closest I can find is if ($employee->bo_show_screencast) echo' <div id="adminpresentation"> <iframe src="'.$protocol. Link to comment Share on other sites More sharing options...
merlin-1 Posted October 20, 2011 Author Share Posted October 20, 2011 Thanks tomerg3 Doesn't seem to do the trick. Link to comment Share on other sites More sharing options...
tomerg3 Posted October 20, 2011 Share Posted October 20, 2011 On PS 1.4.5 in /admin/tabs/Adminhome.php Change Line #169 to if (false && @ini_get('allow_url_fopen')) Change line 184 to if (false && $employee->bo_show_screencast) Link to comment Share on other sites More sharing options...
merlin-1 Posted October 20, 2011 Author Share Posted October 20, 2011 I'm still in 143 so the coding is different it appears Is there a simple way to maybe just comment out screencasts.prestashop.com or something? I imagine there are a dozen various files versions so line number makes it hard to work out. Appreciate the help Link to comment Share on other sites More sharing options...
tomerg3 Posted October 20, 2011 Share Posted October 20, 2011 The line numbers may be different, but the idea is the same, add to the if (....) , if (false && ...) Link to comment Share on other sites More sharing options...
merlin-1 Posted October 20, 2011 Author Share Posted October 20, 2011 I was able to change: if (false && @ini_get('allow_url_fopen')) But dont have: $employee->bo_show_screencast) Link to comment Share on other sites More sharing options...
tomerg3 Posted October 20, 2011 Share Posted October 20, 2011 Around line #177 change to if (false && $cookie->show_screencast) Link to comment Share on other sites More sharing options...
merlin-1 Posted October 20, 2011 Author Share Posted October 20, 2011 Ok, thanks Both code line changed. Feed is still showing in BO. Cleared cache and refreshed, still showing Link to comment Share on other sites More sharing options...
tomerg3 Posted October 20, 2011 Share Posted October 20, 2011 can you post a screenshot? I just tried it on a fresh 1.4.3 and the dashboard message is missing. Link to comment Share on other sites More sharing options...
merlin-1 Posted October 21, 2011 Author Share Posted October 21, 2011 Screenshot of the code? Or the BO? Its there, I dont need to confirm that, so I have to assume you mean the code. Correct? Thanks Link to comment Share on other sites More sharing options...
wmdwebs Posted June 11, 2012 Share Posted June 11, 2012 I was looking to do the same if possible on version 1.4.8.2 thank you Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 11, 2012 Share Posted June 11, 2012 I was looking to do the same if possible on version 1.4.8.2 thank you Hi wmdwebs, PrestaShop has no connection to your store in version 1.4.8.2. I hope this helps clear things up. -Mike Link to comment Share on other sites More sharing options...
wmdwebs Posted June 11, 2012 Share Posted June 11, 2012 in the back office there is a right column or div - that includes; A Good Beginning, PrestaShop Link, PrestaShop News blocks. I thought there was a check box someplace to turn this off for employees, but that is what I am looking to do. The shop employees do not need to be reading the PrestaShop newsletters, access these forums, go to the addon.prestashop.com links, etc hope this explains exactly what I mean. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 11, 2012 Share Posted June 11, 2012 Ah ok, that's a different question from what was introduced in this thread, but for what you're looking to do, you just need to go to Preferences in your Back Office and set "Hide Optimization Tips" to "Yes." I hope this helps. -Mike Link to comment Share on other sites More sharing options...
wmdwebs Posted June 11, 2012 Share Posted June 11, 2012 Ah ok, that's a different question from what was introduced in this thread, but for what you're looking to do, you just need to go to Preferences in your Back Office and set "Hide Optimization Tips" to "Yes." I hope this helps. -Mike Mike - Sorry if I took the topic incorrectly. the preference you indicated had already been set to "yes" as indicated Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 11, 2012 Share Posted June 11, 2012 Mike - Sorry if I took the topic incorrectly. the preference you indicated had already been set to "yes" as indicated If you've already manually minimized these, the option automatically sets itself from No to Yes. -Mike Link to comment Share on other sites More sharing options...
wmdwebs Posted June 11, 2012 Share Posted June 11, 2012 Mike - I just logged into the back office as an employee (salesman), the 3 blocks on the right column are still there in the back office. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 11, 2012 Share Posted June 11, 2012 Mike - I just logged into the back office as an employee (salesman), the 3 blocks on the right column are still there in the back office. Can you please check the status of that Preferences setting using the Employee account? -Mike Link to comment Share on other sites More sharing options...
wmdwebs Posted June 11, 2012 Share Posted June 11, 2012 I am using 1 browser for the salesman account, it does not have access to the preferences setting, I am using another browser for the admin account - the preferences setting is as it should be...hide "yes" Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 11, 2012 Share Posted June 11, 2012 If you want to remove all of that, you can try the suggestions posted here. Just make sure you've backed everything up beforehand. -Mike Link to comment Share on other sites More sharing options...
Recommended Posts