Re: Updates and upgrades for 2.0

What are the intermediary steps for someone who has created or maintains a module to prepare it for compatibility with upcoming releases of the core?

Normally, modules that do not use removed or deprecated functions should continue to work as they work now. I haven't been able to test that for the moment, as I have issues setting up a 2.0 version currently.

Using 2.0 functionality is not backward compatible, and @Mekdrop was looking into adapting imBuilding so that it generates first-class citizens for ImpressCMS 2.0.

Maybe we should relabel 1.5 as 2.0 and what is in 2.0 as 3.0.

This action would take care of the number only. That version would still lack several fundamental parts that a current-day CMS is expected to provide, and that are in the 2.x branch currently. The need for 3.0 would be as pressing from the start as the need for 2.0 now Things have changed quite a bit in 10 years.

On the other hand, renumbering 2.0 to 3.0 is just a git branch rename, so it's not really a big deal, it's just version semantics at that point.

Topic | Forum

Re: Updates and upgrades for 2.0

What are the intermediary steps for someone who has created or maintains a module to prepare it for compatibility with upcoming releases of the core? A module doesn't work without the core, and the core alone isn't enough to create a website. We need them to progress in parallel.

With the changes in the later releases of 1.4, and the removal of deprecated functions, files, and folders in 1.5, the original scope for 2.0 has been realized, at least based on this (and others) - Navigating ahead - ImpressCMS Compass 2012. Maybe we should relabel 1.5 as 2.0 and what is in 2.0 as 3.0.

Is the information in the debug panel enough to help get a module ready for what's next?

Topic | Forum

Re: Now on Mastodon

I also created a Fediverse (that's what it's called it seems ) account for ImpressCMS itself :

Updates and upgrades for 2.0

The situation you describe is sadly a universal one, and not only in open source. The way I see it, is that ImpressCMS can only take responsibility for the core and the core modules when it promises an upgrade path. We cannot take responsibility for all the other modules that are out there, whether they are still supported or not.

Your point about what it takes to make a module 2.0-compatible is a good one. I understand that Mekdrop made every effort to keep backward compatibility with the old modules, but those old modules will only offer the old ways of working. Once we have a more stable 2.0, the documentation should be made available, firstly on how to create new modules from scratch, and after that how to make existing modules compatible.

Keep in mind that we are bridging multiple gaps here : ImpressCMS 1.4 -> ImpressCMS 2.0, but also PHP 7 -> PHP 8.x. It is very well possible that modules are simply not compatible with the new PHP version, before looking at the ImpressCMS version.

We will need to do extensive tests on upgrading module versions, and define a general upgrade policy.

Re: Improving search efficiency and speed

It would definitely be good to see 2.0 come to reality. And for us to use what we have learned for the benefit of us all. It's even better when we can incorporate what community members share with us.

One of our core promises was to provide all users with a path to upgrade. It was the foundation for the development of the deprecated messages in debug. I have yet to comprehend what it will take to make a module compatible with 2.0, or if there is an upgrade from 1.3/1.4/1.5 to 2.x. Even with that commitment, 1.2 > 1.3 was a 'start over' for some webmasters (including me). There were modules that didn't make the transition and replacements need to be found (still). 1.3 > 1.4 dropped more modules because they weren't updated by their developers and they haven't been adopted by anyone else.

As a founder and one of the developers I take responsibility for this. I am also a stakeholder and have sites that rely on what we produce. Don't get me wrong - what's been happening with 2.0 is going to be a great thing. I don't have the skills to have done any of it. I also lack the ability to explain it.

I've gone off topic for this thread - I apologize. I'll move to another topic where we can continue the conversation.

Re: Improving search efficiency and speed

I think it's safe to say that the ticket is gone on the mean time. It will be better to create a new one for that.

I would prefer to focus this change first for 2.0,eventually later it can be back ported to 1.5.x,but it is important to give precedence to the 2.0 branch now.

Search is an area where we can improve a lot, for example by making it easy on a core level to use external search providers as well, next to the standard search


Re: Improving search efficiency and speed

I was looking for something else and came across this post. Things have moved around a bit and I couldn't find a branch or a ticket about this. We still can benefit from this approach. I'll add a new issue in github, unless someone can find the original

