Light Portal

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

Previous topic - Next topic

Darknico

PHP: 8.0.14, MySQL: 5.7.28
Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


Bugo

I reuploaded a package, try it. By the way, the portal already has 13 subscribers, it's nice :)

Darknico

Quote from: Bugo on April 20, 2022, 11:10:39 AMI reuploaded a package, try it.

Now work, thanks!

Quote from: Bugo on April 20, 2022, 11:10:39 AMBy the way, the portal already has 13 subscribers, it's nice :)

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


pocttopus


Bugo

v2.0 RC4:
* Fixed found issues
* Improved performance
* Added a new plugin - RecentComments
* Some UI improvements
* Updated some plugins

How to update:
* Uninstall the previous version
* Install the new version
* Go to Portal settings - Maintenance and enable option "Weekly optimization of portal tables"

Costa

portuguese_pt translation

I tried to add to Crowdin, but I can't figure how to do it :O

https://ptsmf.com/index.php?action=downloads;sa=downfile&id=10
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

reslava

Hi Bugo, thanks and congrats for such a nice portal mod!

I wonder if it will be possible to have the option for block collapsibles?

Thanks in advance!

Bugo

Quote from: reslava on August 16, 2022, 03:05:54 PMHi Bugo, thanks and congrats for such a nice portal mod!

I wonder if it will be possible to have the option for block collapsibles?

Thanks in advance!
A similar feature can be implemented as a plugin.

reslava

That would be so useful Bugo, thanks in advance!

Raffoz

I'm going thorough a flow on tests.

Today, reinstalling the mod I receive this error:
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',,,)
SELECT ,,,
FROM xxx_lp_categories_old' at line 1
File: /home/xxx/forumname.com/Packages/temp/database.php
Line: 495

The same happens with other table: blocks and so on.
If I delete all of them from db, the install goes ok.

Tks for the help! 🤓
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Raffoz

I'm used to Simple Portal / Eh Portal and I'm trying to adapt/learn new approach.

Usually, I had a frontpage with some blocks (left, right and top).
Then a forum page, with just lateral blocks (left and right).

Which option should I use to replicate it?
I cannot find (understand how to replicate) a "Frontpage" modality.

Tks!
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Bugo

You could try uninstalling the mod completely, then delete the tables it created, including those with the "_old" suffix, then reinstall it.

I don't like to write step-by-step instructions. Just play around with the settings, study them. This will help you better than any explanation.

Also, enable the HelloPortal plugin.

Raffoz

#232
Quote from: Bugo on August 22, 2022, 11:16:54 AMYou could try uninstalling the mod completely, then delete the tables it created, including those with the "_old" suffix, then reinstall it.

I don't like to write step-by-step instructions. Just play around with the settings, study them. This will help you better than any explanation.

Also, enable the HelloPortal plugin.
Hi Bugo!

1) Uninstalling
Yeps, I uninstalled and reinstalled (deleting all tables).
The "problem" is that in this way I lose (when I reinstall) all the content of the blocks I created meantime.

2) How to replicate Simple Portal Frontpage
For the other thing, before writing, I tested for hours Light Portal and I just couldn't reach my goal.
This was the reason I asked. I'm not the person who asks before trying (a lot!).

I think the only way is to select to show a single page in the frontpage:
- considering it as a block
- then adding other blocks, above (top blocks) or below (bottom blocks)
Is it correct?

As little suggestion (if what I wrote above is correct), I'd consider to add another modality:
- in Frontpage options, I'd give users the possibility to just activate it without selecting what to show
- it'd be the "portal" modality, clean way
- in this way, forum would normally goes in forum link
- and a user could add blocks in the center-core part of the page
 
Tks!
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Raffoz

#233
Disabling the title of a block
How is possible to disable the view of the block title and its bar?
I'd just show the content without all the rest 🤓

I'd like to have the option "Show the title" as it exists in pages.

Tks!



EDIT
I found this workaround:
- deleting icon
- choose "No" for the CSS Class of the title
- insert "display: none" for the CSS Style of the title

But I still think that the easy toggle (as in page settings) would be better 🤓
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Raffoz

Error when "saving" the panel settings
Every time i Try to save the panel settings, I receive this error:
- HTTP ERROR 500

I can save other settings and all other stuff.
I just receive this error.

Tks!
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Bugo

@Raffoz

1) There is an export of blocks/pages feature
2) Light Portal is positioned primarily as an alternative rather than a copy of existing portals. Therefore, many things may look or function differently, or even be absent altogether. I hope you understand :)
3) I have made a quick fix of the problem you noticed - https://github.com/dragomano/Light-Portal/commit/2ead22e30a0a2f84a8a80858681fb3eb1f7ef015

Raffoz

Quote from: Bugo on August 24, 2022, 12:54:10 AM@Raffoz

1) There is an export of blocks/pages feature
2) Light Portal is positioned primarily as an alternative rather than a copy of existing portals. Therefore, many things may look or function differently, or even be absent altogether. I hope you understand :)
3) I have made a quick fix of the problem you noticed - https://github.com/dragomano/Light-Portal/commit/2ead22e30a0a2f84a8a80858681fb3eb1f7ef015
Tks Bugo!

1) ok, so before new Light Portal version, I could use the export feature to not lose pages and blocks, good idea! 👾
2) yes I understand, but as a heavy user I just try to give my 2 cents to developers... you decide, of course! But I think ideas and proposals help developers to choose among them and understand what users would like to have 🤓
3) Tks! 🧞
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Bugo

I have implemented hiding headers with a new plugin that will appear in the next version.

However, I keep waiting for portal users to start sharing their own portal plugins. For example, someone could make a plugin to add collapse/expand buttons for blocks :)

Raffoz

@Bugo a little question: is there a way to sort the order of blocks and content in mobile view?
I mean: where they appear and if before or after the content.

Tks 🤓
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Raffoz

Quote from: Bugo on August 25, 2022, 07:31:34 AMI have implemented hiding headers with a new plugin that will appear in the next version.

However, I keep waiting for portal users to start sharing their own portal plugins. For example, someone could make a plugin to add collapse/expand buttons for blocks :)
I'd love to be able to create mods!!! 💙
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Advertisement: