-
Posts
19 -
Joined
-
Last visited
About the_lyall
- Birthday 04/10/1985
Profile Information
-
First Name
Lyall
-
Last Name
Brandon-Smith
the_lyall's Achievements
-
Urgent Security Issue With Shared Ip Address
the_lyall replied to the_lyall's topic in Core developers
Thanks for the advice - I'll do some more testing and see what I can find out.- 4 replies
-
- ip address
- security
-
(and 1 more)
Tagged with:
-
Urgent Security Issue With Shared Ip Address
the_lyall replied to the_lyall's topic in Core developers
I think the problem is more fundamental than specific to the setup where I work. When I visit the website from a home address (my girlfriend's house for example) I do not want to be automatically logged in and be able to see their orders, even using a device that has never been in the building before. I find it strange that the website treats the building (IP) as a single customer and assumes there is only one customer per household?- 4 replies
-
- ip address
- security
-
(and 1 more)
Tagged with:
-
I work in a business with several hundred computer terminals, and they all connect to the internet through a central firewall with a single externally facing IP address. The problem I have is that if someone logs into my website within the network, if anyone else visits the site within the network they are automatically logged in as the other person! They can see order history, loyalty points, everything. If one of the people then logs out of my website, then everyone is logged out. It is the same with any customer account as I have tested it. And to be clear, I was testing using terminals that had never previously visited my website at all by any customer. Please can someone urgently advise how to fix this security issue? I would think that security would be linked to session or cookies rather than IP address?? I use Prestashop 1.6.1.0 and I'd like to avoid upgrading (as I've modified a lot of the core template files, nothing to do with registration, logging in or security though). Thanks
- 4 replies
-
- ip address
- security
-
(and 1 more)
Tagged with:
-
OK I figured out how to create an export of this information (who is waiting for each product) - in MySql run the following select script (it's just a selection, no need to worry about it changing any of the data): SELECT DISTINCT customer_email, name, description_short, description FROM ps_mailalert_customer_oos mc INNER JOIN ps_product_lang pl on mc.id_product = pl.id_product WHERE mc.id_lang = 1 GROUP BY customer_email, name This won't give you a count but it will show you the email addresses and product names/descriptions that they have requested notifications for. You can then export this to Excel and sort, sum, total or do what you want. If you have more than one language (or use a different language) change the mc.id_lang = 1 to the ID of the language you want to check. I'm working on a version that includes product attributes too (colour etc.) which includes the ps_product_attribute_combination and ps_attribute_lang tables but I'm having difficulties getting it to populate correctly. I'll update this when I figure it out. Hope this helps! http://suck.direct
-
Store address on Delivery Slips?
the_lyall replied to the_lyall's topic in Configuring and using PrestaShop
I'd also like to move the delivery address to the bottom right corner too if that's possible... -
Hello awesome Prestashop people! Sorry if this is a stupid question but I've been poking around for ages and haven't found where it is. When I print my delivery slips it just says 'United Kingdom' under the logo (see attached image). Does anyone know where I can change this to list the full address? I'm using 1.6.1.0 and have checked everywhere I can think of including 'Contact Details' in Store Contacts. I'm quite happy to hard-code it into the PDF generation if someone can point me in the right direction. Alternatively, getting rid of 'United Kingdom' so nothing is showing would be acceptable. Thanks, Lyall
-
I have resolved this by adding the following script to the global.js file in themes/mytheme/js/ folder $(document).ready(function () { var links = document.getElementsByTagName('a'); for (var i = 0; i < links.length; i++) { links[i]._title = links[i].title; links[i].onmouseover = function () { this.title = ''; } links[i].onmouseout = function () { this.title = this._title; } } }); Works like a charm!
-
[SOLVED] 'My alerts' in My account - where to change?
the_lyall replied to the_lyall's topic in Core developers
Sorted - to add the icon I needed to edit prestashop\modules\mailalerts\views\templates\hook\my-account.tpl To remove the duplicate breadcrumbs I needed to edit prestashop\modules\mailalerts\views\templates\front\mailalerts-account.tpl -
Hello, Hopefully this is an easy one. Please can someone tell me which files I need to edit in order to: a) add the missing font awesome icon to the list in My Account b ) remove the duplicate breadcrumbs after clicking the link I've tried editing every .tpl file with anything remotely related to myaccount or blockmyaccount and can't find anything relating to 'my alerts' in either the theme folder or the root folder. I also checked the translations in case it was referring to something else but nothing. I've attached some screenshots of what I'm up against. I appreciate any help! Thanks
-
Hello Does anyone know how I can change the error lists generated by Prestashop from <ol> to <ul>? The numbers next to the errors annoy me... In particular for the login/register page more than anything, I've looked at the tpl files and can't see anything (changing the one <ol> that is there makes no difference). I'm using Prestashop 1.6.1.0. Thanks