Re: Module status: Oledrion

That's because I just submitted it before the post

Re: Best open source e-commerce options?

We've finished a few more shops at work in recent months, including some Shopify ones. What we learned there was that Shopify is a very capable solution, provided you can adapt your requirements to the way Shopify works. We sadly have had a customer that insisted on using Shopify, but came with loads of requirements for which we needed to force shopify to work in ways it wasn't really designed for. In the end, we got it to work, but it would have cost that particular customer a lot less if he had gone for a Shopware (or magento2) solution because that kind of platforms give you more freedom if you need it.

There was a paypal integration with oledrion at the time, but I don't think it will still work without change.

Re: Merry Christmas!

We're a bit light on tradition in our family, compared to you We've moved across the country (150 km, which is almost the other side of the country here in Belgium) from our family, so it takes some organising to keep everybody happy, and make sure we have some time for ourselves as well. Schools have Christmas holidays for 2 weeks each year, so we have to organise that period for the kids as well, in combination with our limited number of vacation days.

Normally, we go to my parents for Christmas Eve, and there we open all the gifts under the christmas tree we have for each other. You won't be surprised when I say that the vast majority is for the girls We're flexible in the timing.

Because we arrived around noon on christmas eve this year, we opened the presents then, taking into account we would leave the country 2 days later. That way, the girls had as much time to play with their newly received toys as possible.

These last few years, my parents-in-law have chosen to spend the Christmas and new year period in their appartment in La Caleta, on the gorgeous sunny island of Tenerife, and they invite us to come over for a holiday and see the fireworks. These last few years we were lucky that christmas came at the very beginning of the holidays, so we could spend almost 2 weeks there. I dare almost say this has instantly become a new family tradition. And believe it or not : the first day after we get here, we go to get a haircut, every time

Because we are always guests somewhere else, we try to suggest food that is easy to prepare, and try to help as much in the organising and the preparation the day itself. This year, on Christmas day, the journey was more important than the destination :  grandpa making pizza from scratch with his granddaughters. Priceless to see the amount of fun they had, and the result was very tasty as well.

Climate wise, it's been since my teens that I can remember a white christmas. The last time we had really multiple days of snow was more than 10 years ago. This year, it even looks like we will break the record of the highest temperature ever in Belgium on the last day of the year : 16° Celcius - a nice spring day.

The first saturday of the year, the Mayor of Mechelen invites all his citizens to come together on the market plaza in the center of town, and have free drinks and free snacks to celebrate the new year. You can imagine it's a fun way to greet people also living in Mechelen you see only a few times a year, and it's very popular.

Re: Module status: Oledrion

Sure, no problem. I hadn't seen your pr before.

Re: Module status: Oledrion

@fiammybe - would you start with the pull request I just added? I applied the source formatting in our coding standards before making any other changes. It's so much simpler than trying to review that and the code changes that come later.

Re: Module status: Oledrion

I think I had issues with the character set because of the move to MySQL 8 - it turned the generic utf8 to utf8mb3

Re: Module status: Oledrion

Hi Steve, thank you for this first batch of tests. I will already make the changes you mention on github. I'm currently focussing on getting ImpressCMS 1.5.0 ready for PHP8 so that has my focus at the moment, but getting oledrion running on ImpressCMS 1.5 would be nice indeed.

You encounter issues because the comments were written in French, and they use these darn accents I think I will translate them.

Module status: Oledrion

