@dschannon wrote:
We have a category that's only available to some users.
We want to stop new posts from occurring in the category, but we want to keep the category still viewable.
Is that possible?
Posts: 2
Participants: 2
@dschannon wrote:
We have a category that's only available to some users.
We want to stop new posts from occurring in the category, but we want to keep the category still viewable.
Is that possible?
Posts: 2
Participants: 2
@Drew_Warwick wrote:
Easy repro. This code should have two empty lines but doesn't:
TestFunction() { } TestFunction()
Discourse syntax:
When posting code on a Discourse forum, it can get really messy without the whitespace included for readability. It supports tabs, spacing, and whatnot, but for some reason it doesn't allow blank newlines. I'm not sure if this is unintended or not, but it'd be great if text in code tags allowed blank lines to preserve the original formatting. It should allow infinite blank lines as well: there really isn't an issue of preventable spamming because someone could just put a single character on each line and achieve the same effect.
Posts: 4
Participants: 3
@Drew_Warwick wrote:
The main purpose of including code on a forum post is so other people can use it, to either help find problems or just use it in their own projects. Placing the cursor before the last character, scrolling to the bottom of condensed code blocks, and shift clicking after the last character to select all of the code isn't that tedious, but other major sites like Github, Pastebin, etc all have a copy all / select all / view raw in its own tab options for good reason. It'd be wonderful for code tags, whose existence is based upon giving people the code within them, to provide that with the single click of a button. It would also be useful for users who didn't know they can shift click to select text. Sometimes I find even myself forgetting to shift click to select all of the text and end up click dragging to select.
Posts: 5
Participants: 3
@Wraithseekerr wrote:
I have followed the official instructions for embedding Discourse comments via javascript but I am having a weird issue.
I am getting stuck at the continuing discussion part in the iframe and that my javascript console is throwing this error.
Refused to display 'myforumembedURL' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
EDIT: Installing this plugin https://github.com/TheBunyip/discourse-allow-same-origin fixed the above issue but a new problem arrives
Uncaught TypeError: Cannot read property 'forEach' of undefined application-cd9745fc880544c7c2b725a9c0999a09.js:9 Uncaught TypeError: Cannot read property 'highlighted_languages' of undefined mydomainembedURL. Failed to load resource: the server responded with a status of 403 ()
Posts: 1
Participants: 1
@holden wrote:
Hello!
I'm finally getting ready to launch our Discourse site and installed an SSL cert today. It appears to be working just fine, but the green padlock doesn't appear on desktop and the lock doesn't appear on mobile. Here's the site https://community.miraclesarehappening.org/
I used a Godaddy cert and concatenated the two files that came with the download:
65c7a7ba49dcc2a0.crt (this is the root)
gd_bundle-g2-g1.crt (this is the intermediate)cat 65c7a7ba49dcc2a0.crt gd_bundle-g2-g1.crt > ssl.crt
Does it look like I did something wrong?
Thanks!
Holden
Posts: 3
Participants: 2
@Falco wrote:
Hey guys, we all know forum signatures are a past thing, but there are still a lot of communities that really like then.
So since Discourse is I crafted a plugin that let's we take back our much loved (gif animated) signatures!
Meet Discourse Signatures.
https://github.com/xfalcox/discourse-signatures
Thanks to:
- @charleswalter who pushed for this and made it possible
- @eviltrout for making it compatible with latest Discourse
- And all the Discourse team for such amazing project.
Forums using it:
Posts: 5
Participants: 2
@stevenpslade wrote:
Continuing the discussion from A tour of how the Widget (Virtual DOM) code in Discourse works:
If I want to access something outside the scope of a widget that only has access to the
User
object, how would I do? I am specifically trying to show acustom_field
beside the user's name in a post.I was thinking of doing something like this in
poster-name
widget:
contents.push(h('span.post-user-location', attrs.custom_fields.location));
Any advice?
Furthering this though: how can you tell what
attrs
a widget has access to?
Posts: 1
Participants: 1
@holden wrote:
I just have to comment: Discourse is lightening fast now!
You guys are doing an amazing job!
Thank you!
Posts: 1
Participants: 1
@Sebastian1 wrote:
Running a discourse forum and thinking of hiring a coder to customize it.
But reading here in the forum it feels like it might be an enormous undertaking. I see coders in this forum not even being able to develop an adsense plugin. So I figured I could ask you more technically gifted guys/girls what your guess on developing time is before I decide to hire someone or not.
How many hours do you think it would take a reasonably good rails dev to do these customisations:
Totally redesign the members profile. A lot less clutter. Something like this: https://growthhackers.com/members/sean
Make a feature in each members profile where they can pick their happiness score of 1-10 and have a graph show scores over time.
Create a way to insert links to external urls between some posts in threads that get a lot of organic google traffic. But not in all threads.
Code so that when a member logs into the forum he will also automatically be logged into to the main website which the forum is part of.
Are we looking at 1 month of coding or 1 year of coding?
Posts: 2
Participants: 2
@dmitry_fedyuk wrote:
An example:
- A page for an existing
feedback
tag (rendered correctly): https://meta.discourse.org/tags/feedback- A page for an absent
feedback1
tag (rendered correctly as There are no latest topics): https://meta.discourse.org/tags/feedback1- A page for a tag with the
.json
suffix (rendered incorrectly as a JSON regardless whether the tag is existing or not)
https://meta.discourse.org/tags/feedback1.json
Posts: 1
Participants: 1
@sashko wrote:
In the Meteor guide, we have embedded discourse threads at the bottom of most pages. Here's an example: http://guide.meteor.com/1.3-migration.html
As you can see in this screenshot, the embedded thread is only 150px tall, even though the thread has 31 replies.
On the Meteor blog, where we are using a similar embed script, the embed expands to fit all of the posts. Curious why that function doesn't work in the guide, and how we can fix it!
Here's the code for the embed:
Posts: 2
Participants: 2
@meglio wrote:
Looking at these new keys in Transifex - please help understand how they are used in the application:
js.groups.empty.posts
There is no post by members of this group.
js.groups.empty.members
There is no member in this group.
js.groups.empty.mentions
There is no mention of this group.
js.groups.empty.messages
There is no message for this group.
js.groups.empty.topics
There is no topic by members of this group.
Posts: 1
Participants: 1
@meglio wrote:
Okay, so a group can be made primary per user.
What does it mean and what it affects from the user point of view?
Posts: 3
Participants: 3
@infertux wrote:
Hi there,
I just tried to upgrade Discourse from 1.4.x to 1.5.1 and the upgrade failed at the
rake multisite:migrate
step with this error:MiniProfilerRails initialized twice. Set 'require: false' for rack-mini-profiler in your Gemfile
Now when I go to the dashboard, this is what I see:
I'm pretty sure I'm still running the 1.4 codebase and yet when I go to the upgrade page, it says I'm up-to-date. It looks like the upgrade process is getting confused when there is an unexpected error happening during the upgrade.
I realise there are two bug reports here but the second one seems more serious to me.
Posts: 3
Participants: 2
@mcwumbly wrote:
I haven't bothered maintaining a personal website for a while. The closest thing to my 'website' is twitter:
But if I put
twitter.com/mcwumbly
in my profile, it just shows up astwitter.com
:Why not show the full path?
(If I did have a personal website, I probably wouldn't have a deep path anyway)
Posts: 9
Participants: 4
@Ankhamax wrote:
Custom changes made in
js.topic.read_more_MF
through customize >> text content is not displaying on the site, instead the default text is displaying.Is this a bug?
Posts: 3
Participants: 2
@meglio wrote:
Hi team.
I hope I've been doing very well for Russian translations and reviews.
Taking into account Ukrainian is my first language, same as Russian (I'm bilingual), please consider making me the translator and reviewer for the Ukrainian language.
Thanks!
Posts: 3
Participants: 3
@meglio wrote:
Hi there. I can't find the context for this translation key:
admin_js.admin.groups.about
Edit your group membership and names here
Please advise where this text is shown.
Posts: 1
Participants: 1
@meglio wrote:
For some translations I noticed the
fixme
tag is used.What does it mean, what should I, the reviewer, do with it, should I ever remove it, and when one should attach this tag to the translation?
Posts: 2
Participants: 2