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

How to refresh topic title when it was changed in one of plugin's custom controllers

0
0

@Janno_Liivak wrote:

I update topic using custom controller where function was triggered through ajax. Client side code gets back result with a changed topic title but I'm unable to figure out how to refresh topic title in topic-view inside "then" callback. Strangely the archieved property change will call archieved "lock" icon to show up. Title will change only in page title but not in topic main title.

export default {
  actions: {
    clickSoldButton(topic) {
      ajax("/topic/sold", {
        type: "PUT",
        data: {
          topic_id: topic.id
        }
      }).then((result) => {
        topic.set('custom_fields.sold_at', result.topic.sold_at);
        topic.set('title', result.topic.title);
        topic.set('archived', result.topic.archived);
      }).catch(() => {
        bootbox.alert(I18n.t('topic_trading.error_while_marked_as_sold'));
      });
    }
  }
};

Is there a certain way to get Title to change other than navigating to topic or page reload?

Posts: 5

Participants: 2

Read full topic


Annoy user mode

0
0

@Dog2puppy wrote:

I remember using a forum software (can't remember the name) and it had a setting that would annoy the user. For example, if a user is a spammer, you would turn on annoy mode for them and the user would receive blank pages, fake error pages, and random refreshes. I had tried it by enabling it on my account, and it would annoy you a lot of it was enabled 24/7. I would really like it to be added to Discourse to help get spammers away from your forum, because the spammer starts thinking that the forum is buggy and they don't wanna waste their time on it.

Posts: 2

Participants: 2

Read full topic

Changing email to protonmail service , wont receive any message

0
0

@anonymouscourse wrote:

i wanted to change my old email with protonmail , and it says that we have sent an email for confirmation. but this email never reached to me (nor to my old email nor to my new one which is protonmail)

Note:- this only happens when i want to change already existed/registered email with discourse forum. but if i sign-up from first step with protonmail i will receive a notification for the activation link.

Posts: 3

Participants: 2

Read full topic

How to get a search result like this in google?

0
0

@arsewi wrote:

What should I do to my discourse forum in google console to get a search result like this?

I know it is more to do with google webmaster tool. Anyway, I looked into google data highlighter but it seems not for this particular search result.

Any helps, even just a bit of clue (if you think this is too noobs :grin:) would be very appreciated ! Thanks!!!

Posts: 4

Participants: 3

Read full topic

Device "docker0" does not exist ubuntu 16.04

0
0

@Iv_Kresic wrote:

Hey there i have some problems with the docker. i tried that on serveral os systems on different hoster but still the same error. i went through the official discourse installation and also tried install docker with their own guide. somehow it seems buggy for me.

The error:
Device "docker0" does not exist.
Cannot connect to the docker daemon - verify it is running and you have access

my current os:
Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-042stab120.18 x86_64)

Posts: 3

Participants: 3

Read full topic

FEATURE: Redirect to poll after login/registration flow

0
0

@scombs wrote:

Continuing the discussion from Is there a working group registration flow?:

Could the same feature as the linked topic for groups be added to poll topics as well? I am using polls for event signups and other first time visitor use cases. Would be nice to take users back to the poll after registration/login.

Posts: 4

Participants: 3

Read full topic

Unique index style for Voting

0
0

@erlend_sh wrote:

Practically every other feature voting app has a more minimalist, cleaner design:

I took some cues from these designs and tried to mock up a similar one for Discourse without doing anything too radical:

  • Vote counts on the left
    Wouldn't necessarily need to be interactive. If that's tricky, just go to topic upon click.

  • Showing status (to-be-proposed feature addition)

  • Showing voters instead of posters (I think they should be displayed in order of: Staff, TL4, TL3 etc.)

  • Hiding Activity and Views. Only showing replies.

Posts: 1

Participants: 1

Read full topic

Discourse a a comment system with React Native and Meteor

0
0

@ibox wrote:

Hi all,

I'm very interested in Discourse and had really good experience with it on other forums (like Meteor for example).
Thus, as I'm creating an social app with React Native (Front End) and Meteor (Back End), I would really like to know if I can "pick-up" the Discourse commenting system in order to have it in my app.

