Page 1 of 1

FlatPress 1.3: Should we release?

Posted: Sun Nov 13, 2022 1:20 pm
by Arvid
Hello testers,

the development of FlatPress 1.3 has been going on for quite a while now. We have completed the Smarty update and the remaining work for PHP 8.1 compatibility, that took a lot of work and time. PhotoSwipe is on board (though it still has a few small hiccups).
There are also many other open bugs and requests, but they don't necessarily have anything to do with PHP 8.1.

I have created a milestone on GitHub that collects all the issues that still have to be dealt with in order to be able to release FlatPress 1.3 at all: (Have I forgotten any issues that still need to be put there?)


At the moment I don't have too much free time and can only manage to work in smaller steps. Nevertheless, at some point we have to release a new version that runs under PHP 8.1.

This breaks my heart a little: Should we release version 1.3 without Responsive Admin first, so as not to delay PHP 8.1 compatibility for so long? That would again postpone Franah's great work to a later version...

Please let me know what you think about this.

Thank you and all the best,
Arvid

Re: FlatPress 1.3: Should we release?

Posted: Fri Nov 18, 2022 8:32 pm
by fraenkiman
Hello all,

Currently in the contact form the Accessible Antispam plugin is not working. So I would still add the issue 138 to the milestone.

Although as another "highlight" I would like to see Responsive Admin in 1.3 - active support for PHP 8.0 ends this month. The developer version already has a super progress. So I also vote for 1.3 with the current feature set.

From my side to all involved: You are doing a great job! I'm looking forward to working together in the future as well.

With best regards
Frank

Re: FlatPress 1.3: Should we release?

Posted: Mon Jul 17, 2023 2:00 pm
by eagleman
No, it's mandatory to implement an effective and preactivated antispam solution.
I added a general rule to approve every comment on the blog but it doesn't work.
Spam comments are continuing to harass me.
The only solution, from now on, is to block the whole blog to commenters.
What do you think about it?

Re: FlatPress 1.3: Should we release?

Posted: Mon Jul 17, 2023 5:50 pm
by laborix
eagleman wrote: Mon Jul 17, 2023 2:00 pm... Spam comments are continuing to harass me. ... What do you think about it?
If you remove the "Website" field and filter for these things in the comment field.

-http:
-https:
-[url]
-<a href

spam comments will be a thing of the past.

This is not possible with the standard plugins, manual intervention is necessary here.
I had integrated this for Flatpress 1.0 Solenne many years ago, but I can no longer find the source code.

Re: FlatPress 1.3: Should we release?

Posted: Mon Jul 17, 2023 7:26 pm
by WineMan
Laborix,

What do you mean by "filtering" and in what file would I find this information.

Re: FlatPress 1.3: Should we release?

Posted: Mon Jul 17, 2023 7:58 pm
by laborix
WineMan wrote: Mon Jul 17, 2023 7:26 pm... What do you mean by "filtering" ...
You either have to rewrite the original FlatPress QSpam plugin to scan all fields of the Blog comments form for unwanted chars/words or write a new plugin that can take over such a task.
As I already wrote, FlatPress 1.0 Solenne with PHP 5.4, it was a very long time ago (around 2012) :roll:

As a workaround, you could remove the Website URL field from the FlatPress comment form
-> path: /fp-interface/sharedtpls/comments.tpl

Comment out or remove following lines:

Code: Select all

...
<p><label class="textlabel" for="url">{$lang.comments.www}</label><br />
      <input type="text" {$error.url|notempty:'class="field-error"'} name="url" id="url" value="{$values.url|default:$cookie.url}" /></p>
 ...
and specify the following words in the Flatpress original QSpam plugin:

Code: Select all

cheap
drugs
href
http:
https:
[link
livecam
livechat
online
offer
OFFER
sale
shop
[url
www.
Set QSpam Bad Word Count: Block comments containing more than 1 bad word(s).

Edit:
Add help for /fp-interface/sharedtpls/comments.tpl

Re: FlatPress 1.3: Should we release?

Posted: Mon Jul 17, 2023 9:00 pm
by WineMan
Thanks, I appreciate the detailed response.