Skip to main content
Pricing Community Docs Get Started GitHub My Account
Community
Search
Log In
Log In Sign Up
Subarist

Subarist

Taipei/Taiwan flarum.subarist.net Joined May 26, 2023
Posts 12 Comments 31

⁨Subarist⁩'s Comments

Newest Top
Newest Top
    1. 🔧 Development
    2. How Can We Generate RSS Feeds?
    Subarist Subarist Jan 24, 2025
    In reply to 0 0xZero
    0 0xZero Jan 23, 2025
    Hey, I think I am having the same issue with RSS like you. What did you change in Nginx configuration?

    0xZero,

    The default configuration of Waterhole should not have any issues.
    The reason I encountered this problem was that, for security reasons, I set up some file reading rules that caused the RSS to be blocked.
    After removing or modifying the security policy, everything worked fine.

    Something like the following:

    location ~ /\.(?:git|svn|rss|log|bak|sql|sh)$ {
        deny all;
    }
    👍️ 1 Like Loading...
    Reply Actions
    1. ❓ Support
    2. Embedding a Video Test
    Subarist Subarist Oct 28, 2024

    Hi, Sir,

    For your reference,

    On my test forum, I added the following code in the "WaterholeServiceProvider.php":

    use Waterhole\Extend;
    use s9e\TextFormatter\Configurator;
    
    class WaterholeServiceProvider extends Extend\ServiceProvider
    {
        public function boot()
        {
            Extend\Formatter::configure(function (Configurator $configurator) {
                $configurator->MediaEmbed->add('facebook');
                $configurator->MediaEmbed->add('youtube');
                $configurator->MediaEmbed->add('instagram');
                $configurator->MediaEmbed->add('tiktok');
                $configurator->MediaEmbed->add('twitter');
                $configurator->MediaEmbed->add('imgur');
            });
        }
    }

    This allows for quick and simple embedding of the above media platforms.

    image.png

    👍️ 2 Like Loading...
    Reply Actions
    1. 🔧 Development
    2. How Can We Generate RSS Feeds?
    Subarist Subarist Jul 18, 2024
    In reply to Toby Toby
    Toby Toby Waterhole Founder Jul 17, 2024
    Waterhole exposes an RSS feed for all posts (as you've linked), and each channel (e.g. https://waterhole.dev/community/channels/blog/posts.rss). In the future we may add feeds for comments/specific po...

    Oh, my bad.
    The posts.rss returning a 404 error was because of a misconfiguration in Nginx.
    It's fixed now. Thanks!

    Also, I set UTF-8 in RssController.php, and everything is working great.

    return response($feed->export('rss'), 200, ['Content-Type' => 'application/rss+xml; charset=UTF-8']);
    1 Show ⁨1⁩ ⁨reply⁩
    Reply Actions
    1. 🔧 Development
    2. Storage Options (s3 etc)
    Subarist Subarist Apr 29, 2024

    Ah, I see now. I always thought there was something wrong with my setup on Minio S3.

    Reply Actions
    1. ❓ Support
    2. Wrong size then adding external videos
    Subarist Subarist Apr 16, 2024
    In reply to riegel02 riegel02
    riegel02 riegel02 Apr 15, 2024
    Adding any external link with ending .mp4 will automatically make it embed, but it does not respect the size of the message.

    I'm currently fixing this issue with CSS:

    video {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    To adapt to your layout, perhaps simply use width: 100%.

    👍️ 1 Like Loading...
    Reply Actions
    1. Blog
    2. Waterhole 0.3
    Subarist Subarist Nov 16, 2023
    In reply to Toby Toby
    Toby Toby Waterhole Founder Nov 9, 2023
    No, unfortunately I've not been able to reproduce the issue, and it was never submitted on GitHub. If you're experiencing it too, would greatly appreciate if you can provide further information in a b...

    The addition of a comment button has been done in V0.3, thanks @Toby .
    However, on the mobile, I still believe that placing the comment button within a dropdown menu or in a fixed location is necessary.
    In discussions with multiple pages, it's truly challenging to scroll all the way down to the bottom to find the "Write a comment..." section.

    image.png

    1 Show ⁨1⁩ ⁨reply⁩
    Reply Actions
    1. ❓ Support
    2. Only English Interface Displayed When Not Logged In, Despite Different Language Settings
    Subarist Subarist Oct 26, 2023

    Update Note:
    In some non-EN language environments, Accept-Language may not be correctly detected.
    If you need to change the default language, try modify the following code.

    /Middleware/Localize.php

            // Retrieve the user's locale preference, either from the user model if
            // logged in, or from the session or browser preference otherwise.
            if ($user) {
                $locale = $user->preferredLocale();
            } else {
                $locale = session(static::SESSION_KEY, $request->getPreferredLanguage($locales));
            }

    remove: $request->getPreferredLanguage($locales)

            // Retrieve the user's locale preference, either from the user model if
            // logged in, or from the session or browser preference otherwise.
            if ($user) {
                $locale = $user->preferredLocale();
            } else {
                $locale = session(static::SESSION_KEY);
            }
    Reply Actions
    1. 🌠 Showcase
    2. Blank Page Cafe
    Subarist Subarist Sep 6, 2023
    In reply to René René
    René René Aug 29, 2023
    Indeed! It's really a great fit for us :)

    I recently tried using blank.page in some situations, and surprisingly, it's very convenient.
    So now, I've added it to my resource arsenal.
    image.png

    1 Show ⁨1⁩ ⁨reply⁩
    👍️ 1 Like Loading...
    Reply Actions
    1. 🌠 Showcase
    2. Blank Page Cafe
    Subarist Subarist Aug 23, 2023

    The simple waterhole style surprisingly complements the blank.page very well.

    1 Show ⁨1⁩ ⁨reply⁩
    Reply Actions
    1. ☕️ Lounge
    2. Introduce Yourself 👋
    Subarist Subarist Aug 3, 2023
    In reply to M MadWay
    M MadWay Aug 2, 2023
    Maybe not

    Great, now I finally see the legendary EsoTalk 😅

    1 Show ⁨1⁩ ⁨reply⁩
    Reply Actions
    1. ❓ Support
    2. Struggling with setup on Laravel Forge
    Subarist Subarist Jun 9, 2023
    In reply to Manuel Manuel
    Manuel Manuel Jun 9, 2023
    Thanks for the suggestion @Subarist! I saw your previous post, but this relates to a setup with Apache, no?

    Sorry for my limited English expression. I am not very familiar with Apache or Nginx, and I just threw your question at ChatGPT. 😅
    Then it told me that, first, you need to check the folder permissions:

    Please make sure you have set the correct folder permissions on the server. You can use the following commands to change the folder permissions:

    sudo chown -R www-data:www-data /home/forge/waterhole.kostka.studio/storage
    sudo chown -R www-data:www-data /home/forge/waterhole.kostka.studio/public
    sudo chmod -R 755 /home/forge/waterhole.kostka.studio/storage
    sudo chmod -R 755 /home/forge/waterhole.kostka.studio/public
    Reply Actions
    1. ❓ Support
    2. Struggling with setup on Laravel Forge
    Subarist Subarist Jun 9, 2023

    https://waterhole.dev/community/posts/40-css-and-js-not-rendering

    try this.

    The directory permissions should be set to "www" as the owner, rather than root.

    Reply Actions
    1. ❓ Support
    2. Only English Interface Displayed When Not Logged In, Despite Different Language Settings
    Subarist Subarist Jun 8, 2023
    In reply to Toby Toby
    Toby Toby Waterhole Founder Jun 4, 2023
    > Can we specify a default language? In most cases you shouldn't need to, since Waterhole defaults to the closest matching preferred language to the Accept-Language header sent by the browser. If the...

    After several days of testing and interaction with other site admins, we suggest that it is still necessary to have a "default" language parameter instead of removing the "EN" language option.

    In most non-English operating systems, browsers cannot accurately determine the language automatically.
    This situation is similar to some flrum extensions where, in our usage environment, the current language cannot be automatically detected.

    Alternatively, there are scenarios where users are accustomed to operating in an English environment but visit a new discussion forum where they would like to see the familiar language menu directly.
    Furthermore, English is the primary international language and it serves a necessary purpose.

    Therefore, if circumstances permit, having a default language option would be a popular choice.

    Reply Actions
    1. ❓ Support
    2. UTF-8 display Issues
    Subarist Subarist Jun 4, 2023
    In reply to Toby Toby
    Toby Toby Waterhole Founder Jun 4, 2023
    Thanks for these reports @Subarist, they will be fixed in the next release. In the future, it would be a great help if you could post bug reports to the GitHub issue tracker 🙂

    , it would be a great help if you could post bug reports to the GitHub issue tracker 🙂

    Sure, I just need to learn how to use GitHub.😭
    I have tested the updated source code for fixing UTF-8.
    highlighting/username issue has been resolved.
    Thank you.👍️

    👍️ 1 Like Loading...
    Reply Actions
    1. ❓ Support
    2. Only English Interface Displayed When Not Logged In, Despite Different Language Settings
    Answer
    Subarist Subarist May 30, 2023

    I know why we misunderstood...
    It's so small that I didn't notice it 😅
    especially when the navi bar is a bit long...

    Can we specify a default language?

    image.png

    1 Show ⁨1⁩ ⁨reply⁩
    Reply Actions
Load More
© 2025 Waterhole Pty Ltd
  • Product
    • Pricing
    • Releases
    • Roadmap
    • Demo
  • Resources
    • Documentation
    • Support
    • Experts
    • Blog
  • Community
    • Community
    • Twitter
    • GitHub
  • Company
    • Terms & Privacy
    • Software License