Hi, on and off we are getting errors as per title and image below when Zapier is running an invite via the api - for example the one below ran at 12:07 where as the one before that 17 mins earlier went through ok but this one did not.
I have checked the /logs page and there are no logs coming up at all strangely. I cleared the logs - tried to re-run it and still nothing.
Nothing has changed in the API call all Zapier does is capture the email address out of the mailchimp list and adds it in and then sends it into the API in order to send an invite out to them for the forum.
I have edited out the username and api key and part of the email address - I have checked the email address and it is valid - I have also had the issue with outlook.com email addresses and gmail ones too etc.
Just like it makes sense to distinguish between different types of badges, there should also be different types of groups (in badges, it's called "groups" so I guess I'm talking about "group groups"). Is this something that's already on someone's to-do list?
To be more specific: groups can be based on all kinds of criteria, e.g. geographic location, occupation, special interest etc so it would make sense to list them on the /groups page according to those criteria, right? I would even wish to have separate groups pages for each group group à la /groups/country. (BTW: that would be a nice feature for the badges too: /badges/community, /badges/posting, etc)
Currently when using d/sidekiq to run sidekiq in the docker dev image, it starts a sidekiq process only for the critical queue.
The problem line is:
When I change sidekiq -q critical,low,default to sidekiq -q default,critical,low it starts a process only for the default queue, so there's something wrong with the commas.
The workaround I'm using is just removing -q critical,low,default in its entirety, which starts a process servicing every queue.
On mobile, whenever I post a reply, the topic is resumed some way back and my new post is out of view. If I don't then manually scroll it back into view, it remains unread, which is annoying!
Edit: I'm pretty sure this started happening when we upgraded and the new scroll mechanism was introduced. (Which even after months of use I still hate - previous was clunky but much better than this "click to reveal a painful scroll bar" thingy. I preferred typing in a post number).
Following up on the discussion here, I have successfully set up a fork of the official Discourse app that can send push notifications via the OneSignal API.
There are two parts to this: discourse-onesignal - a Discourse plugin that sends Push Notifications to OneSignal's REST API
For now the app works only on iOS. Android version should be coming soon.
Instructions for setting this up for your own app:
Register an App ID on the Apple portal (developer.apple.com)
Open an account with OneSignal (free), create a new app, and generate certificates for iOS using the OneSignal provisionator (or generate certs on the Apple portal)
Create the provisioning profiles on the Apple portal. You need a distribution profile for pushing to TestFlight and the App Store, and likely an ad-hoc profile for testing quickly on your device. (Note that you may also need a development certificate for testing the app on your device. Step 2 above creates only the production certificate.)
Create an iCloud container and associate it with your App ID.
Edit global.js to set your app's configuration variables: the site domain, the app name, the OneSignal App ID and the URL scheme (optional).
Make sure you have Node installed, and run node setup.ios.js from your command line. This will use the variables set in globaj.js to update the app files.
You can now open XCode, open Discourse.xcodeproj and update your Bundle identifier and your Provisionin profiles.
Now, jump over to your Discourse instance. a) make sure you are running your site on https. The OneSignal plugin does not support http at this point.
Add the discourse-onesignal plugin to your Discourse instance and configure it: enable notifications, add your OneSignal App ID and the OneSignal REST API key.
You should now be ready to build and test the app in Xcode our using react-native run-ios on the command line. (To test push notifications, you need to set up your app on your phone, either via ad-hoc or through TestFlight.)
If anybody is interested in testing this using a demo Discourse instance, I have a demo site set up at white.saloncms.ca. Please respond below with your email address so I can add you to the list of testers for the app.
Upcoming improvements:
the home screen of the app needs to be improved a little bit. the official Discourse app accepts connections to multiple sites. The whitelisted app is geared towards a single site. So that home screen is a little raw and empty. I'm working on a better UI for it. (PRs and suggestions welcome.)
I have set up WP-Discourse according to the instructions, with WP and Discourse on separate hosts.
Issue
I have activated the 'Publish all new posts to Discourse' setting, but when I visit posts, the 'Publish post to Discourse' checkbox is unchecked, and no discourse topic has been created. On the front-end, there is no comment-related message, it's empty.
Workaround
In order to get a single post to work, I need to manually check 'Publish post to Discourse' and check 'Allow comments' on the post. Once I check those two and update the page, then the topic is created on discourse (see my connection is fine) and the message "Discuss this post at forum.mysite.com" appears on the bottom of the post. This is the desired behavior, but I want it to happen for all posts at the time of publishing.
Questions
What settings should be set in Settings > Discussion ? Current settings:
If I have 'Publish all new posts to Discourse' checked and it's not working, how can I debug this feature? Should I be looking for anything in particular in WP or Discourse logs?
Can't it just work? Why does life have to be so hard? Is it because I am a sinner?
I edited discourse_narrative_bot.timeout.message under admin/customize/site_texts and thought that was a straight forward and simple job, but either I did something wrong or there is a bug because the discobot no longer displays its timeout message but says instead translation missing: en.discourse_narrative_bot.timeout.message
If this is not a bug, my interpretation is that it is not really missing a translation (since I'm using only one locale and that is the english one) but that it does not recognize the text I edited as legitimate for some reason. Is there something else I need to do to get this working? There are no special characters in my text except for %{site_name}, a link, a dash, two ", two **
When I revert back to the default message text, it works again. Is there a character limit or something, @tgxworld?
I'm not sure if this is related but it looks like I'm still having issues. I just had another "500 internal server error" and got this error in the logs:
ActionView::Template::Error (Discourse::InvalidAccess)
/var/www/discourse/lib/auth/default_current_user_provider.rb:67:in `rescue in current_user'
Requests for admins to be able to add links to the topnav come up reasonably often here on Meta.
There's this one:
There's also this one, with discussion spanning 3 years!
Back in 2015, Jeff said:
Sam responded:
At the moment, the solution for this issue seems to be adding custom JS to the </body>. While this works, it's not exactly user friendly (you need a basic JS understanding to add or change links), and could break at any time with a code change to Discourse.
I'd like to suggest the following 3-stage rollout:
Provide a site setting for admins to add external links to the topnav. The site setting will need 3 values, I propose a comma separated list. title,tooltip,URL
Provide a site setting for admins to add internal links to the topnav - without handling breadcrumbs.
Improvinate #2 by handling certain cases where breadcrumbs make sense, like Tags, Users, Groups, Badges, etc.
The benefit to the 3-stage rollout is that external links require no routing by Discourse, nor breadcrumb support. They should simply be an href. Keeping steps 2 & 3 separate will allow for complaint driven development. Roll-out internal link support, see if there are complaints about the lack of breadcrumbs. Meta already has 2 internal links without breadcrumb support, and I've never seen a complaint.
In order to target a user's title with CSS, they must have an assigned primary group. Once assigned a primary group, their title links to the group per
This is great if the user's title is related to the group - however, if the only reason for the primary group is to allow CSS targeting, the link is unwanted.
By default, the system user has no_mailas it's email address. I would like to change this to a real email address to make sure if users PM system, someone receives those messages.
So I impersonated system and went to user preferences to change the email address. After I entered the new email address, it stated something like "Sending confirmation email to this address". However, from the email log (and from Sparkpost's error log) I can see that it actually tried to send those emails to no_mail. Shouldn't it be sent to the new email address? At least it is saying that.
I would like to know if there is an option to change the Titles & Descriptions of categories and subcategories. For example, if I go inside Bug section the title will be "Latest Bug Topics" and the same will happen in support etcetera.
I have read an older thread saying that this was not available but that was Oct 2015.
The value behind this is simple.
Meta Titles & Descriptions are not just valuable for rankings (description actually is not a ranking factor at all) but it gives you the chance of getting a better CTR by having something more optimized.
as an admin, the only place in the latest topic list that I can use to tell something more important to users, is the top of the list. where I can pin topics or use banners.
usually users want to discover what exists for them, and so in the first glance they try not to click on any topic and scroll down to see more.
as a result the admin lose its chance to be seen again, unless if they have got clicks in the beginning.
the feature request: some predicted positions inside the topic list where admin can use to show the highlights every while as users scroll down. for example every 20 topics admin can add some topics that are highlighted or pinned.
I tried to make a mock up, but my imagination and visualization is not good at all . excuse me for the bad redrawing!