Search found 80 matches

by Lubomír Ludvík
Fri Jan 03, 2025 5:11 pm
Forum: Theme support
Topic: Updated 2022 theme
Replies: 2
Views: 56412

Re: Updated 2022 theme

I add styl to theme 2022
https://wiki.flatpress.org/res:themes:2022
2022b.png
2022b.png (66.18 KiB) Viewed 53105 times
You can change head picture at \ucto_style\imgs\vedeni900.jpg
Preview http://ucetnictvi-trebic-brno.cz/
by Lubomír Ludvík
Fri Jan 03, 2025 12:24 pm
Forum: Theme support
Topic: Theme HTTP ERROR 500
Replies: 4
Views: 61750

Theme HTTP ERROR 500

Theme https://wiki.flatpress.org/res:themes:disciple
On 1.3.1 has error: HTTP ERROR 500
Do you have instructions on what needs to be fixed?
Thank you
by Lubomír Ludvík
Thu Jan 02, 2025 7:47 pm
Forum: General Support
Topic: Configuration problems
Replies: 8
Views: 95901

Re: Configuration problems

And PHP version?
echo PHP_VERSION;
I have FlatPress 1.3.1 on PHP 8.2

In the main directory is file error_log ?

Copy https://github.com/flatpressblog/flatpr ... /1.3.1.zip to server
and then extract this file on server.
by Lubomír Ludvík
Thu Jan 02, 2025 6:54 pm
Forum: General Support
Topic: Configuration problems
Replies: 8
Views: 95901

Re: Configuration problems

Some users theme are having problems with the administration.
Have you a standard theme leggero ?
by Lubomír Ludvík
Mon Dec 23, 2024 10:03 am
Forum: Plugin support
Topic: Plugin FPstats
Replies: 8
Views: 112801

Re: Plugin FPstats

I updated phplot.php from https://github.com/PHPlot/phplot
but there are still bugs in PHP8:

Deprecated: Return type of DBIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in ...
by Lubomír Ludvík
Sun Dec 22, 2024 11:40 pm
Forum: Plugin support
Topic: RSS FlatPressForum widget
Replies: 2
Views: 50632

Simple rssread widget

source rssread.php
<?php
$rss = $_GET['rss'];
$rss = simplexml_load_file($rss);
echo '<h1>'. $rss->channel->title . '</h1>';

foreach ($rss->channel->item as $item) {
echo '<h2><a href="'. $item->link .'">' . $item->title . "</a></h2>";
echo "<p>" . $item->pubDate . "</p>";
echo "<p>" . $item ...
by Lubomír Ludvík
Sun Dec 22, 2024 8:03 pm
Forum: Plugin support
Topic: RSS FlatPressForum widget
Replies: 2
Views: 50632

RSS FlatPressForum widget

Widget create with https://rss.app from feed/rss2

Code: Select all

<iframe width=”800” height=”500” src=”https://rss.app/embed/v1/feed/xeLKa4jg6jhRnw7V” frameborder=”0”></iframe>
by Lubomír Ludvík
Sun Dec 22, 2024 4:38 pm
Forum: General Support
Topic: Please fix output from Flatpress RSS
Replies: 9
Views: 100334

Re: Please fix output from Flatpress RSS

fraenkiman wrote: Sun Dec 22, 2024 12:02 pm I have cleaned up the PhotoSwipe plugin accordingly and uploaded it again.
I tested it, it's ok.
by Lubomír Ludvík
Sun Dec 22, 2024 7:53 am
Forum: General Support
Topic: Please fix output from Flatpress RSS
Replies: 9
Views: 100334

Re: Please fix output from Flatpress RSS

Thank you, strip_tags works in /fp-interface/sharedtpls/rss.tpl

Code: Select all

a) {$content|tag:the_content|truncate:256}
b) {$content|tag:the_content|strip_tags|strip|truncate:256:"...":true|escape}
rss_tag.png
rss_tag.png (54.79 KiB) Viewed 100275 times
by Lubomír Ludvík
Sun Dec 22, 2024 7:49 am
Forum: General Support
Topic: Please fix output from Flatpress RSS
Replies: 9
Views: 100334

Re: Please fix output from Flatpress RSS

The PhotoSwipe plugin version 2.0.1 no works, get HTTP ERROR 500 on PHP Version 8.2.26

[22-Dec-2024 07:47:00 UTC] PHP Fatal error: Uncaught Error: Undefined constant "RANDOM_HEX" in /home/eywjamcd/flatpress.cz/fp-plugins/photoswipe/photoswipefunctions.class.php:222
Stack trace:
#0 /home/eywjamcd ...