
Toby's Comments
-
-
-
Development
- Paywall for User Groups
Answer Toby
Waterhole Founder
Jun 4, 2023 Yep, @Wulfheart is correct. Waterhole doesn't currently support any integration with Zapier or Trigger – though a JSON API is on the roadmap which would potentially make these possible.
For now, the recommended way would be to write some Laravel code to listen for a Stripe webhook and then add the Waterhole user to the desired group:
use Waterhole\Models\User; $user = User::where('email', $email)->firstOrFail(); $user->groups()->attach(5);
-
-
Toby
Waterhole Founder
Jun 4, 2023 Thanks for the suggestion @Subarist. In the next release, comments will have a stacked layout on small screens (the body and replies will be full-width beneath the avatar/username), making them much more readable.
-
-
Development
- Is there a public roadmap?
Toby
Waterhole Founder
Jun 4, 2023 Hey @Manuel, good question!
I don't currently have a well-defined roadmap to publish, except to say that the focus for the next few releases will be mostly on adding essential moderation features that Waterhole is missing (eg. pinned posts, soft-deletion, reporting, anti-spam), as well as integration features (like a JSON API).
The roadmap beyond that is a work-in-progress that will be influenced by public demand and client requests. Hopefully at some stage I will be able to publish a more concrete roadmap.
Feel free to add your most desired features to the Ideas channel so they can receive votes from others, and we can discuss exact implementations etc.
-
-
-
Support
- UTF-8 display Issues
Answer 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
-
-
-
Support
- Class "Locale" not found
Toby
Waterhole Founder
Jun 4, 2023 Hi @Adeala Ademola, have you tried all of the steps in the Troubleshooting documentation? When posting in the Support channel, please include as much information as possible, including any relevant information in the logs, and detail what debugging steps you have tried (eg. clearing the cache).
-
-
Toby
Waterhole Founder
Jun 4, 2023 In reply toSubarist
Subarist
May 30, 2023 I know why we misunderstood... It's so small that I didn't notice itespecially when the navi bar is a bit long... Can we specify a default language? image.png
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 there's no good match, it will default to the first locale defined inExtend\Locales
(English). If you needed to change this you could remove the English locale:Extend\Locales::remove('en');
-
-
Ideas
- Text width
Toby
Waterhole Founder
May 30, 2023 Thanks for the feedback @René! You're right – I've adjusted the default theme slightly in 0.2. May make further adjustments in the future, though probably won't take it all the way down to 70 characters.
Couple things you can tweak with custom CSS:
.container { max-width: 72rem; } /* and/or */ :root { --measure: 92ch; }
-
-
Toby
Waterhole Founder
May 30, 2023 I'm not sure I quite understand the problem, so I'll just explain how the language system works.
In order to become available, languages must be registered using the
Locales
extender. For example, inWaterholeServiceProvider
, you would add:Extend\Locales::add('Traditional Chinese', 'zh-Hant');
Waterhole uses the following algorithm to determine which language to use:
- If the user has selected a language, use that. (If they are logged in, it's stored in their preferences; otherwise it's stored in the session.)
- Otherwise, use the closest matching preferred language from the
Accept-Language
header sent by the browser.
The
app.locale
setting is not actually used for Waterhole requests.You should keep
app.fallback_locale
set toen
so that any strings that don't have azh
translation will fall back to English instead of printing out the translation key. -
Answer Toby
Waterhole Founder
May 30, 2023 I've made a change in 0.2 that should fix this. The posts with invalid XML just won't display an excerpt.
-
-
Support
- Can't upload my photo
Toby
Waterhole Founder
May 29, 2023 In reply toNathanK
NathanK
May 28, 2023 In Chrome. This image: gravatar.jpeg And, no - the text fields don't save. Have you tried to repro using a test user rather than an admin user? Also, your avatar is broken when the email notificat...Yeah, this is strange – I've been trying to repro on your actual account using the impersonation feature, but it works fine (see your updated avatar).
I'm at a bit of a loss here... are you running any browser extensions that might interfere? Can you try with JavaScript disabled?
Regarding the broken image in the email notification, that should be fixed. Please let me know if it happens again.
-
-
-
Support
- CSS and JS not rendering
Toby
Waterhole Founder
May 29, 2023 @Adeala Ademola You've just posted an nginx config and an Apache config. Which webserver are you using? I'm not confident I'll be able to help you since this seems like a server configuration issue rather than an issue with Waterhole itself.
Edit: Just thought of something that might help. Try running
php artisan waterhole:cache:clear
-
-
Toby
Waterhole Founder
May 29, 2023 Migrations can be so painful! Nice job working through the issues here @Subarist.
It would be quite trivial to write an extension to enable BBCode on Waterhole - it uses the same formatting library under the hood as Flarum.
-
-
Support
- Can't upload my photo
Toby
Waterhole Founder
May 28, 2023 In reply to BillyBillyMay 28, 2023 On desktop, using Brave, I also cannot upload a photo.Can't reproduce on Brave either
What kind of image are you uploading? How big? Do any of the other text fields get saved?
-
-
Toby
Waterhole Founder
May 28, 2023 Hi @Subarist, take a look at the Troubleshooting docs to start with.
Probably something pretty similar to DiscourseConnect, which allows authentication to be handled completely off-site.