Jump to content

Patrick

Members
  • Posts

    243
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Patrick

  1. Hello @Drack

     

    I think you must use a cache on your css with htaccess, look the htaccess 

    ExpiresByType text/css "access plus 1 week"
    
    FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/css'"

    If you have this, you must delete your browser cache and comment this line.

    For development, it's better to not use these elements.

     

    • Thanks 1
  2.  

    Hello Gary,

    Welcome in this new forum and e-commerce solution.

    look this directory :  /includes/Module/Hooks/Shop/Account

    For example, if you look the file DeleteAccount, you will see 2 files :

     

    AccountGdprDeleteAccount ==> this file display the information

    AccountGdprCallDeleteAccount ==> this files make the action process.

     

    That I know, maybe @ClicShopping can confirm that, the files must start by this name AccountGdpr .....php

     

    Good luck

  3. This site (positeo.com) does not give correct results (When I did my tests it always showed me an error)

    I think the best way to test and type a text from your site in google

    The quota that between the limits is not mentioned by googling but we can say arround of 35% and 45%

    If you use texts that you have written yourself, you will not worry about duplicate content

  4. A little tuto can help under ispconfig 3.1 to enable the http/2 protocols

    Http/2 protocols increase the speed to display your website.

     

    you can test there  : https://tools.keycdn.com/http2-test

    or via this command

     

    1 - edit all your website

    cd /etc/apache2/sites-available


    to test
     

    sudo a2enmod http2


    and restart apache2

    Number 1 : Install all the website

    cd /etc/apache2/sites-available

     

    nano mydomain.com


    under ServerAdmin add

    Protocols h2 http/1.1


    restart apache2

    /etc/init.d/apache2 restart


    make the same thing for all website

    2-  all new website

     

    vi 000-default.conf


    below DocumentRoot add

    Protocols h2 http/1.1

    3 - Via the panel

     

    edit your website, go to options and apache directive add

     

    Protocols h2 http/1.1

     

  5. Hi,

    First, Do you have installed or not the gdrp header tag modules ? 

    ClicShopping propose a nice approach about the registred customer but for the not registred, you must install a specific module.

    You we will found the modules the : https://github.com/ClicShoppingOfficialModulesV3/module_header_tags_gdpr or you can install via the extensions.

    maybe it can help you to manage your need.

    you can find a module cookie consent.

     

    Else look the directory : Clichopping/Modules/Hooks/Account.

    You will find some GRPD modules. it's easy to create another :

    Copy the files and change the name :

    example

     

    <?php
    /**
     *
     *  @copyright 2008 - https://www.clicshopping.org
     *  @Brand : ClicShopping(Tm) at Inpi all right Reserved
     *  @Licence GPL 2 & MIT
     *  @licence MIT - Portion of osCommerce 2.4 
     *
     *
     */
    
      namespace ClicShopping\OM\Module\Hooks\Shop\Account;
    
      use ClicShopping\OM\CLICSHOPPING;
    
      use ClicShopping\OM\Registry;
      use ClicShopping\OM\HTML;
    
      class AccountGdprNoIp {
    
        protected $IpAddress;
    
        public function getIpAddress() {
          $CLICSHOPPING_Db = Registry::get('Db');
          $CLICSHOPPING_Customer = Registry::get('Customer');
    
          $Qgdpr = $CLICSHOPPING_Db->prepare('select no_ip_address
                                              from :table_customers_gdpr
                                              where customers_id = :customers_id
                                            ');
          $Qgdpr->bindInt(':customers_id', $CLICSHOPPING_Customer->getID());
          $Qgdpr->execute();
    
          $ip_address = $Qgdpr->valueInt('no_ip_address');
    
          return $ip_address;
        }
    
        public function display() {
            $output = '<div>';
            $output .= '<label class="checkbox-inline">';
            $output .= HTML::checkboxField('no_ip_address', $this->getIpAddress(), $this->getIpAddress());
            $output .= '</label>';
            $output .= CLICSHOPPING::getDef('module_account_customers_gdpr_no_ip_address');
            $output .= '</div>';
    
            return $output;
        }
      }

    To create another module change 

    AccountGdprNoIp

    by 

    AccountGdprMyModule

    Note : AccountGdpr is very important, it allow you  to implement the code in your catalog the new module. The files is reading dynamicly

    I hope it can be an help to create your own module.

     

    • Thanks 1
  6. Hi Joe,

    There is an extension can allow you to do that. Inside you have example to transfert your bd inside ClicShopping. You can create your own transfert and eventually share your work to allow other people to use the conversation.

    Look this post it can help you : https://www.clicshopping.org/forum/topic/32-migration-for-oscommerce/

    the name of the extension is apps_tools_import_data

    Looking the code, it enough simple, you must create a new hooks and take the element inside the other. It can help you.

     

×
×
  • Create New...

Important Information

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