help me remove these warnings, I guess it's because of the PHP version I'm using 8.2

class FormatContent
{
public function __construct()
{
$this->settings = resolve(SettingsRepositoryInterface::class);
$this->translator = resolve(TranslatorInterface::class);
}

    zlo Flarum 1.X causes some deprication warnings on newer PHP versions. It's not causing issues and is recommended to be turned off in production environments: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

    6 months later

    Does this extension allow you to make it so you have to log in to read a post at all?

      LostCat

      Haven't tried it myself but by the description it seems to suggest the answer to your query would be: Yes.

      Ie: By setting the visible character limit to 0.

      It opens the post but hides the comment so not what i was looking for but thanks anway

        LostCat

        Oh...🤔?
        Tbh I actually thought that's precisely what this extension was intended to achieve(?)

        Unless I'm misunderstanding, I thought the OP's description and visual examples would seem to suggest that this extension enables us to freely adjust & set the character limits for how much of a discussion threads content is or is not visible to unregistered "Guests".

        Eg:
        •so by setting the character limit to 0 = "Guests" won't see any content.
        •whereas setting it to 200 = "Guests" would see the initial 200 characters of the content.
        •while setting it at -1 = "Guests" would see all content.

        Is this not the case?

        20 days later

        Hi, the text in code format remains visible. The others work as they should.

        2 months later

        Is there a way to exclude certain threads? I would like to use the add-on, but there are also areas that guests should be able to read in full.

          Steve33 Currently not possible, but code contributions are welcome. A new permission would need to be included to exclude functionality on X tags.

          8 days later

          tom23 You can create an issue to consider adding support for that plugin, but I don't have time to develop the enhancement.

          jslirola/flarum-ext-login2seeplusissues

          I repeat myself, if anyone wants to collaborate they can make a Fork and make the relevant changes to make it work, I will review it and if it works it will be included in the main code.