Re: ImpressCMS swag

<p>Been a long time since I visited that - although I think some of the clothing would no longer fit....</p>

Topic | Forum


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

I did a similar move more or less a year ago when we migrated the ImpressCMS site from multiple versions to 1.3. Some modules were no longer available in 1.3, so we had to reconfigure everything from scratch, and we also did a few SQL-based custom written migrations. 

As far as I know, no module out there has 'import' functionality so you might need to write your converters on your own. Having a framework (à la Drupal Migrate) that offers a standard way of doing this would be a major positive point for a future version I believe.

Moving from CBB to iForum is easy : the table structure is the same, and the URL structure is the same. If you move the attachment files into the iForum upload folder, you should be OK.

Topic | Forum


Re: Working on ImpressCMS - micro-blog

I've installed the Chromium-based Edge browser on my machine, and it works like a charm. I know people will look at me sideways when I say that I didn't have any problem with the Edge that was included in Windows 10, I'm generally not such a plugin user so their initial lack didn't pose a problem to me. The chromium-based Edge feels faster and more responsive, and it remains very much Edge. The fact that there's a Google-sponsored Chromium engine underneath hasn't changed that much.

I mention this because I tested our site (of course) with Chromium Edge, and noticed that Edge now also suffers from ticket #100 in ImpressCMS 1.3. Time to get that sorted out.

David L asked how he could test out or current state of ImpressCMS 2.0, and it turns out that the documentation for that is severely lacking and/or out-of-date. I've given him a short roadmap on how to get a ImpressCMS 2.0 alpha 7 site up and running on his shared hosting, but it's time I wrote some documentation.

I discovered this morning when I was on the train going to Brussels that my work on the composer integration was more or less useless because I was re-inventing the wheel. Composer has a class 'installer' that takes care of most things for me. 

I'm looking into resurrecting the API documentation for 1.3 and 2.0, and I've looked into Fabien Potencier's SAMI to do so. I know, it's been discontinued, but I still have to find a tool that allows me to do a command-line crawl directly in my Github repository. I have some issues with git telling me that my repository is not clean in the 1.3 branches, so I'll need to do some spring cleaning before that can be published.



Working on ImpressCMS - micro-blog

Hi,

I'm starting this thread to give you an idea about what I'm currently working on, without needing to fire up another module or another external service to do so. No guarantees about the frequency though.

No guarantees about the content either, except that it will be ImpressCMS-related, but I might ot limit my contributions here to pure development aspects.



A project I've been putting off - ICMS 1.2.x to 1.3.x

Key modules

  • News (original InstantZero module)
  • Forum (CBB vintage)

I do use group permissions for news categories - not everyone can see every category of news. The same is true of the forum, as well. Being able to assign permissions based on group and category is pretty crucial in a lot of sites, IMO.

Modules that were built on the newer code base of ImpressCMS don't seem to have this feature - or am I wrong? I am also wondering about migrating data - do the modules account for the move from old code base to the new code base, or will I be working out my own data migration?

Also - has anyone gone from 1.2.x to the latest 1.3.x? Are there midpoints that are best handled in steps?

Steve Twitter: @skenow Facebook: Steve Kenow



Re: attachments in the forum are now ... attached

<p>Thanks for finding the issue and finding the fix!</p> <p>Well done!</p>

Steve Twitter: @skenow Facebook: Steve Kenow



2 languages at 100% on softaculous

<p>I've started looking at the translations again. ImpressCMS prides itself as a multilingual CMS, that means at least that people can expect to find the user interface in their native tongue. We still have some improvements there <img src="https://www.impresscms.org/uploads/smil3dbd4d6422f04.gif" alt="" /></p>

<p>At the <a href="https://www.transifex.com/ImpressCMS/impresscms/dashboard/">current state of things</a>, 3 languages are fully complete : English (duh), French and Dutch. Several others are nearing 100%, such as <a href="https://www.transifex.com/ImpressCMS/impresscms/translate/#ko">Korean</a>, <a href="https://www.transifex.com/ImpressCMS/impresscms/translate/#es_ES">Spanish</a>, <a href="https://www.transifex.com/ImpressCMS/impresscms/translate/#de_DE">German </a>and <a href="https://www.transifex.com/ImpressCMS/impresscms/translate/#it_IT">Italian</a>. With a small amount of effort, we could get to 7 languages 100% complete in the near future.</p>

<p>If you are interested to participate in these languages, or know someone who is, <a href="https://www.transifex.com/ImpressCMS/teams/">Transifex </a>is the site to go to. If you want to improve or add another language, please don't hesitate and let me know, either here or on Transifex</p>



attachments in the forum are now ... attached

<p>I noticed when looking for<a href="https://www.impresscms.org/modules/iforum/viewtopic.php?topic_id=4548&forum=55&post_id=40891#forumpost40891"> the autocomplete code</a> from some time ago, that the link went into the void. At first, I was afraid that the files didn't get migrated during one of the multiple moves we did from Inbox > Siteground > Other siteground account > unified site.</p>