The target beeing to:
- use SSO so my users won't have to create a specific account to use it
- enjoy the perks of Discourse :slight_smile:

My current search brought me to:
- Disqus but I don't like the fact they would use my users content for their advertising + SSO is costly
- Muut but SSO is costly (and I'm just doing a prototype here)
- Discourse...only problem is a lack of info on my use case :slight_smile:

Did anyone already had that use case?

Thanks a lot!

Posts: 1

Participants: 1

Read full topic


Backup size increases by over 100MB every month ? Will it crash?

0
0

@needhelp wrote:

Hi All,

The forum I run is not that big, and there few image uploads to the server by users. Is it normal for the backup to increase in size by over 100MB per month?

Whenever I post images, I only use a link to my Amazon S3, I never upload images to my Discourse server, so I can't figure out why backup size is still increasing at a rate of well over 100MB per month.

Am worried at some point the backup will crash because of its size.

FYI, I use Discoursehosting for the forum, not sure if that makes any difference.

Thanks

Posts: 2

Participants: 2

Read full topic

Discourse topics never appears properly on my Stumbleupon account

0
0

@needhelp wrote:

Hi All,

I use Stumbleupon for social media purposes. Doesn't matter what I tried, I could never get my Discourse topics to appear properlty in my Stumbleupon account.

When I add other wordpress contents or pages I have, they appear fine in my Stumbleupon account, but when I add my Discourse topics in my Stumbleupon account, they will not show.

Any Stumbleupon users out there experiencing the same problem with Discourse forum topics?

Thanks

Posts: 1

Participants: 1

Read full topic

What Are These Called & How Do I Edit/Create Them?

How To Edit Color Of Category

Site throws a blank screen after trying to enable LetsEncrypt

0
0

@arunsathiya wrote:

I tried to follow the guide mentioned on this page but the site shows me a white screen on http:// version and throws a "unable to connect" error on https:// version. I am not sure what problem is. Can someone help me here? Thanks!

Posts: 10

Participants: 2

Read full topic

RSpec tests won't pass on discourse_dev docker image

0
0

@David_Taylor wrote:

I've been experimenting with different dev environments, and am trying to get the development docker image working. While everything seems to work fairly well, I can't get the rspec tests to pass. Repro steps:

git clone -b tests-passed https://github.com/discourse/discourse discourse
cd discourse
./bin/docker/boot_dev --init
./bin/docker/bundle exec rspec

3 tests fail every time:

Failures:
  1) i18n integrity checks has an i18n key for each Site Setting
     Failure/Error: value = send(s)

     NoMethodError:
       undefined method `last_vacuum' for #<Class:0x00562777625f30>
     # ./lib/site_setting_extension.rb:180:in `block in all_settings'
     # ./lib/site_setting_extension.rb:179:in `each'
     # ./lib/site_setting_extension.rb:179:in `map'
     # ./lib/site_setting_extension.rb:179:in `all_settings'
     # ./spec/integrity/i18n_spec.rb:49:in `block (2 levels) in <top (required)>'
  2) Admin::SiteSettingsController while logged in as an admin index returns JSON
     Failure/Error: value = send(s)

     NoMethodError:
       undefined method `last_vacuum' for #<Class:0x00562777625f30>
     # ./lib/site_setting_extension.rb:180:in `block in all_settings'
     # ./lib/site_setting_extension.rb:179:in `each'
     # ./lib/site_setting_extension.rb:179:in `map'
     # ./lib/site_setting_extension.rb:179:in `all_settings'
     # ./app/controllers/admin/site_settings_controller.rb:4:in `index'
     # ./spec/controllers/admin/site_settings_controller_spec.rb:21:in `block (4 levels) in <top (required)>'
  3) Admin::SiteSettingsController while logged in as an admin index returns success
     Failure/Error: value = send(s)

     NoMethodError:
       undefined method `last_vacuum' for #<Class:0x00562777625f30>
     # ./lib/site_setting_extension.rb:180:in `block in all_settings'
     # ./lib/site_setting_extension.rb:179:in `each'
     # ./lib/site_setting_extension.rb:179:in `map'
     # ./lib/site_setting_extension.rb:179:in `all_settings'
     # ./app/controllers/admin/site_settings_controller.rb:4:in `index'
     # ./spec/controllers/admin/site_settings_controller_spec.rb:16:in `block (4 levels) in <top (required)>'

