Jump to content

ClicShopping

Administrators
  • Posts

    400
  • Joined

  • Last visited

  • Days Won

    88

ClicShopping last won the day on March 16 2021

ClicShopping had the most liked content!

Recent Profile Visitors

7,528 profile views

ClicShopping's Achievements

Rookie

Rookie (2/14)

  • Conversation Starter Rare
  • Dedicated Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

299

Reputation

  1. General Data Protection Regulation (GDPR) The European Union's General Data Protection Regulation (GDPR) came into effect on May 25, 2018. The GDPR imposes new obligations and responsibilities on controllers and processors of data. As a merchant, you are generally the controller of your customers’ data. This means that you collect your customers’ data and choose how it is handled. Additionally, though it is a European regulation, the GDPR might apply to your business if you make goods and services available in Europe, even if you or your business are not located in Europe. ClicShopping believes strongly in protecting your customers’ personal data as well as your own, and understands that doing so is critical to help you preserve the trust and confidence of your customers. ClicShopping has designed its platform to allow merchants to operate anywhere in the world. GDPR-compliant features are built into ClicShopping 's platform, including features to enable you to offer your customers transparency into and control over their personal data, and technical measures to ensure that your customers’ personal data is protected as it crosses borders. ClicShopping believes in making it easy for you to use our platform in a manner that complies with privacy and data protection laws like the GDPR. While ClicShopping does what it can to set you up for success, there are also steps you will need to take on your own, and ultimately, compliance with the GDPR is the responsibility of each individual merchant. If you have legal questions specific to your obligations under the GDPR, consult with a local lawyer who is familiar with data protection laws. How does the GDPR affect ClicShopping ? The General Data Protection Regulation (GDPR) requires ClicShopping to make the following changes inside the code Make sure that ClicShopping is able to honor the rights of European merchants and customers over their personal data, and that when using ClicShopping 's services, merchants are able to do the same. How does the GDPR affect you? The General Data Protection Regulation (GDPR) affects any ClicShopping merchants who are based in Europe or who serve European customers. While ClicShopping is working hard to make sure that it complies, and allows its merchants to comply with the GDPR as of May 25, 2018, it is important to note that the GDPR will also require you to take action independently from the ClicShopping platform. The GDPR is a complicated regulation, and it will apply differently to different merchants. You should consult with a lawyer to figure out what you specifically need to do. For information about processing data requests, see Processing GDPR data requests. Processing GDPR data requests The GDPR expands on an individual's right to access and control their personal data.
  2. Email is part of communication, below different examples how to set email inside ClicShopping Example 1 : o2switch.net User name : myemail@domain.com - Password : email password - Server : mail.test.domain.com - remove mail. and write only test.domain.com - SMTP Port: 26 - SMTP authentication : true - SMTP secured protocol : ssl - Emails activation : true Example 2 : gmail.com - User name : myemail@gmail.com - Password : Utilisez le mot de passe du compte de messagerie. - Server smtp : smtp.gmail.com - remove smtp. and write only gmail.com - SMTP Port: 25 ou 465 - SMTP authentication : true - SMTP secured protocol : ssl or Tls - Emails activation : true
  3. When Google or other search engines come to your site to read and store the content in its search index, it will look for a special file called robots.txt. This file is a set of instructions to tell search engines where they can look to crawl content and where they are not allowed to crawl content. We can use these rules to ensure that search engines don't waste their time looking at links that do not have valuable content and avoid links that produce faceted content. Why is this important? Search engines need to look at and store as many pages that exist on the internet as possible. There are currently an estimated more 4.5 billion web pages active today. That's a lot of work for Google. It cannot look and store every single page, so it needs to decide what to keep and how long it will spend on your site indexing pages. This is called a crawl budget. How many pages a day Google will index depends on many factors, including how fresh the site is, how much content you have and how popular your site is. Some websites will have Google index as few as 30 links a day. We want every link to count and not waste Google's time. What does the suggested Robots.txt file do? ClicShopping optimised rules exclude site areas with no unique content but instead redirect links to existing topics. Also excluded are areas such as the privacy policy, cookie policy, log in and register pages and so on. Submit buttons and filters are also excluded to prevent faceted pages. Finally, user profiles are excluded as these offer little valuable content for Google but contain around 150 redirect links. Given that Google has more seconds on your site, these links that exist elsewhere eat up your crawl budget quickly. What is the suggested Robots.txt file? Here is the content of the suggested Robots.txt file. If your ClicSHoppingis inside a directory, you will need to apply it to the root of your site manually. So, for example, if your community was at /home/site/public_html/myDirectory/ - you would need to create this robots.txt file and add it to /home/site/public_html. It's simple just edit robot.txt and change inside the information example of robot.txt Note : domain.ltd must be changed by your domain. # Rules for ClicSopping (https://www.clicshopping.org) User-Agent: * # Block pages with no unique content Disallow: /Account/LogIn/ Disallow: /Account/CreatePro Disallow: /Account/Create Disallow: /Account/PasswordForgotten Disallow: /Search/AdvancedSearch/ Disallow: /Search/Q/ # Block faceted pages and 301 redirect pages Disallow: /*?page= Disallow: /*?sort= # Sitemap URL Sitemap: https://domain.tld/index.php?Sitemap&GoogleSitemapIndex
  4. The version 3.323 allows to use htaccess to rewrite the url. To use this function you must activate in Shop/SEO urls this 2 options 1 - Use Search-Engine Safe Native URLs this option rewrites the url like this : https://demo.clicshopping.org/index.php/Products/Description/logitech-trackman-marble-mouse/Id-12 and 2- Use Search-Engine Safe URLs Pro (with htaccess) This option rewrites the url like this : https://demo.clicshopping.org/Products/Description/logitech-trackman-marble-mouse/Id-12 To use the last option, you must include inside your root an htaccess with this syntax. Of course, it can updated in function of your server. note : This option works only on the catalog without customer, if your are logged you will see the url above. It's optimized only for the search engine. For apache 2.4 ################################## # url rewiting #improve url rewriting #work fine without directory https://mydomain.com/test/index.php #the rewriting must be activated inside the application # uncomment ################################## <IfModule mod_rewrite.c> RewriteEngine On DirectorySlash Off # # Remove WWW # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [R=302,L] # # Remove Trailing Slashes # RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{THE_REQUEST} \s(.+?)//+[?\s] RewriteRule ^ %1 [R=302,L] # # Reroute to index.php # RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule>
  5. Hello, Thank you for you comment, it's always welcome. @Juliana, Yes you can always use the last image gallery but you must follow this process - Do not remove the jquery hooks because the module use jquery - For this version, we do not touch on the module - No pb - You must change inside the image gallery these elements : edit : pi_products_info_gallery.php Inside sql configuration : 'configuration_title' => 'Where do want to display the gallery position ?', update by this 'set_function' => 'clic_cfg_set_boolean_value(array(\'float-end\', \'float-start\', \'float-none\'))', Of course, remove and reinstall it. I will push when I have a little time a specific module in the marketplace and github community.
  6. A new version has been released. Some fix has been resolved. Please note this version works on with php > 8.1 and bootstrap. The focus has been to integrate boostrap 5 (https://getbootstrap.com/docs/5.0/getting-started/introduction/) and php 8.1 See the announcement on the index forum to know the date of sub release 3.31x I let there the most important change inside the code int the 3.31x For the module I recommend you to remove and reinstall, Bootstrap 5 do not use the same syntax. I invite you to update your module on the marketplace in function the new bootstrap code. Lot of code has been changed inside the application. ** Please, see the sql_update directory to include the new sql element ** - fix strict mode php 8.1 - fix incompatibility with php 8.1 (php 7.4.x do not work now) - Some different bug fix - Code refactoring - Boostrap 5 implementation - Add vertical menu in option - remove htaccess (see tip and trips on the forum) - Replace font Awesome library by bootstrap icon - remove customer fax obsolete - update sql database (see sql update and update version) - remove sensiolabs/security-checker not maintained - add a security checker email library via composer - reduce jquery dependency by pure javascript - add new image gallery in pure js (the other will be push on github) - add chartjs without jquery https://www.chartjs.org/ ... To upload : https://github.com/ClicShopping/ClicShopping_V3/releases/ The next minor release will focus to update the libraries, fix the bugs. Regards,
  7. Hello, No the v2.x will stay like that. This approach is new, we are thinking also to let the horizontal menu as an option. the decision is not taken. About the chart it's also js approach with no depedency with Jquery.
  8. Hello, The futur backoffice on development with bootstrap 5 and a vertical menu, an example.
  9. Hello @Rantanplan, little late but there an example. You can find this code the apps category You can create another if you add information inside the json or you can add inside the includes/Modules directories. Goofd luck <?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 * @Info : https://www.clicshopping.org/forum/trademark/ * */ namespace ClicShopping\Apps\Catalog\Categories\Module\Hooks\ClicShoppingAdmin\DashboardShortCut; use ClicShopping\OM\Registry; use ClicShopping\OM\HTML; use ClicShopping\OM\CLICSHOPPING; use ClicShopping\Apps\Catalog\Categories\Categories as categoriesApp; class DashboardShortCutCategories implements \ClicShopping\OM\Modules\HooksInterface { protected $app; public function __construct() { if (!Registry::exists('Categories')) { Registry::set('Categories', new categoriesApp()); } $this->app = Registry::get('Categories'); $this->app->loadDefinitions('Module/Hooks/ClicShoppingAdmin/DashboardShortCut/dashboard_shortcut_categories'); } public function display(): string { if (!defined('CLICSHOPPING_APP_CATEGORIES_CT_STATUS') || CLICSHOPPING_APP_CATEGORIES_CT_STATUS == 'False') { return false; } $output = HTML::link(CLICSHOPPING::link(null, 'A&Catalog\Categories&Categories'), null, 'class="btn btn-primary btn-sm" role="button"><span class="fas fa-list" title="' . $this->app->getDef('heading_short_categories') . '"') . ' '; return $output; } }
  10. Hello, I tested the qpplication on local post. Yes seems works fine but there is again a little work. Patience. Else phpMyAdmin has little problem, composer do not work on my 20.04. Php is not again in production but it nice about ClicShopping can work.
  11. Hello @Drack, I need take time to test on local after to push the modification. After that on Github you can upload this new version.
  12. Hello, Just for your information, ClicShopping works very fine on php 8.0. I made some little modification and I take time to check the different page. All is in good way about php 8.0 TC 03 Some information below ClicShopping Version3.22 Hôte :localhost (127.0.0.1) Hôte de la base de données :localhost (127.0.0.1) Système d'exploitation :Linux 5.4.0-54-genericBase de données :MySQL 5.5.5-10.4.17-MariaDB-1:10.4.17+maria~focal Date du serveur :2020-11-23 09:30:09 +0000 UTC2020-11-23 10:30:09 Temps de fonctionnement :10:30:09 up 1 day, 18:58, 2 users, load average: 0.45, 1.09, 1.29 Serveur HTTP :Apache/2.4.41 (Ubuntu) Zend version8.0.0RC3 (Zend : 4.0.0-dev)
  13. Bah, it depends of your infrastructure. The solution works fine on install (I had never been problem until now), just it's important to know the process. I am happy you found solution
  14. Hello Julie, Yes, before to go on php 8, a new rellease will be out
  15. Hello @AlwaysSkint,
     

    Could you try this : upload and install the latest commit 

    Include this files inside the good directory ImportDataBase

     

    Step :

    Start on a fresh installation (normal) without data
    remove the French language in language

    Make a migration

     

    Everything seems to be migrated (for me)
    Not work for moment manufacturers_info in comment

    sql error on administration menu description (but the data are imported)  - All administration menu are in english for other language

     

    There is a litle work again.

    Try and tell me.

     

    I will stop for a moment to focus now on my next step.

     

    https://www.clicshopping.org/images/osCmax20.txt 

     

    1. Show previous comments  7 more
    2. AlwaysSkint

      AlwaysSkint

      I remember that one of the missing $data above is in Customers table.

       

      This seemed to work fine - I can try with a different client database:

      //******************************************
      //manufacturers_info
      //******************************************
            $QmanufacturersInfo = $mysqli->query('select *
                                                  from ' . $this->PrefixTable . 'manufacturers_info
                                                ');

            echo '<hr>';
            echo '<div>table_manufacturers_info</div>';
            echo '<div>' . CLICSHOPPING::getDef('text_number_of_item') . ' : ' . $QmanufacturersInfo->num_rows . '</div>';
            echo '<hr>';

            while ($data = $QmanufacturersInfo->fetch_assoc()) {

      // to do
              foreach ($clicshopping_languages as $languages) {
                echo $data['manufacturers_id'] . '<br />';

                $sql_data_array = [
                  'manufacturers_id' => (int)$data['manufacturers_id'],
                  'languages_id' => $languages['languages_id'],
                  'manufacturers_url' => $data['manufacturers_url'],
                  'url_clicked' => (int)$data['url_clicked'],
                  'date_last_click' => $data['date_last_click']
                ];

                $this->db->save('manufacturers_info', $sql_data_array);
              }
      //
            }

       

      Why are you running copyAdministrationMenu ?

       

      The Import/Export Menu item isn't getting created in Admin - remind me of the URL to do this, please.

      Additionally,  receive one error:

      PHP Warning:  file_get_contents(): Filename cannot be empty in /home/clic/public_html/includes/ClicShopping/Apps/Tools/EditLogError/Sites/ClicShoppingAdmin/Pages/Home/templates/edit.php on line 92

       

    3. ClicShopping

      ClicShopping

      Why are you running copyAdministrationMenu ? ==> Because it's inside the BD ot in txt files.
      If inside a txt files do not exist it take the default language
      Inside the db it look the langaue data else it display nothing. ==> Copy the default language

    4. ClicShopping
×
×
  • Create New...

Important Information

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