<p>Nothing so dramatic: as it happens we migrated from newbb to iforum as forum module on that last account, and the files were still in the newbb upload folder.</p>

<p>I moved the files, and the links I tested worked out for now. I hope this makes finding stuff on the forum easier now.</p>

<p>Cheers!</p>



Re: ImpressCMS swag

<p>I saw the password resets, thank you for that.&nbsp;</p>

<p>So, if I understand it correctly, all we need now is some kick-ass designs to populate the shop <img src="https://www.impresscms.org/uploads/smil3dbd4d6422f04.gif" alt="" /></p>



Re: ImpressCMS swag

<p>We do have an account on CafePress - just nothing in the shop. It's been a long time since anyone logged it and some of their terms have been updated. I changed the password and it is in our database now.</p>

Steve Twitter: @skenow Facebook: Steve Kenow



ImpressCMS swag

<p>Hello,</p>

<p>I will be attending<a href="https://ti.to/hm/laracon-eu-madrid-2019"> Laracon EU Madrid</a> (and possibly also <a href="https://ti.to/hm/laracon-eu-amsterdam-2019">Laracon EU Amsterdam</a>) this year. I wanted to take those opportunities for some marketing in PHP development circles and I'm looking for cool stuff to leave lying around for people to pick up and come look at the project.</p>

<p>I seem to remember there was a cafepress shop somewhere previously, but when i look for <a href="https://www.cafepress.com/+impresscms+gifts">Impresscms </a>on there, I get no results.</p>

<p>Do you know of any online shops that have cool swag that we can brand with ImpressCMS?</p>



Re: Adding data table plugin to improve tables

Hi @Eyekeeper, is there any place where we could check out your datatables integration? I would love to add it into the ImpressCMS 2.0 betas



Re: a test thread

yep,this is a test thread. Still nothing that went wrong. We'll have to see with some other user accounts perhaps.



a test thread

I'm just testing the stuff to see if I can get another error that kicks in on the forums. I hope it doesn't, that will mean I've fixed the case for the version that we are using on the site.

 

Perhaps later we'll see into rewriting the forum module more thoroughly.



Re: Forum bugfix

I tried some more fixes, because the error didn't seem to be resolved in all cases.



Re: Forum bugfix

Visibly the fix wasn't working as I thought. It's a difficult fix because the problems isn't there the entire time

When you look at the error message, there is an error in the SQL because one of the keys in the object seems to give a totally nonexistent value. I tried to fix it now in the old Art framework, but I'm not sure if my fix is working ok. Let's test



Forum bugfix

Hi, I did some investigation to the errors we are experiencing from time to time on the forum, and I think they are now resolved.



Re: Adding data table plugin to improve tables

I looked around, and stumbled upon this page : https://bitsofco.de/async-vs-defer/ where the author explains a bit what the different options are, and when you can use what.

Putting scripts at the end of the page to make the browser take them into account last is an option. But that will not always offer the biggest speed improvement, because you will still be loading the files one after the other. If the script in question has no dependencies, you could use the "async" keyword, to indicate to the browser that it can load the javascript file in parallel with parsing and downloading the HTML.

In the end, lesser files to download, even if they are bigger, is also an optimization. So you could also consider using tools like webpack, to reduce the size and the number of files you include in your page as an extra optimisation.



Re: Adding data table plugin to improve tables

This may be related to something I was just hashing over for page speed optimization. Google's Page Speed Insights suggests changing the parsing and execution of scripts and stylesheets and putting them only just before they are needed. Placing script tags and stylesheet tags in the header of a page actually stops page rendering until they are downloaded and parsed. See this info page from Google.

I'm experimenting with making all the javascripts 'defered' to start with. Some of this can be done in the theme, and some of it has to happen in the core - the $icms_module_header adds scripts and stylesheets like linkexternal.js and all the jQuery script files.

Anybody know of any reason NOT to defer their execution until the end of the page rendering?

Steve Twitter: @skenow Facebook: Steve Kenow



Re: Adding data table plugin to improve tables

Datatables integration would be great, so please do a PR for 2.0 once you have something that works

The problem that you are experiencing is that the data is managed in 2 worlds : the javascript world and the PHP world. The javascript world (datatables.js) works with the data that you give it. In a simple situation, the basic configuration of datatables works fine : you feed it all the data, and everything is managed inside the datatables implementation, on the client browser.

As you found out, that is limited to small datasets. Once you get into the few hundreds, the browser slows down considerably. The trick is to plugin PHP functionality to replace some of the functions that datatables does in the browser, and shift the workload as much as possible to the server. Sorting and such as well, because if you load only 15 elements inside of datatables, in its standard configuration, it will only work with those 15 lines, giving very funny results, that will be plain wrong

in my opinion, you will need to write an integration for the loading, updating, sorting, searching of data from datatables within ImpressCMS. Once you have that, the sky will be the limit




 Top