News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Light Portal

Started by Bugo, March 25, 2020, 07:36:36 AM

Previous topic - Next topic

Bugo

Yeah, it's a placeholder for the future. For now, the descriptions for the edit and add block pages are the same.

Bugo

v2.9
- Fixed identified issues
- Updated plugins
- Added new plugins: Dragula and TwentyFortyEight
- Updated layouts and styles
- Added two new layouts
- Migrated UI components from Vue 3 to Svelte 5 (comments and plugins)
- Migrated to Sass modules (@import => @use)
- Updated documentation
- Refactored a significant amount of code
- Reduced package sizes

Since plugin classes now use strict typing, you might see some errors in your logs. Don't worry! Just go to the settings of each block and re-save settings. After that, clear the error log and check if the errors show up again. If that doesn't help, leave a message here or on the "Updating" page in the docs.

How to upgrade
  • From versions below 2.8: at first you should to upgrade to 2.8.2!
  • From versions 2.8.*: as usual

After the update, don't forget to clear the forum cache and your browser cache, and check the portal settings.

Just a quick reminder, the portal comes in three editions: the geek version, which has no plugins and is only in English; the regular version, which includes all languages and a popular set of plugins; and the dev version, which is for developers and has the full set of plugins.

By the way, for those who forgot or didn't know - you can use emojis in the comments for the pages! https://github.com/showdownjs/showdown/wiki/Emojis#emoji-list

Darknico

Hi @Bugo
I have an issue with plugins boardnews and statistics :(

QuoteFatal error: Uncaught Error: Call to undefined method Bugo\Compat\Lang::numberFormat() in /home/mhd-01/www.SITE.net/htdocs/forum/Sources/LightPortal/Plugins/BoardNews/BoardNews.php:171 Stack trace: #0 /home/mhd-01/www.SITE.net/htdocs/forum/Sources/LightPortal/EventManager.php(67): Bugo\LightPortal\Plugins\BoardNews\BoardNews->prepareContent() #1 /home/mhd-01/www.SITE.net/htdocs/forum/Sources/LightPortal/Utils/Content.php(49): Bugo\LightPortal\EventManager->dispatch() #2 /home/mhd-01/www.SITE.net/htdocs/forum/Sources/LightPortal/Areas/BlockArea.php(420): Bugo\LightPortal\Utils\Content::prepare() #3 /home/mhd-01/www.SITE.net/htdocs/forum/Sources/LightPortal/Areas/BlockArea.php(178): Bugo\LightPortal\Areas\BlockArea->preparePreview() #4 /home/mhd-01/www.SITE.net/htdocs/forum/Sources/LightPortal/Areas/ConfigArea.php(383): Bugo\LightPortal\Areas\BlockArea->edit() #5 /home/mhd-01/www.SITE.net/htdocs/forum/Sources/LightPortal/Areas/ConfigArea.php(296): Bugo\LightPortal\Areas\ConfigArea->callActionFromAreas() #6 /home/mhd-01/www.SITE.net/htdocs/forum/Sources/Admin.php(499): Bugo\LightPortal\Areas\ConfigArea->blockAreas() #7 /home/mhd-01/www.SITE.net/htdocs/forum/index.php(191): AdminMain() #8 {main} thrown in /home/mhd-01/www.SITE.net/htdocs/forum/Sources/LightPortal/Plugins/BoardNews/BoardNews.php on line 171

I tried the upgrade from 2.8.2 first.
After this, I tried uninstall and reinstall 2.9.0 but same error

I use PHP 8.2, but I tested 8.3 and 8.4, same issue

Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


Bugo

The update was performed from the regular version 2.8.2 to the regular 2.9? Or was it the geek/dev versions? You could try updating the dependencies with composer update in the Sources/LightPortal directory.

Darknico

Uninstalled 2.8.2 and installed 2.9.0, regular version, I have this error.

In first time, I have upgrade to 2.9.0 but have different issue in layout (don't work correctly the with for the right column) and plugin page (white page, it is impossibile enable/disable plugin)

In my mind, ok, I have dirty files, I try a clean install... remove all and install directly the 2.9.0...BOOM!

Quote from: Bugo on January 08, 2025, 06:23:17 AMYou could try updating the dependencies with composer update in the Sources/LightPortal directory.

How I do?



Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


Bugo

Try to rename Sources/LightPortal, and Themes/default/LightPortal, then extract them from the package.

Try to reset the forum/browser cache.

Darknico

I tried but same issue :(
Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


Bugo

Can you access the settings? Try entering the settings and simply saving them.

Or grant me access, and I'll find the cause faster.

Darknico

Quote from: Bugo on January 08, 2025, 07:00:09 AMCan you access the settings? Try entering the settings and simply saving them.

Yes, I tried, save but if enable BOOM

Quote from: Bugo on January 08, 2025, 07:00:09 AMOr grant me access, and I'll find the cause faster.

Yes, no problem, now you contact in private with admin user.

 
Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


Bugo

Ok, I forgot to mention in the release notes that if anyone is using Optimus or SMF Tracy Debugger, they also need to be updated. They all use the same dependency — the smf-compat package — so they should be updated together.

Advertisement: