Search found 567 matches

by Arvid
Sun Oct 02, 2022 11:15 am
Forum: General Support
Topic: Adding server sides includes
Replies: 4
Views: 3193

Re: Adding server sides includes

I do not think SSI will work with FlatPress. In FlatPress, the HTML of the page is contained in template files (.tpl) that are being processed by the Smarty engine (which itself is a PHP program). So the web server isn't serving any HTML files directly to the client; technically, it just serves the ...
by Arvid
Sun Oct 02, 2022 11:00 am
Forum: Theme support
Topic: https don't show theme
Replies: 14
Views: 17341

Re: https don't show theme

Okay, then please add the "echo" line to defaults.php, line 124. What does it output on your blog? ini_set('session.cookie_secure', 1); // \/ ADD THIS LINE \/ echo 'Test: "' . $_SERVER ['HTTPS'] . '"'; // /\ ADD THIS LINE /\ if (isset($_SERVER ['HTTPS']) && ($_SERVER ['HT...
by Arvid
Sat Oct 01, 2022 7:48 pm
Forum: Plugin support
Topic: a simple Emoticons-Plugin
Replies: 7
Views: 9730

Re: a simple Emoticons-Plugin

Nice, I really like that :) I have an improvement suggestion, though: Emoticons at the end of a line should also be replaced. Text ;) Text :) Text The ;) is being replaced, but not the :) I also love the idea of the "instructions" link in the plugin description! Small suggestion here as we...
by Arvid
Sat Oct 01, 2022 7:37 pm
Forum: General Support
Topic: Wie kann ich eine Seite oder ein Blogbeitrag mittels Passwort oder ähnliches schützen? :: How can I protect a page....
Replies: 1
Views: 1945

Re: Wie kann ich eine Seite oder ein Blogbeitrag mittels Passwort oder ähnliches schützen? :: How can I protect a page..

Ronny, is the Password Protect script suggested by Lubomír Ludvík what you're looking for? This might be a good idea for a simple FlatPress plugin, though...something like a BBCode element á la... [protected password="supersecret"] ...which then, embedded in the content of the protected bl...
by Arvid
Sat Oct 01, 2022 7:28 pm
Forum: General Support
Topic: Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag
Replies: 3
Views: 3194

Re: Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

Hi,

thanks for reporting! :)
Can you still reproduce this with the current master? I was quite sure we fixed this with 92475a3.

All the best,
Arvid
by Arvid
Sat Oct 01, 2022 7:14 pm
Forum: Theme support
Topic: 22 themes
Replies: 1
Views: 6356

Re: 22 themes

Lubomíre,

thanks for digging that out. Are all those themes listed on our wiki already?

All the best,
Arvid
by Arvid
Sat Oct 01, 2022 7:08 pm
Forum: General Support
Topic: Greek website have problems with greek names of posts
Replies: 10
Views: 5132

Re: Greek website have problems with greek names of posts

erevnitis wrote: Sun Sep 11, 2022 2:14 pm Thank you very much! I must activate PRETTYURLS addon?
Yep. Without it activated, you'd generally have only the "ugly" entry ID URLs, e.g. example.org/?x=entry:entry221001-130941 .
by Arvid
Sat Oct 01, 2022 11:01 am
Forum: General Support
Topic: Flatpress 1.2.1 issue #132 - Months are displayed in the wrong language in the search
Replies: 14
Views: 7575

Re: Flatpress 1.2.1 issue #132 - Months are displayed in the wrong language in the search

Thank you both very much, I changed the code according to your suggestions with 225e3b1. Works nicely :)

All the best,
Arvid
by Arvid
Mon Sep 19, 2022 4:44 am
Forum: Theme support
Topic: https don't show theme
Replies: 14
Views: 17341

Re: https don't show theme

You added {$smarty.const.BLOG_BASEURL} to your template, so you see your blog_baseurl at that particular place (e.g. in the blog header). Call your blog via HTTP: The blog_baseurl you added to the template should start with "http://". Now call your blog via HTTPS - does the blog_baseurl st...
by Arvid
Sat Sep 17, 2022 12:32 pm
Forum: General Support
Topic: Admin Required Link
Replies: 15
Views: 8674

Re: Admin Required Link

Your code, embedded in exec tags, works for me (I have no data.txt so I get the "The file cannot be found!" message). But: Getting this error, exit is called. This stops every PHP execution immediately, so nothing else of your FlatPress will be displayed after that! I'd recommend removing ...