Jump to content

Foster

Members
  • Posts

    86
  • Joined

  • Last visited

    Never
  • Days Won

    19

Posts posted by Foster

  1. Hello,

    It's not so difficult to make an upgrade. I look the update, there 2 sql update.
    in first, go to your phpmyadmin and update the Db.
    in second, just send the files in your server.

    Do not forget it's a pre release, some modification can be made the last minute

    For you it's good to make a test.


    That's all.

     

    My recommendation before that, do the update in your local server, If your have no problem, go in production.

    About the module, it will have no problem.

     

     

    • Like 3
    • Thanks 2
  2. For moment, some badbots can  very aggressive.

    There a solution to block this elements via your htaccess

     

    ##################################
    # Bot
    ##################################
    #Rules to block bad bods from accessing web pages on your site.
    #Remove or add more rules as per your needs.
    BrowserMatchNoCase "Baiduspider" bots
    BrowserMatchNoCase "SemrushBot" bots
    BrowserMatchNoCase "Yandex" bots
    BrowserMatchNoCase "BLEXBot" bots
    BrowserMatchNoCase "AhrefsBot" bots
    BrowserMatchNoCase "DotBot" bots
    BrowserMatchNoCase "Exabot" bots
    BrowserMatchNoCase "SeznamBot" bots
    BrowserMatchNoCase "aiHitBot" bots
    BrowserMatchNoCase "spbot" bots
    BrowserMatchNoCase "MJ12bot" bots
    BrowserMatchNoCase "oBot" bots
    BrowserMatchNoCase "DeuSu" bots
    BrowserMatchNoCase "ia_archiver" bots
    BrowserMatchNoCase "MetaURI" bots
    BrowserMatchNoCase "FlipboardProxy" bots
    
    Order Allow,Deny
    Allow from ALL
    Deny from env=bots

     

     

    • Thanks 4
  3. Hi @Julie,

     

    I don't know, for me I try to download an image by a size in 640px. I think it's enough for the product image description.

    After, maybe the script allowing to resize the image has a maximum.

    - Test some image with this resolution 1024, 2048 ... You will see where is the limit.

    - The second point it also could be the weight of the image.

  4. Hello @CoucheTard

     

    Your logo scare me :)

    Yes, you can develop your own modules, Look the code inside the module, you will have some other function than you can use.

    For example you can integrate the reviews evaluation or you can create something else.

    For the reviews, you can create another template and put inside.
    Create another module, or template allow you to maintain more easily your application without to tell you what files I need to change or to look.

    Of course, if there is an update, you must look inside your own module if you must adapt something.

     

    But the best, it to create a new template and inside include the files than you must want to change.

    Look the template on the marketplace, it will help you.

     

    • Haha 1
  5. No you do not have to. It's not mandatory

    You can install composer inside your dev and after if you install a library and develop something (or update the libraries),

    you can export your dev in  production.

    It's better to check in dev before because when you are in production, and you have an error it's not very nice !!

    Composer help lot of when you try to develop something with a library like phpmailer (it's including inside ClicShopping).

    But it's an example.

     

    Composer change these files when you make an action with composer.

    /shop/composer.json

    /shop/composer.lock

    /includes/ClicShoping/External/vendor

     

    Let me know if you want more information.

     

    • Thanks 1
  6. @Julie,

    In your case, you can not install the apps but the library will not installed. You must make another action via your terminal to finish to install the library.

    After you can activate the apps.

     

    The terminal command is :

     

    composer require mylibrary
    composer update mylibrary
    composer update (for all library)
    composer remove mylibrary

    If you have this message you can not make an update via the administration, you will see just the version installed.

     

    @SuperThin, As i Said ClicShopping, it's better for you to make a manual update.
    You can look the apps accross the admin, but it's better to download and install after

    Also you can look via Github or via the marketplace.

    Some hoster make restriction and its not possible to know before to make a test.

     

    • Thanks 1
    • Haha 1
  7. Hello,

    if you want to know the library version and look if there is an update, yes it can be.

    I have not installed this app but it just display the information for moment.
    It will be cool if it's possible to make an action like update around that.

    A library can have bugs, secutiy problem ....

  8. A service worker is a script that your browser runs in the background, separate from a web page, opening the door to features that don't need a web page or user interaction. Today, they already include features like push notifications and background sync. In the future, service workers might support other things like periodic sync or geofencing. The core feature discussed in this tutorial is the ability to intercept and handle network requests, including programmatically managing a cache of responses.

    The reason this is such an exciting API is that it allows you to support offline experiences, giving developers complete control over the experience.

     

    more info there : https://developers.google.com/web/fundamentals/primers/service-workers

    • Thanks 2
  9. Hello,

     

    This tutorial allow you to create a cron to save your db in daily.

    if you want to change the delay, you can use this site to help you : https://crontab-generator.org/

     

    Inside your server create a files : saveCronTabDb.sh with execute right (chmod 755)

     

    #!/bin/bash
    
    
    DB_USER='MyUserName'
    DB_PASS='MyPassword'
    DB_HOST='localhost'
    DB_NAME='MyTable'
    
    mysql -u${DB_USER} -p${DB_PASS} -h${DB_HOST} $DB_NAME < "/var/www/xxx/xxx/web8/web/myDbdirectory/myDbfilesToSave.sql"

     

    Now you can create your crontab with this command: In this case all the 21hr everyday

     

    * */21 * * * /var/www/xxx/xxx/web1/private/saveCronTabDb.sh > /var/www/xxx/xxx/web1/private/cron.log

     

    To test your cron :

    sh saveCronTabDb.sh

     

    To see your cron

     

    sudo crontab -l

    Ah do not forget to protect your directory with an htaccess

     

    # Disable directory browsing 
    Options -Indexes
    
    <Files .htaccess>
    Order allow,deny
    Deny from all
    </Files>

     

    • Like 2
    • Thanks 1
  10. It can lot of reason for that. I think it's important to be at the same level than your customer and what they want and what they must buy on your website.

    You can propose nice product but if the customer does not trust in your website, there is no way.

    Do not forget, yesterday is not today. Some people have internet, has been some problem with some e-commerce website, service ...

     

    In clear, your site must inspire the trust and you must build your reputation

    • Like 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use