Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Member Blogs

Our community blogs

    • 1
      entry
    • 2
      comments
    • 65
      views

    Recent Entries

    You might find this nginx configuration useful if you want to run your thirtybees on nginx + php-fpm

     

    server {
        listen 80;
        index index.php index.html;
        server_name localhost;
        root /var/www/default;
    
        # use original IP address changed by cloudflare
        set_real_ip_from 103.21.244.0/22;
        set_real_ip_from 103.22.200.0/22;
        set_real_ip_from 103.31.4.0/22;
        set_real_ip_from 104.16.0.0/12;
        set_real_ip_from 108.162.192.0/18;
        set_real_ip_from 131.0.72.0/22;
        set_real_ip_from 141.101.64.0/18;
        set_real_ip_from 162.158.0.0/15;
        set_real_ip_from 172.64.0.0/13;
        set_real_ip_from 173.245.48.0/20;
        set_real_ip_from 188.114.96.0/20;
        set_real_ip_from 190.93.240.0/20;
        set_real_ip_from 197.234.240.0/22;
        set_real_ip_from 198.41.128.0/17;
        set_real_ip_from 2400:cb00::/32;
        set_real_ip_from 2606:4700::/32;
        set_real_ip_from 2803:f800::/32;
        set_real_ip_from 2405:b500::/32;
        set_real_ip_from 2405:8100::/32;
        set_real_ip_from 2c0f:f248::/32;
        set_real_ip_from 2a06:98c0::/29;
        real_ip_header CF-Connecting-IP;
    
        # root
        location / {
            try_files  $uri  $uri/  /index.php?$args;
            index index.php;
        }
    
        # Rewriting for images pretty url - both jpg and webp formats
        location ~* \.(eot|gif|ico|jpg|jpeg|otf|pdf|png|svg|swf|ttf|woff|webp)$ {
            rewrite ^/([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$1$2$3.jpg break;
            rewrite ^/([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$1$2$3$4.jpg break;
            rewrite ^/([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$1$2$3$4$5.jpg break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg break;
            rewrite ^/c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2$3.jpg break;
            rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2.jpg break;
    
            rewrite ^/([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$1$2$3.webp break;
            rewrite ^/([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$1$2$3$4.webp break;
            rewrite ^/([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$1$2$3$4$5.webp break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.webp break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.webp break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.webp break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.webp break;
            rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.webp break;
            rewrite ^/c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.webp$ /img/c/$1$2$3.webp break;
            rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.webp$ /img/c/$1$2.webp break;
     
            allow all;
        }
    
        # php rewriting
        location ~ \.php$ {
    
            # Installer is using /install/sandbox/anything.php url to test rewritting capabilities
            # it should rewrite to /install/sandbox.test.php file
            rewrite ^/(.*)/sandbox/anything.php$ /$1/sandbox/test.php break;
    
            try_files  $uri  $uri/  /index.php?$args;
            index  index.html index.htm index.php;
    
            fastcgi_param PATH_INFO $fastcgi_path_info;
            fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    
            fastcgi_pass php:9000;
            fastcgi_index index.php;
            fastcgi_split_path_info ^(.+\.php)(/.+)$;
            fastcgi_intercept_errors on;
            fastcgi_read_timeout 360s;
            include fastcgi_params;
        }
    }

     

  1. All:

    I wanted you all to have this its just a tid bit of a Guide I am working on for MariaDB and or Mysql.  I wanted to tell you about a cool tuning script called tuning-primer.sh.  Should work on CentOS 7 if you have other disto may need to install bc with other package manager.

    #requires bc to be installed
    yum install bc -y
    #install and correct permissions	
    cd /usr/bin
    wget https://raw.githubusercontent.com/mattiabasone/tuning-primer/master/tuning-primer.sh -O tuning-primer.sh
    chmod +x tuning-primer.sh
    #make a backup of your current config
    cp /etc/my.cnf /etc/my.cnf.bak
    #run script for output on centos backend
    sh tuning-primer.sh

    Begaining output looks like this:

    # sh tuning-primer.sh

        -- MYSQL PERFORMANCE TUNING PRIMER --
             - By: Matthew Montgomery -

    MySQL Version 10.4.6-MariaDB x86_64

    Uptime = 0 days 13 hrs 59 min 21 sec
    Avg. qps = 0
    Total Questions = 44479
    Threads Connected = 1

    Warning: Server has not been running for at least 48hrs.
    It may not be safe to use these recommendations

     

    Once you have it installed and run it will tell you areas to improve in the config file (my.cnf).  Also your Mysql server needs to be up for at least 2 days between changes.  

    PS I didn't write this script.

    Hope this helps.

  2. The key to good search engine results is content. When we have content, we should also optimize meta title and meta description (meta keywords arent important anymore). It can be quite confusing what is a good length for meta title and meta description. Here is a very useful tool that may help you:

    https://app.sistrix.com/en/serp-snippet-generator

     

    • 0
      entries
    • 0
      comments
    • 174
      views

    No blog entries yet

  3. Dear all,

    I was trying to export full information for my products as CSV, but noticed that by using the default "export" function in backoffice -> products only exported id, image, name, price, Quantity, ref, and category but not full description, i searched for at way to do it easily, and came across this very helpfull articel:

     

    https://premiumpresta.com/blog/export-products-for-csv-import-prestashop-1-6/

    That explain in full detail including the code.

    -.... And if you dont want to read it all just need the code then download it directly from Github:

    https://github.com/PremiumPresta/export-products-for-csv-import-prestashop-1.6

    Hope it will be usefull 🙂 

  4. Índice del contenido:

    • Requisitos del hosting: desde minuto 0:30
    • Instalación automática desde Softaculous: a partir de 2:50
    • Instalación manual: a partir de 6:55

    Descarga el paquete de instalación de Thirty Bees desde aquí: *** https://thirtybees.com/download/ ***

    Contrata un plan con a2hosting (tiene la opción de instalar automáticamente ThirtyBees): https://www.a2hosting.com/thirty-bees-hosting?aid=thirtybees

    También puedes elegir otros servidores, simplemente revisa los requisitos antes para no llevarte sorpresas 😉 En la misma página de Thirty Bees hay otros hostings recomendados que son partners oficiales. Además, contratando desde sus enlaces, les ayudas a seguir manteniendo la plataforma.

    CÓMO INSTALAR TB MANUALMENTE:

    1. Descargar el paquete desde la página
    2. Crear un directorio, dominio o subdominio para la web
    3. Subir el paquete al directorio raíz elegido
    4. Crear una base de datos, usuario y contraseña nuevos
    5. Acceder a la ruta para ejecutar la instalación
    6. Rellenar los pasos del formulario para ejecutar la instalación
    7. Borrar el directorio "/install"

    Si quieres descargar el mejor theme para Thirty Bees: *** http://bit.ly/PandaPrestaTheme ***

    Acceso al curso eCommerce by Yourself: *** http://bit.ly/ecommerceby ***

    Echa un vistazo al foro de Thirty Bees: https://forum.thirtybees.com

    • 1
      entry
    • 1
      comment
    • 402
      views

    Recent Entries

    The thirty bees forum allows you to create your own blog posts, so that you can share your ideas with the rest of the world. User blogs are an excellent way to share tips and tricks, modules you have created, or how to custom edit a thirty bees site. This makes more sense than having posts to a forum, which are easily buried over time. You can even create custom polls on your blogs, to ask user users questions. 

     

    To create your own blog, just go to the main blog page here. In the top right corner you should see a Create A Blog button, click on it to get started. 

    create-blog.png.bff1f3252600a4cf9a191d6f738b97d2.png

     

    Once you click on the button, you will be able to name your main blog, then you can start creating posts for your blog. Its a pretty simple and easy process. Once we get a few posts under our belt, we will start feeding the blog posts around the forum, so our users can see the content that our other users are creating. Giving you more exposure, more module sales, and a greater ability to help other users. 

     

    • 0
      entries
    • 0
      comments
    • 108
      views

    No blog entries yet

×