Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60642 articles
Browse latest View live

How should Discourse System Market itself?


Generic error when existing user tries to sign in

$
0
0

@zhanes wrote:

I've got a report from a specific user that when they try logging into our forum they get the error "There is a problem with your account. Please contact the site's administrator."

We use SSO. I haven't heard of this from any other users, and we've got a lot of them. I don't know really anything else about the technical side of our installation – one of our developers just told me that it's an issue on the Discourse side of things. What should I do?

Posts: 3

Participants: 3

Read full topic

GoDaddy Discourse Install. Pros/Cons

$
0
0

@Marco_Raballo wrote:

Hey everyone, im looking into installing Discourse through a GoDaddy hosting:

I already have GoDaddy's service hired for email and Webflow webpage hosting and wanted an expert and user opinion on implementing this install. Every input would be appreciated, i already know using digital ocean would be a more accurate choice, but i want to give it a try and optimize already allocated resources.

The general idea would be to implement Discourse's forum platform as a sub-domain to my already existing Webflow webpage (Hosted by GoDaddy). Im sorry in advance if i have some concept errors, not my field of expertise.

Posts: 3

Participants: 3

Read full topic

WP-discourse: comments are not pulled over

$
0
0

@tophee wrote:

I have WP-discourse installed, activated and setup. SSO is working fine but my comments are not pulled over.

I tried lowering the requirements (see screenshot below), maxed my trust level on the forum, replied to my comments and to the replies, but the discourse forum is as empty as before. I have no idea where else to look. Any suggestions?

Posts: 1

Participants: 1

Read full topic

1 million Topics - Takes millions of days to get indexed without Sitemap in Robots

$
0
0

@veer wrote:

I recently merged my multiple bbpress forums in a single Discourse Forum, Google is indexing it very very slow. It can not go very deep.

From one month i am getting 200 pages per day get indexed, while usually a new content get indexed to 0.1 posts in a month. Its hard for google to index a big forum.
Following three things must be solved so that discourse can be use for multipurpose sites.

  1. dofollow, noindex in header (meta- robots) of the tags pages. Forum with too many tags will create too much Duplicate content in index without this solved.

  2. there must be a way to edit the robots.txt to include sitemaps, or to avoid unnecessary pages get indexed.

  3. There must be a sitemap facility, just like nodebb.

In nodebb all of these three things are possible. but i used discourse as it is more stable in big databases.

Posts: 2

Participants: 2

Read full topic

Is there another option besides akismet?

$
0
0

@chagara wrote:

basically I want to be able stop spammers but, due to privacy issues, I don't want to send users information to a 3rd party.

Posts: 1

Participants: 1

Read full topic

"Autobiographer" badge query and empty bio_raw

$
0
0

@youwiki wrote:

Hello!

I just been found that after saving user profile with an empty "About" field, it will be empty in the database, but not null. At the same time in a badge query "Autobiographer" are checked for null value for bio_raw field.
It seems to solve this problem, should to change this badge query to check the empty and null value for bio_raw or change the cook function in the app/models/user_profile.rb model by adding self.bio_raw = nil when self.bio_raw not present.

P.S. Same for location.
P.P.S. See that it have lenght check for bio_raw, so all right for this badge query!:slight_smile:

Posts: 1

Participants: 1

Read full topic

Script not shown on TOP or FOOTER

$
0
0

@Crypto.ba wrote:

Im kinda noob when it comes to discourse, but im learning.

Can anyone tell me why a price widget script does not show on TOP or FOOTER, it works when i put it in Body, but its on the bottom of the page...i want it on TOP or FOOTER

Posts: 1

Participants: 1

Read full topic


How do I make my site only listening on its hostname. and no longer on its IP?

Request: Customisable Digest colors and URL parameters

$
0
0

@DiscourseMetrics.com wrote:

I'd love to be able to:

  • Customize the background color and link color used in the digests so it matches the rest of my site
  • Add a hardcoded or customisable suffix to the URLs in the emails like "?utm_campaign=digest" so I can see in Google Analytics how many members are re-engaged by the digests.

Thanks!

Posts: 3

Participants: 2

Read full topic

Code blocks that stand out, per-language backgrounds

$
0
0

@LeoDavidson wrote:

Here's a really quick and easy CSS change that may benefit forums where people post code in a few different languages.

At least with the languages we use, Discourse does a great job of guessing which language code is in, but it's not always obvious to the reader until they mentally parse some of the code. I figure it's good to help them, especially if they're looking for example code in a particular language.

On our forum, it's mostly javascript* and vbscript, so I set them up to look like this:

(*Technically jscript, but that's not important right now.)

Each language has a different background color, and also a watermark on the top-right. (It's offset from the right edge a bit because there's usually a scrollbar with our code blocks, and the scrollbar eats into the image. You can adjust that in the CSS if you wish.)

I also made changes to the code blocks for unspecified/unknown languages as I wanted them to stand out more from normal text, and I also wanted to increase the left and right margins slightly for the inline blocks:



How suitable this is will depend a lot on your community and the types of things posted there.

Here are the watermark images. You'll need to add these to the Assets for the site design post in your Staff area so they're hosted on your site, then grab the URLs to them and use those in the CSS.

-

If you want to make similar ones, they're rotated 14 degrees and black text at 20% opacity.

Here's the CSS to add under Customize > CSS/HTML.

Desktop:

p>code, li>code, pre>code {
    color: #5810c7;
    background: #d0f6ff;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

pre code {
    color: #5810c7;
    background: #d0f6ff;
}

.hljs.javascript, .hljs.lang-javascript {
    background: #daffcc;
    background-image: url(/uploads/default/original/3X/e/2/e25edb5b76ad6663d5bd2e4c3177e7cc6abaeaa5.png);
    background-repeat: no-repeat;
    background-position: top right 1.20em;
    background-origin: content-box;
}

.hljs.vbscript, .hljs.lang-vbscript {
    background: #ffeecc;
    background-image: url(/uploads/default/original/3X/7/3/738f1f9af4cdd6c1d6f4c9f672861365cefb64c7.png);
    background-repeat: no-repeat;
    background-position: top right 1.20em;
    background-origin: content-box;
}

Mobile:

p>code, li>code, pre>code {
    color: #5810c7;
    background: #d0f6ff;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

pre code {
    color: #5810c7;
    background: #d0f6ff;
}

.hljs.javascript, .hljs.lang-javascript {
    background: #daffcc
}

.hljs.vbscript, .hljs.lang-vbscript {
    background: #ffeecc
}

The mobile version doesn't use the watermark images, as I doubt they'd be great on a narrow screen.

(In the Discourse Customize page where you enter your CSS, click the phone icon near the top right to toggle between desktop and mobile. Click enable once it's set up, and then save. Or preview first. Via some complete and utter magic, Discourse will even update existing browser tabs/windows the moment you hit save!)

If you want to experiment with colors and other CSS settings, I recommend pushing F12 in Chrome and using the arrow, top-left of the debugging panel, to select a code block, then playing with things in the CSS view on the right of the panel. You can use a color picker there to quickly try different colors.

You can also use that to find the css classes for other languages. Note that there seem to be two classes per language: One used if Discourse had to guess which language some code was; the other used if the language was explicitly specified in the post, like this:

```javascript
function cat() { return "meow"; }
```

Hope someone likes it. Have fun!

Posts: 1

Participants: 1

Read full topic

Plugin RSpec "get" problems

$
0
0

@Mittineague wrote:

My "learning experience" plugin works. Not everything I have tried worked, but I have been able to find ways to do much of what I've been interested in having it do.

Experience has taught me that I prefer to test often and fix problems before things get more complex. I understand that developers might feel that testing is boring, or at least not as much fun as writing "real" code. But I know myself well enough that if I tell myself "I'll do it later", there will be a good chance I will never do it, and even if I do the task will have become so large it will be intimidating.

Hence my interest in writing QUnit and RSpec tests earlier rather than later.

I often look at examples of what works to guide my learning. Sadly, most plugins I have looked at do not have RSpec tests. Discourse itself has many, and for the most part they all pass. (jhead and svgo being the pesky exceptions for me)

I am particularly interested in finding a way for the "get"s to work.
Frustratingly, when I try a path I get a "no matching action" message, and when I try an action I get a "no matching path" message.

The tests as they are now are a bit of a mishmash. some meaningless, some that pass but not for the reason I'd hoped, and there are a lot of commented out lines.
That is, the tests are very much in a "pre-alpha newbie" state.

https://github.com/Mittineague/discourse-newpage/tree/master/spec

I imagine most of my problems result from my newbieness and hope I'm just missing something simple. I have been mostly using the Relish documentation, but mabye I should be looking elsewhere?

Posts: 4

Participants: 2

Read full topic

Where can I modify postgresql files?

$
0
0

@chagara wrote:

are they located in /var/discourse/shared/standalone ? are those the files I can change or do I have to go inside the container?

Posts: 2

Participants: 2

Read full topic

Verification link not working

$
0
0

@pablostarter wrote:

I installed Discourse and I followed this tread to serve it behind a nginx proxy so I can host more things in the same server.

It's working fine, but when I try to register the first time, I get the verification email but when I click on the link it doesn't work.

I'm using Mailgun as email provider.

I noticed that the link on the email says discourse.domain.com/users/... but it actually goes to email.discourse.domain.com/users/... maybe this is the problem?

I created all the dns records that Mailgun requires and I have the option of tracking opens enabled.

Posts: 4

Participants: 3

Read full topic

IE11 not displaying posts on insider previw build15031


Tagging a topic from email in

$
0
0

@sizeof wrote:

Hello again,

Apologies for posting again I didn't provide enough information and I wasn't clear enough in the previous topic.
I followed this tutorial here https://meta.discourse.org/t/tags-category-restrictions-tag-groups-relationships/48260 to create several tags to be used for classifying and searching for topics later.
The issue is that I'm not able to find the topic using the tag I wrote in the text.

First, I created a new topic through the web interface like this:

And it when done, it looks like this:

Notice that it's tagged appropriately.

Then, I sent the following text through e-mail:

Trying to tag this topic to the #toyota::tag tag using email-in.

The created topic looks like this:

And the last two topic created look like this:

As you can see, the topic created through email-in is not tagged. And when I click on the tag only the topic that I created through web is shown.

Regards,
sizeof

Posts: 1

Participants: 1

Read full topic

[solved] Error Embedding

$
0
0

@Michael321 wrote:

Hi, similar to this post, I'm getting errors embedding comments in a static site: https://bigsmall.io/articles/action-brands-are-important-urgent-credible/

In the browser console, I it says "Loading Discussion", then "Error Embedding" with this in the JavaScript console:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://community.bigsmall.io') does not match the recipient window's origin ('https://bigsmall.io').

The topics are created in Discourse - I see them in the "Let's get this discussion started" page listing topics. From the dates, the topics may have been made from the RSS feed integration.

Any suggestions?

Posts: 3

Participants: 2

Read full topic

Installed without error but site wont come up

API not working

$
0
0

@Wes_Fisher wrote:

I'm trying to get the API setup so I can do some custom Ruby scripting and I'm following this:

I populate all my Discourse information inside examples/example.rb, but when I run it, this happens:

home/praetor/discourse_api/lib/discourse_api/client.rb:125:in rescue in request': execution expired (DiscourseApi::Error)
from /home/praetor/discourse_api/lib/discourse_api/client.rb:118:in
request'
from /home/praetor/discourse_api/lib/discourse_api/client.rb:72:in get'
from /home/praetor/discourse_api/lib/discourse_api/api/topics.rb:27:in
latest_topics'
from example.rb:9:in `'

I'm not sure why :frowning: If anyone can help, that would be appreciated.

Posts: 3

Participants: 2

Read full topic

Acceptance test content is present on page

$
0
0

@rimian wrote:

What's the best way to (QUnit) assert an element on the page has some content in it?

This passes:

ok($.trim($('.foo').text()) == 'bar', 'content bar renders on page');

But isn't very practical. Is there a better way?

Posts: 2

Participants: 2

Read full topic

Viewing all 60642 articles
Browse latest View live




Latest Images