ADDCreative

Results 25 comments of ADDCreative

Would not a better way to do this be to use the user_group_id. That way with a bit more modification you can make the permissions uneditable and always selected for...

Yes, that way it's clear that top admis will always have full permissions. At the moment you could have two users in the admin group (say user_id = 1 and...

So if making a super admin you would need to. - Make super admin have all permissions (as you have done) - Prevent super admin from being deleted - Have...

I can't see any case where the encryption class is used before storing order details in the database. Other than the filename of an upload file on reorder, which is...

@lucasjkr I see, I was looking at a old version. before this commit, https://github.com/copona/copona/commit/7be2d8b549ffaf91aaf63055af8144db2062901d, which has introduced a bug by using the old method of decrypting the file option. This...

@arnisjuraga Almost right. The filename should not be encrypted at all. You need to change the line in catalog/model/tool/upload.php back to: ```php $code = sha1(uniqid(mt_rand(), true)); ``` And also change...

A bit off topic. The Goolge sitemap has an issue in that the products are listed 3 times with different URLs. This not only increases the generation time, but wastes...

@stalker780 You shouldn't punycode first part of an email address (I think that was dropped over 10 years ago), it should be in UTF-8. filter_var has a flag FILTER_FLAG_EMAIL_UNICODE to...

@stalker780 and @mhcwebdesign Validating is just the tip of the iceberg and is pretty simple. Just convert the domain part to IDNA ASCII form and validate the email using filter_var...

@danielkerr please don't release the [opencart-3](https://github.com/opencart/opencart-3) branch as 3.0.3.9. There are too many changes that will be incompatible with themes and extensions. Nearly all the function and method definitions have...