I did start going through testing Oledrion on newer versions of ImpressCMS. Here are the first few things I've found

  1. There are characters in the SQL comments and code that are multibyte characters. My local test server is running MySQL 8 by default, and the character set needs to be uft8mb4 and the index lengths need to be adjusted, or the comments need to be removed. If you don't make those changes, the module will not install and give you an error something like:

    Comment for field 'current.1311final_oledrion_products.product_sku' contains an invalid utf8mb3 character string: '\xE9ro'.
    Unable to install oledrion.

    Here is the text from the sql file:

    CREATE TABLE `oledrion_products` (
      `product_id` int(11) unsigned NOT NULL auto_increment,
      `product_cid` int(5) unsigned NOT NULL default '0',
      `product_title` varchar(255) NOT NULL default '',
      `product_vendor_id` int(10) unsigned NOT NULL,
      `product_sku` varchar(60) NOT NULL COMMENT 'numéro interne du produit',

    If you switch to utf8mb4 to accommodate the multibyte characters, you'll get this error

    Specified key was too long; max key length is 1000 bytes
    Unable to install oledrion.

    If you then edit the db engine type in the SQL file and changing all the tables to InnoDB (some are MyISAM), the installation completes successfully. I'm not sure how this affects the rest of the performance.
  2. While some of the constants and functions have been updated for ImpressCMS, not all of them have. The highest version you can install this on at the moment is 1.3.11. One that definitely needs to be changed throughout oledrion is xoops_module_header - that doesn't appear in any theme we currently use.

If someone else would like to have a look at this, I've got a couple of other modules I'm focusing on at the moment.



Re: Best open source e-commerce options?

Our current payments processor does tax calculation based on the delivery address. The challenge is creating the shop to match up with the product list and get the transaction completed.

I haven't looked deeply at oledrion, knowing the link from the shop to the payments side is going to be the trick, along with getting tax calculated properly.

After exploring a bit more, I am leaning towards Shopify and creating a shop on a subdomain to preserve all the SEO juice we've built up and to ease the full entry to online shop and pay without our interaction.

Re: Merry Christmas!

Christmas, for us, comes at the darkest and coldest time of year, and we try to bring light and warmth through a variety of activities. A lot of our traditions are family traditions from several families and generations. While we live in the US, we trace our heritage to Europe and Scandinavia, melding a lot of old cultures with new creativity.

For us, Christmas starts on with Christmas Eve on December 24 (after dark) and extends to January 6 (Epiphany). We do decorate (for light and warmth) - I usually get a fresh cut evergreen and bring it in a couple of weeks before Christmas Eve. It stays up until January 6.

We definitely gather as many as we can - travel conditions and health being the main separators. Attending Christmas Eve church service is also part of my tradition. This year, weather kept us at home.

Food - just lots of it. The items that get the most attention are the cookies (Kekse, koekjes, småkakor, biscuits). There are some recipes that are difficult to reproduce the way we remember them. Even though they're German (springerle), they're not that common among all people of German ancestry. My great-aunt's recipe is very descriptive, just not a lot of details. "Start early in the morning ... Before noon ... After dinner ...". 1 of the ingredients is a bit difficult to find in the US (baking ammonia), so I don't attempt them often.

The children get gifts, the adults exchange gifts - either by drawing a name beforehand, or with a random drawing the day we gather. We also send cards and letters to friends and family.

Music is also an integral part of Christmas - music, hymns, carols, anthems, oratorios, and cantatas specifically for this season. I've got more playlists, music CDs, and albums for Christmas than any other genre.

Part of my heritage is Dutch - the surnames are de Bruyn and Kops, as well as the combined de Bruyn Kops. Plus, there's some Bohemian/Czech (Smetana) in my blood. I would love to hear your traditions for this time of year!

Re: Merry Christmas!

Thank you, David - Merry Christmas to you, too!

We had some dangerous weather (even for us in Minnesota) leading up to Christmas - snow, lots of it (8"/20cm in the last storm). Cold lots of it (down to -12F/-24C). Then - wind, lots of it (30-40mph/48 - 64kph). We still managed to gather over the weekend and celebrate for the holiday. And we have a few gatherings to reschedule.

It's warming up over the next few days and the view from our window is beautiful


Attach file:

jpg  winter-from-my-window-dec2022.jpg (458.61 KB)
54__2334263a9daa4aaa20.jpg 480X640 px

Merry Christmas!

I would like to wish everyone a very merry Christmas!

Europe is profiting from quite warm temperatures for the time of year. It's 10 degrees centigrade, which is 20 more than a week ago. But I get the news that the holiday period in the USA is not starting easily with snow storms and arctic temperatures foreseen in the near future. And I don't know how things are going in Asia on that account.

I hope everyone gets to have lots of quality time with loved ones, because that is what this period stands for, no matter your religion or beliefs.

And after that: countdown to the new year, which will be full of surprises as always.

How do you plan to spend this period? I'm curious into what other cultures and countries do around the turn of the year.