-
Posts
436 -
Joined
-
Last visited
-
Days Won
62
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Everything posted by zen
-
Hello 30knees I am always happy to work on this kind of things.. that is why I forged my own theme, and use it for myself and customers.. what do you need exactly ?
-
Hello, This module : advanced top menu by presta module, used to work with ThirtyBees long time ago, but now it shows errors on front office only, back office is still usable. Here is the main error shown from TB vers 1.3.0 to 1.6.0 Unknown resource type 'module' in file vendor/smarty/smarty/libs/sysplugins/smarty_resource.php at line 110 Source file: vendor/smarty/smarty/libs/sysplugins/smarty_resource.php 91: "smarty_resource_{$type}_source", "smarty_resource_{$type}_timestamp", 92: "smarty_resource_{$type}_secure", "smarty_resource_{$type}_trusted" 93: ) 94: ); 95: // give it another try, now that the resource is registered properly 96: return self::load($smarty, $type); 97: } 98: } 99: // try streams 100: $_known_stream = stream_get_wrappers(); 101: if (in_array($type, $_known_stream)) { 102: // is known stream 103: if (is_object($smarty->security_policy)) { 104: $smarty->security_policy->isTrustedStream($type); 105: } 106: return $smarty->_cache[ 'resource_handlers' ][ $type ] = new Smarty_Internal_Resource_Stream(); 107: } 108: // TODO: try default_(template|config)_handler 109: // give up 110: throw new SmartyException("Unknown resource type '{$type}'"); 111: } 112: 113: /** 114: * extract resource_type and resource_name from template_resource and config_resource 115: * 116: * @note "C:/foo.tpl" was forced to file resource up till Smarty 3.1.3 (including). 117: * 118: * @param string $resource_name template_resource or config_resource to parse 119: * @param string $default_resource the default resource_type defined in $smarty 120: * I tried to fixed this, but I couldn't after quite some time spent on it.. Is there any anybod that got a way or advise to fix that please ? I for now just want to make it working in front office with PHP 7.4.X only.. v8.x will be handle later. Best Regards, Zen
-
I do encounter problems with french emails translations.. when I delete the directory and click on update .. it downloads english themes translations/ templates on the mails/fr directory In order to get translated emails, I used an old website and export emails from there and upload it.
-
Good to know..I hope to find the time soon to do that, I'll update it here when it's done. I am working on a new shop as well, and I did custom the theme for this purpose already.
-
I make an override of Category class and it works fine, the parent::__construct() was in first position like you show on core file already. Now I noticed something : when on back office on a category edit page, you can upload images for MENU only if the module block categories is activated, it seems strange, is there any reason for that ?
-
Thank you Datakick, I learned something, it's the first time that an override does not work, now I know how to handle it.
-
Here is the file override/controllers/admin/AdminCategoriesController.php with a new filed 'short_description' before 'description'. AdminCategoriesController.php
-
Simply try TB 1.6.0 version and create or edit a category, you will find a new field for additional_description that can be used in front page, to have 2 descriptions on category page, like a short and long one.. then you can manage that in your theme to suits your needs for SEO and design.
-
Now on this version, like on many other website with different TB and PHP version I got this warning in Core Updater : Changed files config/smarty.config.inc.php modified
-
I was suspecting something like this, but as the code is for PHP8 I didn't even try to change php version. Now I did update with coreupdater to bleeding edge 1.6.0 version and I create proper overrides.. and nothing happen, super strange 😞 😞 BUT for this case I don't need override anymore, as you did insert the additional_description for category as it has been done on Presta 8.x, well DONE !!
-
Way to migrate data from old blog module to Bees Blog?
zen replied to x97wehner's question in Migrations
I missed this thread.. if you still need advices or help don't hesitate to PM me. -
Yes indeed. I am used to make overrides and usually it works.. but here on this 1.5.1 version it's a real mystery.. as it does nothing different thant the core code except error if the code or syntax is wrong. Thank you for your interrest @yaniv14
-
Hello, I did add a short_description field for each category in class and controller admin, it works instantly. Then I moved the code to do an override, after several hours it never worked.. I don't understand what is going on, as for products it works good with same technique overriding. The mystery remains 😞 TB version 1.5.1, on php 8 on a fresh install. Best regards.
-
Hello innercode, here is the updated link for slack channel, you can join with your existing account. https://join.slack.com/t/thirtybees-groupe/shared_invite/zt-2jws3z0bm-2YNr2ZWgeiOIAhpxkj6xyQ
-
Here is the channel invitation link : https://join.slack.com/t/thirtybees-groupe/shared_invite/zt-2hciw5edi-h5azl97iIA2SDhVNDdBNrw Welcome.
-
Sorry for late reply, for now, I don't see anough people willing to be supporting the developpement and updates of this module, the Github is outdated yes.. I am trying now to find time enough to finish my new version of it and release it for Free on Github asap. I can, of course, give also paid support if you need custom code or some fixes for your own shop. I just fix some headers menu issues and the block layered module that you can check here : https://biovedique.fr/binders-and-binder-accessories
-
It seems interesting, I am gonna dig this new service, they do translate their website in French as well.. so it mays have some contracts here already.
-
Can you also try with Php 8.2 version ? the CLS seems to be taken car of.. can you also post the Profiling results ? 🙂
-
You are right, that's why I forced it with a minimun width on description column and max-width on the quantity one.
-
I setup the shop so you can actually test the order process up to the end, with the 3 steps only installed.
-
It's strange.. as I already work on that and here what I got on this page with Firefox, what browser are you using and which size ?
-
Hello, here is a updated demo version of Cisero theme (but same image for all products), it's on Bootstrap v5.3.3 latest stable release available, no payment is setup, so step 2 only can be reached in order steps. Also, I would like to update Jquery version for TB to latest v3.7.1.. I did try but it makes new notices in console for plugins and widgets to update too, seems like a long task to do. The site is still under construction but I would like to have your feedback so that I can put in place useful comments and keep on finishing this theme asap. https://biovedique.fr/ Best Regards, Zen
-
Hello ThirtyBees Forum ! Here is a demo version of Cisero theme last version (but same image for all products), it's on Bootstrap v5.3.3 latest stable release available, no payment is setup, so step 2 only can be reached in order steps. Also, I would like to update Jquery version for TB to latest v3.7.1.. I did try but it makes new notices in console for plugins and widgets to update too, seems like a long task to do. The site is still under construction but I would like to have your feedback so that I can put in place useful comments and keep on finishing this theme asap. https://biovedique.fr/ Best Regards, Zen
-
Interesting thread, since feb I am also working again on my theme Cisero for TB 1.5, with last Boostrap & Jquery libs, it takes time to finish everything, and even more time to make it customisable from back office. I will build a new demo version in order to share the new finished version of Cisero. To make a commercial version of it, the subscription you suggested may be a good way for that.
-
nginx configuration for thirtybees
zen commented on datakick's blog entry in Datakick's Tips and Tricks
Here is my conf file for nginx version 1.24.0 and php-fpm 8.1 as the one on this post did not function and give me errors while lunching nginx or testing with nginx -t, hope it can help others too. server { root /var/www/domaine_com; index index.php index.html index.htm; server_name domaine.com www.domaine.com; client_max_body_size 100M; gzip on; gzip_vary on; gzip_min_length 1024; gzip_proxied expired no-cache no-store private auth; gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml; gzip_disable "MSIE [1-6]\."; # 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; # 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.j> 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.> 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; expires 12M; access_log off; add_header Cache-Control "public"; allow all; try_files $uri $uri/ /index.php?$args; } # Media: images, icons, video, audio, HTC location ~* \.(?:js|css|cur|gz|svg|svgz|mp4|mp3|wav|ogg|ogv|webm|htc|woff2)$ { expires 12M; access_log off; add_header Cache-Control "public"; } # root location / { try_files $uri $uri/ /index.php?$args; index index.php; } # Block git repostiries location ~ /.git/ { deny all; } # Block access to templates location ~* \.tpl$ { deny all; } # php rewriting location ~ \.php$ { fastcgi_pass unix:/run/php/php8.1-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_intercept_errors on; fastcgi_read_timeout 360s; fastcgi_buffers 8 64k; fastcgi_buffer_size 64k; include fastcgi_params; include snippets/fastcgi-php.conf; } listen [::]:443 ssl http2 ipv6only=on; # managed by Certbot listen 443 ssl http2; # managed by Certbot ssl_certificate /etc/letsencrypt/live/domaine.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/domaine.com/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot } server { if ($host = www.domaine.com) { return 301 https://$host$request_uri; } # managed by Certbot if ($host = domaine.com) { return 301 https://$host$request_uri; } # managed by Certbot listen 80; listen [::]:80; server_name domaine.com www.domaine.com; return 404; # managed by Certbot }