News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Light Portal

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

Previous topic - Next topic

TeamKC

Hello Bugo,

We think it's just a small thing, the thing we mentioned earlier, but we thought about it because of your comment in the fanfics module, support topic.

Also, we did send our feedback to you via the Feedback page, we hope you received it.

Bugo

Development continues. In the meantime, I will be glad to receive new reviews on the mod page or likes on the Github page :)

puravida47

Hi Bugo.
first to say - love Portal and your mods, now:
Two issues
I installed update 2.7 and get Error:
Unknown column 'slug' in 'field list'
File: /home/contru4/domains/conspiraciesortruth.com/public_html/Packages/temp/database.php
Line: 582


in server files is this at 582:
if (isset($table['default']))
      $smcFunc['db_insert']('ignore', '{db_prefix}' . $table['name'], $table['default']['columns'], $table['default']['values'], $table['default']['keys']);
}

it does not install, so I re-installed 2.63 and site works, with exception of issue 2 below, tried several ways, same results, blank page


second problem:
when I add a Gallery image in any Block, either Right side or Center top, and go with new browser or computer to the domain, ONLY white page, nothing.  Then deleting that block, works again.
I have 4 blocks side installed, front page all fine, only when adding an image - all stops

my site [nofollow]

thanks for helping me out here

Darknico

#343
For the first issue, you use optimus?
Try to install the last version, 3.0 beta, there is an update for light portal plugin
Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


Bugo

Quote from: puravida47 on June 29, 2024, 10:57:03 AMsecond problem:
when I add a Gallery image in any Block, either Right side or Center top, and go with new browser or computer to the domain, ONLY white page, nothing.  Then deleting that block, works again.
I have 4 blocks side installed, front page all fine, only when adding an image - all stops
Do you mean an html block or gallery block? If html, can you provide your html code?

puravida47

Images from SMF Gallery. 
When I add as admin shows in preview, shows in side panels, shows in center,
when I save, seems all ok,
however, thereafter website is blank pages on other browser windows as well as other user to access site. tested with 2 friends in different countries.
only works for me as admin logged in
strange.
I delete that block settings, all back to normal.

regarding issue 1.
I have optimus installed and checked again, only the error log shows the message.


Bugo

As a quick solution, try to setup permission "View SMF Gallery" for guests and members. The "blank page" appears for those do not have that permission.

puravida47

You are the best.   :)
I took out "hide images from Guests"
I allow guest "view Galleries" and "attachments"

and it works.

I created the first SMF forum 2010, approx. 10 since then and never went with images, and with a Portal design, just always "old fashion", and always found my way around. But with so many new options, I have to retrain my older brain... :-[

You saved me a lot of work and headache.

thanks so much

I will try later again to install 2.7 and report if same errors.

Bugo

Regarding the other issue, how did you update from 2.6.3 to 2.7?

TeamKC

Goodmorning Bugo,

We saw that there is an update available for your portal, are there coming any update instructions for it? Because we don't have an update button to update the old version to the new one. I'll attach a screen to show what we mean.

Thanks in advance for your help.

Bugo

Try to uninstall the previous version (but do not remove database tables), then install the new one.

Second variant: extract Sources and Themes dir from the package into your forum dir, with replacing.

TeamKC

Hello Bugo,

We wanted to thank you for the edits in the blogmode, and also for the help/instructions for installation of the latest update.

TeamKC

Hello Bugo,

I'm sorry but we're back again with a question. We've been trying to get the blogmode to be the only thing for our members to be allowed to write, but that doesn't seem to be happening. We still have to allow permissions for pages and other categories, is there anything we're missing if it comes to the permissions to give out to make it blog only? And where are members able to find to add blogs?


Bugo

#353
What permissions have you set for your user group?

As I wrote earilier
Quote from: Bugo on June 22, 2024, 10:36:21 AMany user who has rights to publish portal pages will be able to publish pages with the "Normal Page" type or "Blog"

In the future, I plan to introduce the "Blog" type as a separate portal entity, similar to pages and blocks. Then you  will be able to use a separate permission for it. Currently, you need to have rights to create pages, because every blog post is a portal page, the only difference is that it is displayed in the ?action=blog area. In addition, each user's profile should display their blog posts, if they exist.

At the moment the BlogMode plugin is still being developed, don't consider it a full-fledged application that can replace a powerful blogging system :)

TeamKC

Thank you for your quick reply and the explanation. We weren't sure if we still needed to do that since the blog has it's own permissions, but we do understand that it's still in development, we can't wait until it's finished though.

We also send another bit of feedback, since we've been playing around more and more with the portal.


Bugo

Hey, if you only need the portal for fanfiction and don't plan to create other pages, you can just realize the blog feature without the BlogMode plugin. All you need to do is allow users to create posts. Those posts will show up on the home page as articles. People with access to the portal can read the posts and leave comments.

If you want to use the pages for something else, you could organize them by tags or categories. For example, you could make a "Blog" category that only shows on the homepage, or you could display them in a separate block with the PageList/RandomPosts plugin. It's all pretty flexible, I get lost in the options sometimes too! :)

TeamKC

We have other pages, but unfortunately can't seem to find a block that also has an option to give a preview of articles/pages/posts in the pages. Or we've been trying the wrong blocks? I guess for now the blog option is the nicest, since that one does give snippets/previews of what's on that page.

Thank you so much for thinking with us.

TeamKC

Hello Bugo,

After we installed the 2.7.1 update we noticed that our gallery block wasn't being shown to our members.
After uninstalling and re-installing 2.7 the gallery block was working again. When we went back to 2.7.1 it didn't work anymore.
So we compared the .../Sources/LightPortal/Addons/GalleryBlock/GalleryBlock.php for both versions and noticed the thing you see in the screenshot we've added.
After we uploaded the php file of 2.7 and overwritten it, it worked again. But is the 2.7.1 file correct, since it seems to check if our members have administrator permissions?

Bugo

Yes, it's a nice catch, I used that permission for testing.

Replace "User::hasPermission('smfgallery_manage')" with "User::hasPermission('smfgallery_view')" in that part of code.

Advertisement: