• Welcome to Simple Machines Community Forum. Please login or sign up.
January 18, 2022, 03:03:30 PM

News:

Join the Facebook Fan Page.


Light Portal

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

Previous topic - Next topic

Bugo

v1.10.1

* Fixed found issues
How to update: just extract the directories Themes and Sources from the modification archive to the root of your forum, over the existing ones

pocttopus

Everything went fine after replacing Themes and Sources but the version stays as 1.10 instead of 1.10.1

Other issue after updating folders but I don't know if this error message is related with LightPortal or FaBoardIcons mod?

8: Undefined index: name /home/xxx/public_html/Sources/LightPortal/addons/FaBoardIcons/FaBoardIcons.php (Line 64) ==>64:     $boards[$row['id_board']]['name'] = '<i class="' . $icon . ' fa"' . (!empty($color) ? ' style="color: ' . $color . '"' : '') . '></i> ' . $boards[$row['id_board']]['name'];

Bugo

Quote from: pocttopus on December 07, 2021, 11:07:37 PMEverything went fine after replacing Themes and Sources but the version stays as 1.10 instead of 1.10.1
Make sure you replaced Integration.php in /Sources/LightPortal

Quote from: pocttopus on December 07, 2021, 11:07:37 PMOther issue after updating folders but I don't know if this error message is related with LightPortal or FaBoardIcons mod?

8: Undefined index: name /home/xxx/public_html/Sources/LightPortal/addons/FaBoardIcons/FaBoardIcons.php (Line 64) ==>64:     $boards[$row['id_board']]['name'] = '<i class="' . $icon . ' fa"' . (!empty($color) ? ' style="color: ' . $color . '"' : '') . '></i> ' . $boards[$row['id_board']]['name'];
This is the addon error. Open /Sources/addons/FaBoardIcons/FaBoardIcons.php, and replace
'name' with
'title'

pocttopus


marcosbr

Sorted out. 
Grateful!

wylekk

7c0ec568e06da45d8d8834812ee24c42
 /index.php?action=portal;start=12
/Sources/LightPortal/addons/RssFeed/RssFeed.php (Line 102)  Backtrace information

Type of error: General
Error messageSelect
2: simplexml_load_string(): </html>
15099




 7c0ec568e06da45d8d8834812ee24c42
/index.php?action=portal;start=12
/Sources/LightPortal/addons/RssFeed/RssFeed.php (Line 102)  Backtrace information

Type of error: General
Error messageSelect
2: simplexml_load_string(): Entity: line 1810: parser error : Premature end of data in tag html line 2

I installed the RSS Feed block. There are errors in the logs.
Question - does this block create an RSS feed or just specify the address of the feed and it shows it?

Установил блок Лента RSS. В логах ошибки.
Вопрос - этот блок создает RSS-ленту или просто указывать адрес ленты и он показывает ее?

Bugo

The addon uses simplexml_load_string for parsing, then properties link, pubDate, title, and description of each feed item are displayed inside the HTML block.
Try other RSS addresses, maybe the error is in your feed.

2 вариант. Идёт запрос ленты с помощью simplexml_load_string, затем внутри html-блока отображаются свойства link, pubDate, title, description каждого элемента ленты.
Попробуйте другие адреса, возможно, ошибка в конкретной ленте.

Mick.

@Bugo I have a suggestion...

Make pages to have the ability not to show the H2 page title. Same thing you did for blocks few versions back.

***There are pages that don't need it's title displayed when you have created a custom page. For example... https://www.idesignsmf.com/index.php?page=themes I had the title "Custom SMF Themes" removed along with the edit icon from the file but after I upgraded, is back. No biggie, I'll remove it again soon.

Ty.  ;)

Bugo

@Mick., should this new option hide the title only? Or even the author name, date, and the "Edit" icon?

Mick.

Quote from: Bugo on December 17, 2021, 03:53:05 PM@Mick., should this new option hide the title only? Or even the author name, date, and the "Edit" icon?

The author name and date is optional already in the mod. That's good. I'm just thinking the Title to be optional as well. Now the edit Icon, if it's not too much, might as well make it a global option.

Advertisement: