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

[PAID] 4 features/plugins installation to my Discourse

$
0
0

Liam Austin wrote:

I need some help getting live some features plugins in my Discourse forum.

I'm looking to:
1.- use the member directory plugin (option to do this in wordpress with a plugin too)
2.- create private forums (so only paid members can view/post)
3.- classifieds forum (so only paid members can post, all members can view)
4.- identify top members of the week and recognise them (plugin here https://meta.discourse.org/t/identify-top-members-of-the-week/22130/3)

Please provide a quote.

Posts: 1

Participants: 1

Read full topic


Dns lookup failure

$
0
0

Serge wrote:

Greetings to everyone!
Having a bit of trouble getting my domain name to resolve my discourse installation.

This is probably something irrelevant to the discourse application per se, but:
1. Deployed discourse in the cloud (Beginner's Digital Ocean using Docker guide)
- named a droplet f.site.ru
2. Redirected site.ru and www.site.ru to f.site.ru (followed howto guide on single/multiple domain(s) redirection exactly)
3. Configured dns records:
site.ru A (my droplet IP)
www.site.ru A (my droplet IP)
f.site.ru A (my droplet IP)

Is this actually the correct way of doing things?
The weirdest thing is that the site.ru did resolve for a while (all good with a redirect to f.mysite.ru), but now i just have a dns lookup failure.

Using Amazon's Route53 for dns management.

Should I just wait a couple of days for dns to update or have I done something terribly dumb?
Would appreciate any advice!

Posts: 1

Participants: 1

Read full topic

Application doesn't update when enabling/disabling/modifying color theme

$
0
0

Franz wrote:

When I enable, disable or modify a color theme (in Admin -> Customize -> Colors) in the Discourse instance I'm administrating, the changes are no longer applied. I made sure it isn't a cache issue on the client side. I suppose restarting the application would work but obviously this isn't a satisfactory solution.

I'm running Discourse 1.2.0 beta 2.

Posts: 6

Participants: 3

Read full topic

'we miss you' email to members

$
0
0

Daniel Hollands wrote:

I wanted to send an email to all the members of my forum who've not visited the site for a while (in an attempt to lure them back) but I'm not sure the best way of approaching this problem.

Can someone point me in the right direction please? Thank you.

Posts: 5

Participants: 4

Read full topic

How do you change the love heart icon when liking a post? 2

$
0
0

Gashan Ali wrote:

I would like to change it to a "thumbs up". Seriously who thought of
this idea anyway? No one "loves" a post, they like it.

I've had a look at the code but couldn't locate where the image was
stored.

thanks

Posts: 3

Participants: 3

Read full topic

Flagged PMs show notification of Flag to Moderators but are not Viewable

$
0
0

cpradio wrote:

Repro steps:

  1. Create three accounts (Admin, Moderator, and Regular User)
  2. As Admin Promote the Moderator to TL 2 (and obviously give the Moderator, Moderation abilities) and the Regular User to TL 1
  3. Send a PM as the Moderator to the Regular User (who sends the PM and who receives it, really doesn't matter for this test)
  4. As the recipient of the PM, flag the PM as Inappropriate
  5. Login as the Moderator, notice the Flag Notification on the hamburger menu, click on the Flags link from the hamburger menu, you are greeted with:
  6. Login as an Admin, notice the Flag Notification on the hamburger menu, click on the Flags link, you are greeted with:

Expectations:
Moderators does not see the flag notification (for flags they cannot access)

Actual:
Moderators receive the flag notification for flags they cannot access.

Posts: 7

Participants: 4

Read full topic

Can't post to specific category!

$
0
0

Josh wrote:

I created a category called "Pregame Lobby" I just tried to post under it and it and it doesn't show under the drop down menu by the topic title.

I am using the latest build as of today (11/20)

Posts: 3

Participants: 3

Read full topic

Can no longer update - git option `short` not locally supported when called from launcher

$
0
0

PJH wrote:

From the command line:

[root@desktop discourse]# ./launcher rebuild app
error: unknown option `short`
usage: git symbolic-ref [options] name [ref]

    -q, --quiet           be quiet
    -m <reason>           reason of the update

Stopping old container
57ce433f92b240946d64082646755a6159275c3e45dae43121a5b6079c724e94
Calculated ENV: -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=3 -e UNICORN_SIDEKIQS=1 -e RUBY_GC_MALLOC_LIMIT=40000000 -e RUBY_HEAP_MIN_SLOTS=800000 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e HOME=/root -e iUNICORN_WORKERS=6 -e DISCOURSE_DEVELOPER_EMAILS=<elided>
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/SamSaffron/pups.git/': Could not resolve host: github.com
e7f5374c45688d4b770600c5243ea4aca3306838fcc67156c84556a2daa99404
FAILED TO BOOTSTRAP

Digging...

[root@desktop discourse]# grep short *
launcher:      if [ "$(git symbolic-ref --short HEAD)" == "master" ]; then
[root@desktop discourse]# git symbolic-ref --short HEAD
error: unknown option `short`
usage: git symbolic-ref [options] name [ref]

    -q, --quiet           be quiet
    -m <reason>           reason of the update

[root@desktop discourse]# yum info git
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                                                |  22 kB     00:00
 * base: centos.mirroring.pulsant.co.uk
 * epel: mirror.serverbeheren.nl
 * extras: mirror.simwood.com
 * rpmforge: mirrors.ircam.fr
 * updates: mirror.as29550.net
adobe-linux-x86_64                                                                                                                                                           |  951 B     00:00
base                                                                                                                                                                         | 3.7 kB     00:00
epel                                                                                                                                                                         | 4.1 kB     00:00
epel/primary_db                                                                                                                                                              | 6.4 MB     00:01
extras                                                                                                                                                                       | 3.4 kB     00:00
rpmforge                                                                                                                                                                     | 1.9 kB     00:00
updates                                                                                                                                                                      | 3.4 kB     00:00
virtualbox                                                                                                                                                                   |  951 B     00:00
Installed Packages
Name        : git
Arch        : x86_64
Version     : 1.7.1
Release     : 3.el6_4.1
Size        : 15 M
Repo        : installed
From repo   : base
Summary     : Fast Version Control System
URL         : http://git-scm.com/
License     : GPLv2
Description : Git is a fast, scalable, distributed revision control system with an
            : unusually rich command set that provides both high-level operations
            : and full access to internals.
            :
            : The git rpm installs the core tools with minimal dependencies.  To
            : install all git packages, including tools for integrating with other
            : SCMs, install the git-all meta-package.

[root@desktop discourse]#

Posts: 4

Participants: 3

Read full topic


How can I add Discourse variables to plugin javascript?

$
0
0

Travis wrote:

Hello, I'm trying to integrate KISSmetrics as a plugin. Adding javascript to the head via the customizations setting is a no-brainer but I think I need to pluginize it since it requires some user variables.

First I need to insert the code into the javascript:

var _kmq = _kmq || [];
var _kmk = _kmk || 'SITESETTINGS_VARIABLE_FOR_KISSMETRICS_API_KEY';
function _kms(u){
  setTimeout(function(){
    var d = document, f = d.getElementsByTagName('script')[0],
    s = d.createElement('script');
    s.type = 'text/javascript'; s.async = true; s.src = u;
    f.parentNode.insertBefore(s, f);
  }, 1);
}
_kms('//i.kissmetrics.com/i.js');
_kms('//doug1izaerwt3.cloudfront.net/' + _kmk + '.1.js');

There's then the issue of adding the API variables: http://support.kissmetrics.com/apis/javascript/#asynchronous-api

// Identifies the current person as DISCOURSE_USERNAME for future events
_kmq.push(['identify', 'DISCOURSE_USERNAME']);

Something like this should ideally be added upon the user signing in at the start of their session.

How can I put these in plugin.rb or perhaps as a template asset in the plugin folder (?) to get this working? Any help is appreciated!

Posts: 2

Participants: 2

Read full topic

Registration unintentionally not allowed

$
0
0

Mic wrote:

I currently experience a problem with Discourse 1.2.0beta2.

New users seem not be able to register themselves, because the registration process is quitted stating "Registration is not allowed from this account". We observed this behavior with accounts hosted at two different major mail providers.

Is there some kind of spam protection or rate limiting running wild?
Has anyone else experienced this problem?

Posts: 3

Participants: 3

Read full topic

Offcourse - a proof of concept offline reader for discourse

$
0
0

etewiah wrote:

So, I have been wondering for a while about what it would take to create an offline reader for discourse. I know many people think its not necessary but 'different strokes for different folk' - for me personally it would be super useful.

Recently I decided to have a go and this is the result:

http://klavado.com/offcourse

Now, a big massive warning: this is only a PROOF OF CONCEPT!!!!!! It looks terrible and has about 6.5 million bugs but the basic functionality is there.

I will improve it over the coming weeks but I'm sharing it at this early stage to get some initial feedback about the idea. Is the basic idea sound? Would you use it? Is there something about my approach that is fundamentally wrong?

You can have a peek through the code here:

https://github.com/etewiah/offcourse

Again, please bear with me as this is just a proof of concept. There are a lot of small things I need to fix in the code so I'm not looking for detailed feedback at this stage but I am interested in general feedback about the concept and if anyone might be interested in working with me on it.

Posts: 1

Participants: 1

Read full topic

Failing to Overwrite Avatar Using SSO

$
0
0

Rmwtoyon wrote:

I have discourse set up to use a custom SSO server for login. I would like to use that login information to also update the user's avatar automatically. In my ecosystem, the user's username can be directly mapped to a URL (e.g., http://myserver.com/thumbnails/username.jpg).

I am having trouble getting the override to work. SSO authentication is working and I can override other things (like the user's real name), but not the avatar. Here is the snippet (PHP) I am using:

$userparams = array(
  "nonce" => $nonce,
  "external_id" => $username,
  "username" => $username,
  "name" => $realname,
  "email" => $email,
  "avatar_force_update" => true,
  "avatar_url" => 'http://myserver.com/thumbnails/username.jpg');
$payload = base64_encode(http_build_query($userparams));
$sig = ...

Any idea what is going on? The URL is valid. Am I misinterpreting what discourse is expecting in terms of a URL?

Posts: 2

Participants: 2

Read full topic

Unable to Modify Email Sent Out Via Invites

$
0
0

Utkarsh Agarwal wrote:

So after exploring this forum and the files i finally found the server.en.yml file where the invite email text is stored. I just want to add 1-2 lines describing a bit more about my forum in the email sent out to invited users.

Despite adding/modifying the lines into server.en.yml and rebuilding, it doesn't seem to reflect in the emails. Any ideas/suggestions?

Or is there an easier way to do this that i missed?

Posts: 5

Participants: 2

Read full topic

Including quote from email notification breaks reply

$
0
0

James Milligan wrote:

Replying to an email notification breaks if a quote from the notification is included. Anything past the quote is not included.

For example, take this notification:

Example notification where I talk about something really interesting.
Second paragraph where I start going on about that really interesting thing.
Now I'm just ranting...

So, in reply, I want to include a quote from that email. If I do the following, the email is rejected as having no content:

<quote>
<my post>

... the following results in just <my post> being added - the quote nor the additional parts are added:

<my post>
<quote>
<additional part of my post>

So, basically, processing email replies 'stops' at the quote, and doesn't continue processing. This breaks replies where a quote starts off the reply, since the processing stops straight away.

Posts: 3

Participants: 2

Read full topic

Authentication issue, Crowd plugin

$
0
0

Rad wrote:

I was wondering if anyone has the answer for Crowd authentication problem I'm facing. I have a test Crowd server to let people log on to Crowd using Crowd directory allowing certain groups only to log on, with application configured pointing to discourse server IP address. For some reason, and I believe it is on Discourse side related to the plugin, I always get "Sorry, there was an error authorizing your Crowd account. Perhaps you did not approve authorization?" and Discourse server logs show the following:
/var/www/discourse/log/production.log

----------Started GET "/auth/crowd" for 127.0.0.1 at 2014-11-20 19:10:47 +0000
Started POST "/auth/crowd" for 127.0.0.1 at 2014-11-20 19:10:54 +0000
Started GET "/auth/crowd/callback" for 127.0.0.1 at 2014-11-20 19:10:54 +0000
Started GET "/auth/failure?message=invalid_credentials&origin=http%3A%2F%2F10.10.10.232%2F&strategy=crowd" for 127.0.0.1 at 2014-11-20 19:10:54 +0000
Processing by Users::OmniauthCallbacksController#failure as HTML
  Parameters: {"message"=>"invalid_credentials", "origin"=>"http://10.10.10.232/", "strategy"=>"crowd"}
  Rendered users/omniauth_callbacks/failure.html.erb within layouts/no_js (0.2ms)
  Rendered common/_special_font_face.html.erb (0.5ms)
  Rendered common/_discourse_stylesheet.html.erb (0.2ms)
  Rendered layouts/_head.html.erb (3.0ms)
Completed 200 OK in 33ms (Views: 11.4ms | ActiveRecord: 4.7ms)
Started GET "/images/OICRlogo_small.jpg" for 127.0.0.1 at 2014-11-20 19:10:54 +0000

ActionController::RoutingError (No route matches [GET] "/images/logo_small.jpg"):
  config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
  config/initializers/silence_logger.rb:26:in `call'
  lib/middleware/unicorn_oobgc.rb:95:in `process_client'


Processing by ExceptionsController#not_found as */*
  Rendered exceptions/not_found.html.erb within layouts/no_js (8.5ms)
  Rendered common/_special_font_face.html.erb (0.6ms)
  Rendered common/_discourse_stylesheet.html.erb (0.4ms)
  Rendered layouts/_head.html.erb (4.1ms)
  Rendered text template (0.0ms)
Completed 404 Not Found in 23ms (Views: 1.7ms | ActiveRecord: 4.7ms)

My unicorn.stdout.log is:

I, [2014-11-20T19:12:56.875062 #111]  INFO -- omniauth: (crowd) Request phase initiated.
I, [2014-11-20T19:13:10.665366 #128]  INFO -- omniauth: (crowd) Request phase initiated.
I, [2014-11-20T19:13:10.709158 #136]  INFO -- omniauth: (crowd) Callback phase initiated.
W, [2014-11-20T19:13:10.812335 #136]  WARN -- omniauth: (crowd) [retrieve_user_info!] response code: 404
W, [2014-11-20T19:13:10.814647 #136]  WARN -- omniauth: (crowd) [retrieve_user_info!] response body: <html><head><title>Apache Tomcat/7.0.54 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /crowd/console//rest/usermanagement/latest/authentication</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/crowd/console//rest/usermanagement/latest/authentication</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.54</h3></body></html>
E, [2014-11-20T19:13:10.816621 #136] ERROR -- omniauth: (crowd) Authentication failure! invalid_credentials encountered.
^[^C
----------

No SSL is enabled on Crowd, it is just a trial with minimum 2 groups and 4 users created which were granted access to the application.
Is there anything else within Crowd configuration i.e. Admin mind at /admin/site_settings/category/login?
Thanks!

Posts: 2

Participants: 2

Read full topic


Use case: 1000 people having a discussion right after an online conference

$
0
0

Ted Pearlman wrote:

Hi all,

I'm the founder of a community (of sorts) called Sugarmaples. We've been using Slack for the last year or so. It's a great tool. But it's not so great when there are a thousand people talking about something at one time. smiley We are going to start holding some really interesting video-conference-based online 'meets' with about 1000 people per meet. And afterward, I want people to be able to continue the discussion somewhere. Discourse is an obvious option. So is Facebook Groups.

My main need is to be able to silo folks. In the use case above, I need to isolate the thousand participants for each meet into their own space. They need to be prevented from entering or seeing the titles of other spaces.

Thoughts on whether Discourse is usable for this and how it would be set up?

Much obliged.

Ted Pearlman
http://ahsugarmaples.com

Posts: 9

Participants: 3

Read full topic

Require login to view, unless accessing from certain IP range

$
0
0

Michael Marner wrote:

I'm planning on moving a community organisation's internal communications to Discourse from phpBB. One of the issues we have at the moment is that while the organisation has about 120 members, maybe 1/5 of members participate in the discussion. Part of the move to Discourse is to encourage participation, by making everything easier. The email digests will also help.

Anyway, what I would like to do is make the forum private, unless accessed from a certain IP range. That way I can make the forum visible without login on our internal network, set all our computers' home pages to the forum, and encourage people to at least read. This, I hope, will further encourage participation. Outside the internal network the forum will require login in order to view posts.

Is this something I could accomplish through the SSO hooks? Alternatively, is there's a is_allowed_to_view_posts function or some other more dodgey way I could hack this functionality?

Posts: 3

Participants: 2

Read full topic

Topic embedding - refresh

$
0
0

phil wrote:

I wish I could refresh the content of the automated topic embedding.

I see there is an admin button that says 'rebuild HTML' it would be great to have that button do just that.

I explain:

  • I post a new article on my blog
  • discourse embed the article and create a new topic via the embedding 'call'
  • this is great my user can now see the post nicely BUT... what if I update my article on the blog ..

I wish I could do something to ask or a refresh of the embed post. I understand that I could edit the post manually but the embedding does a great job making it nice and readable, it is much harder and slower to do this by hand wink

let me know if there is a command line or something where I can purge topics ...

this ties up to my other thread where I ask how to delete definitely topics. because that could be a solution, delete the topic and wait for discourse to redo the embedding. Only problem is that deleting topics do not delete them completely form the db and the embedding does't happen again..

Any way to 'redo' the embedding would be handy as I am playing with Discourse embedding setting, and especially the 'embed whitelist selector' variable.

Posts: 1

Participants: 1

Read full topic

I did some logo size tests. It seems I should not use big logos

discourse_api github tags

$
0
0

Blake Erickson wrote:

On RubyGems.org there are different versions posted of the discourse_api gem, but on GitHub we aren't creating tags for all the versions. It's probably not a huge deal right now, but we should probably get in the habit.

I think you can just do rake release and it will post to both places.

Posts: 2

Participants: 2

Read full topic

Viewing all 60613 articles
Browse latest View live


Latest Images