I've replicated this exact process on macOS and on Ubuntu.

Installing all the dependencies and running natively works on both macOS and Ubuntu, but I'd far rather use Docker if possible.

Am I missing a step somewhere, or is there something wrong with the docker scripts?

Posts: 4

Participants: 2

Read full topic

Love, Hate, Sad, Laughter

0
0

@TimothyDonaghue wrote:

Have we considered a feature similar to Facebook where a user can Love / Hate / Sad / Laughter rather than Like only? Or perhaps a Like / Dislike dichotomy?

I assume this has been considered but did not pass judgement. May I please know a snippet of logic behind why not?

Posts: 5

Participants: 3

Read full topic


Digital Ocean hosting - do i need a system admin?

0
0

@immalex wrote:

I have been running my discourse forum on Digital Ocean for a few months. Works beautifully at $10 a month. I know DO is an unmanaged VPS, so I am wondering what maintenance task is required?

If maintenance tasks are required, what happen if I leave the server alone? This is a fairly small forum, just wondering if i need a system admin. If i do, it might make more sense to go with DiscourseHosting.

Thanks

Posts: 2

Participants: 2

Read full topic

Users stats privacy

0
0

@Shrike wrote:

Hi.

I've just noticed that every user has access to statistics on /users page where it's shown how many times every user visits and how many posts he/she reads and views. It's indeed useful info but I doubt it should be available publicly by default. Anyway is there any way to limit availability of visits/reads/views stats for every user?

Posts: 9

Participants: 6

Read full topic

Is https an important thing for discourse website?

0
0

@xiaosube wrote:

My discourse community is on http, is it important to have a https domain for discourse website? how to get a https url if it is important?

Posts: 11

Participants: 8

Read full topic

Struggling with pagination within search/query.json

0
0

@danielt wrote:

I'm trying to grab the posts within a date interval from our discourse server using the API. I'm struggling quite a lot with pagination.

Firstly I tried using search.json but that limits us to 50 results:
https://meta.discourse.org/search.json?q=after:2016-01-01%20before:2017-01-01

I tried to use the paginated query instead (but page 2 and page 3 end up the same for some queries):
https://meta.discourse.org/search/query.json?term=after:2016-01-01%20before:2017-01-01
https://meta.discourse.org/search/query.json?term=after:2016-01-01%20before:2017-01-01?page=2
https://meta.discourse.org/search/query.json?term=after:2016-01-01%20before:2017-01-01?page=3

That's odd because simpler queries appear to paginate correctly:
https://meta.discourse.org/search/query.json?term=API
https://meta.discourse.org/search/query.json?term=API?page=2
https://meta.discourse.org/search/query.json?term=API?page=3
https://meta.discourse.org/search/query.json?term=API?page=51 (more_pages becomes null here, although we can fetch higher pages)

Is is possible to combine advanced search and pagination?

Posts: 3

Participants: 3

Read full topic

Structure and Functionality for Public and Private Forums

0
0

@cklester wrote:

Let's imagine I'm setting up a site for readers that will allow its members to create reading groups. I have my own login system (via Laravel's Auth system), so I'll need Discourse to recognize that (which I think is possible via SSO).

Members of the site will be able to create their own groups, which I'll want to then use an API to create the group forum in Discourse.

I'll want to have some public forums, as well as provide for the private forums of the member groups. The structure might look like this:

Books (public)
+- Fiction (public)
+- Non-fiction (public)
Support (public)
My Groups (private to the logged-in user)
+- Grandma's Book Club (private to the logged-in user)
+- Weekend Warriors Book Club (private to the logged-in user)

Is this sort of structure and functionality possible with Discourse?

Posts: 7

Participants: 4

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images