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

Installing Docker (CentOS 7 + OpenVZ)

$
0
0

@rtainc wrote:

Hi, I've been trying to install Discourse for a couple of hours now, and I decided to turn to the forums to see if anyone has had a similar problem and knows how to help.

I've installed Docker on my VPS with yum install docker and it successfully installed. Unfortunately if I start it (docker -d) I get Error initializing network controller: Error creating default "bridge" network: operation not supported. Is this due to OpenVZ restrictions or an outdated kernel? I hope that the minor kernel patches don't affect the install as it cannot be updated with OpenVZ.

$ uname -a
Linux dime 2.6.32-042stab102.9

Posts: 5

Participants: 2

Read full topic


Upgrade to v1.4.0.beta4 - Can't create or modify tag

$
0
0

@flyabroad wrote:

When upgrade to v1.4.0.beta4 my discourse forum can't create or modify tags.

Tagging plugin is enabled, old tags still there, but can not create, assign or modify tags.

need help!

Posts: 6

Participants: 3

Read full topic

Can I run a referral program through my forum?

$
0
0

@Mohit_Joshi wrote:

I would like to run a referral program for promoting my forum. I would like to do the following:

  1. Any member (and not just with trust level 3) can invite members to join the forum
  2. Invitations can me made to friends on social sites such as FB
  3. I should be able to track number of invitations sent by each member and number of actual conversions. This would enable me to give special offers and discounts to the person with maximum invites or conversions.

Please let me know if all this can be achieved using core features or existing plugins? Or if there is a better way to run such a referral/promotion campaign?

Posts: 1

Participants: 1

Read full topic

Decent strategy for integrating with facebook

$
0
0

@cfv wrote:

I'm thinking of having a forum where all kinds of loosely related people can talk to each other on facebook, in an app which would essentially proxy discourse, and I'm thinking of the best way to actually integrate with facebook so it actually means something. Care to let me know what in here is impossible, stupid, or perhaps just annoying to implement?

What I'm thinking is, having a single and owned (ie not facebook's) hierarchic users and discussions pool, and giving people the ability to tell other friends about stuff they are discussing, using notifications to let them know when someone posted a topic they care about, using fb messages as the PMs features, and potentially using fb payments to get some kind of premium stuff that might be relevant if it ever happens. Essentially merging this with facebook's normal communication channels in as many ways as I can.

And now I should mention my problem is I have no clue as to how to integrate all that stuff on Discourse.

I already have a vanilla install working, but I have no clue as to where to hook stuff to try and see if it works, no clue about what facebook's going to feel about it, and no clue as to what the best case for doing this is going to look like in terms of my hardware. If this idea of mine catches, how do resource requirements change with the amount of users I might have? Say, at which point can I expect to start having to throw hardware at the problem? Can I even just throw hardware at the problem? (I mean, are there any reasons why not to do pretty stuff like pg_sharding and load balancing the hell out of the db?)

Does any of this even make any sense? I'm not sure I'm posting in the right place, but "support" seems to be the closest to what I need. Please, if I'm wrong, do point me to the right places where I could make this questions.

Thank you!

Posts: 4

Participants: 3

Read full topic

Data Exports - Wrong Redirect

$
0
0

@David_MCH wrote:

If I export my data, it seems to work weirdly.

I get this message:
"Your data export was successful! dvd

user-archive-username-key.csv.gz (7.87 KB)

The above download link will be valid for 48 hours."

All fine right? When I click on it, it redirects to:
https://community.mchost.com//community.mchost.com/export_csv/user-archive-user-key.csv.gz

Which is a 404, of course.

If I right click and click copy link address I get:
https://community.mchost.com/export_csv/user-archive-user-key.csv.gz

Which does work fine, but that's not the URL you get when clicking.

View Source:
// (http://) puu.sh/iMRxG/eba3d747bf.png

Cheers.

Posts: 1

Participants: 1

Read full topic

What does `embeddable_hosts` do?

$
0
0

@forumworld2000 wrote:

Hi!

What does embeddable_hosts do? Got this in my site_settings.yml:

embedding:
  embeddable_hosts:
    default: 'example.com'
    type: host_list

but getting:

Processing by TopicsController#similar_to as JSON
  Parameters: {"title"=>"Uploading example logo", "raw"=>"<img src=\"/uploads/default/original/1X/f552a85c9bea6d906f1156677afc0c48d73f35ee.png\" width=\"85\" height=\"62\"> ", "_"=>"1435954310637"}
Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 1.6ms)
Completed 200 OK in 779ms (Views: 1.3ms | ActiveRecord: 101.0ms)
Started GET "/t/12.json?track_visit=true&forceLoad=true&_=1435954310638" at 2015-07-03 22:12:25 +0200
Processing by TopicsController#show as JSON
  Parameters: {"track_visit"=>"true", "forceLoad"=>"true", "_"=>"1435954310638", "id"=>"12"}
Completed 500 Internal Server Error in 262ms (ActiveRecord: 57.3ms)

NoMethodError (undefined method `embeddable_host' for #<Class:0x0000080c857de8>):
  app/models/topic.rb:845:in `expandable_first_post?'
  app/serializers/topic_view_serializer.rb:205:in `include_expandable_first_post?'
  app/controllers/application_controller.rb:248:in `render_json_dump'
  app/controllers/topics_controller.rb:489:in `block (2 levels) in perform_show_response'
  app/controllers/topics_controller.rb:482:in `perform_show_response'
  app/controllers/topics_controller.rb:82:in `show'
  lib/middleware/anonymous_cache.rb:123:in `call'
  config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
  config/initializers/silence_logger.rb:26:in `call'
  lib/middleware/request_tracker.rb:70:in `call'

Works fine if I comment the insides of expandable_first_post? in app/models/topic.rb though.

Posts: 1

Participants: 1

Read full topic

Placeholder text shows where it should be translated

How long is an invite active?


Admin settings and plugin sidebar broken on mobile pages

/admin on mobile

Poll plugin fails to parse options that look like a numbered list

$
0
0

@gerhard wrote:

This doesn't work:

[poll]
- 1. Foo
- 2. Bar
[/poll]

It creates a poll with invalid options:

Posts: 2

Participants: 2

Read full topic

What object owns last_seen_at?

$
0
0

@Mittineague wrote:

Happy Independence Day fireworks

Before I lose what little hair I have left trying to work up a plugin I figured I should ask.

I've tried the obvious, User, but last_seen_at is undefined.

I've tried combinations of hyphens, underscores, camelCase, etc. etc. with no joy.

I've used getOwnPropertyNames to try and drill down into various objects in hopes of finding it elsewhere.

I've looked at the dev console in places I've never looked before.

tl,dr I've tried a lot

I'm sure I must have danced close to the correct syntax, and I know the information has to be available somewhere, somehow, but my "educated guesses" have so far failed me.

AFAIK the property is neither "private" nor "untrusted" so I hope it can be gotten.

Maybe I need to "extend" or "reopen"?

Posts: 2

Participants: 2

Read full topic

Mark PM as read via api

$
0
0

@Daniel_M wrote:

Is it possible to mark a Private Message as read using the api? I used the track_visit=true parameter, but it still doesn't mark it as read. Some context: I'm building a bot that looks at recent PMs, but I don't want to download the whole JSON every single time (just what is new since last run of the bot script), so I'm using topics/private-messages-unread/(username).json.

Posts: 1

Participants: 1

Read full topic

Full page search does not update when changing query in search dropdown

$
0
0

@danwad wrote:

Reproduce:

  1. Open search dropdown, enter query and press enter to go to full page search
  2. Open search dropdown, change query and press enter.

The q parameter in the URL updates correctly but the search results do not.

Posts: 1

Participants: 1

Read full topic

Login button doesn't have proper size on some pages


Commit "UX: Move likes into drop down instead of its own status line" from 2015-07-04 broke the "Solved" plugin

$
0
0

@dmitry_fedyuk wrote:

The problem commit: https://github.com/discourse/discourse/commit/db757744407485ec50577fd904b63ca581f8e0d6

So now Solved plugin raises an error:

Uncaught Error: Could not find module discourse/views/post-menu imported from discourse/plugins/discourse-solved/discourse/initializers/extend-for-solved-button

This is commit from the tests-passed update channel.
As I see, app.yml file declares tests-passed as the default update channel

## Which Git revision should this container use? (default: tests-passed)

I think the official plugins need to be tested against core commits.

Posts: 1

Participants: 1

Read full topic

Notification count badge cut off on mobile

Found character that cannot start any token while scanning for the next token at line 86 column 1 -e LANG=en_US.UTF-8

$
0
0

@kkershaw wrote:

For some reason it appears my discourse/docker instance crashed and trying to start the app with launcher start app results in:

starting up existing container
+ /usr/bin/docker start app
app

but then visiting the site I have a completely blank screen

Then trying a launcher rebuild app results in the following error message:

Ensuring discourse docker is up to date
Fetching origin
Discourse Docker is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 10 app
app
(<unknown>): found character that cannot start any token while scanning for the next token at line 86 column 1 -e LANG=en_US.UTF-8
YAML syntax error. Please check your /var/discourse/containers/*.yml config files.

I've looked at my app.yaml and I'm not sure what is wrong?

The lines at that part of the config are:

env:
  LANG: en_US.UTF-8
  ## TODO: How many concurrent web requests are supported?
  ## With 2GB we recommend 3-4 workers, with 1GB only 2
  UNICORN_WORKERS: 2
  ##

Any troubleshooting ideas greatly appreciated as our site is completely offline now frowning

edit
I've also run full apt-get updates/dist-upgrade etc and updated all packages to latest. Actually the service did finally manage to start, but I'm still unable to rebuild the app due to the above error.

Posts: 3

Participants: 1

Read full topic

What kind of sever would you need for a 20.000 user forum with a static website included

How to enable polls?

$
0
0

@Stackfish wrote:

Hi,

I'm running version v1.3.0.Beta4+80. My plugins page is showing my poll plugin as version .02.

I'm trying to create a poll but when I put in my markup it renders as a list, not a poll. Do I need to enable this feature?

Thanks

P.S. I've pasted my markup into this post and on discourse I do get a poll so I pretty sure my markup is ok.

Posts: 9

Participants: 4

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images