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

"Send me an email for every new post" - can't deselect once selected

0
0

@T_Disco wrote:

On the preferences page I can't deselect the option "Send me an email for every new post (unless I mute the topic or category)".

I am using an Administrator account and the setting: "default email mailing list mode" is unticked.

The version of Discourse I am running is Version v1.6.0.beta1 +277. I can't replicate this on another instance of Discourse I have running which is Version v1.6.0.beta1 +92.

Please advise, thanks.

Posts: 5

Participants: 3

Read full topic


Problems with INSTALL-cloud.md directions

0
0

@downey wrote:

I haven't tried following the INSTALL-cloud.md instructions for a while, and they've changed and now there's this new ./discourse-setup script. Problem is, it doesn't work, at least on the base Ubuntu image for DigitalOcean.

  1. First, there isn't execute permission on the ./discourse-setup script. Easy enough to change but might block some.
  2. After answering the prompts, I get the following.

Press ENTER to continue, 'n' to try again, or ^C to exit:
LETSENCRYPT_ACCOUNT_EMAIL change failed.
web.ssl.template.yml enabled
letsencrypt.ssl.template.yml enabled

Unfortunately, there was an error changing containers/app.yml

root@host:/var/discourse#

This seems like some type of permissions issue, but not sure.

Update: Apparently these is super (like hours) new, so I guess someone had to be first! :slight_smile:

Posts: 26

Participants: 9

Read full topic

Hide admin tools icon

How can I change the description text for uncategorized

0
0

@li_xinyang wrote:

How can I check the text inside the green box? This is the default uncategory.

I have tried to delete this category with no success.

Screenshot below shows all catagories I have currently,

I can change the description text for other category at category setting (see below)

But for this default uncategory there is no such setting to change the description text.

Now I have totally forget where did I set those text for uncategoty topics.

Posts: 3

Participants: 3

Read full topic

Header layout with broke with last discourse (9fdea6c)

Altering an Ember Route in a Plugin

0
0

@stevenpslade wrote:

Continuing the discussion from Discourse.Route.buildRoutes is not a function:

I am confused as to how to alter a route from within a plugin. Is it different then just following the same file path from within the plugin? In my plugin I have plugin/assets/javascripts/discourse/routes/user-summary.js.es6 and I am adding this.controllerFor("user").set("forceExpand", true); ....which will force the expanded profile view on summary.

export default Discourse.Route.extend({
  model() {
    this.controllerFor("user").set("forceExpand", true);
    return this.modelFor("User").summary();
  }
});

If I change the source code on my local Discourse it works but when I enable my plugin it does nothing. Now, I have had trouble recently where another plugin's changes were not being picked up and the reason resolved itself mysteriously, so it could be that again.

But just to be safe, is altering routes in plugins different then what I am doing?

Posts: 3

Participants: 2

Read full topic

Tagging support is now part of Discourse

0
0

@neil wrote:

The discourse-tagging plugin had a good run, but the time has come to make it a core part of Discourse. @eviltrout and I spent the last few days pulling that plugin into core and merged it today. If you're using the discourse-tagging plugin, it will no longer be loaded after you upgrade.

Currently it behaves exactly the same was as the plugin. You'll find the settings in a new category in admin:

Now that tagging isn't a plugin, we'll have an easier time working on some of the features people have been asking for and solve some problems we've known about for a while. Some examples:

  • Tag groupings
  • Better topic list filtering with tags
  • A better UI for managing tags
  • Performance problems

Posts: 10

Participants: 6

Read full topic

Rule to automatically ban a user based on the number of warnings

0
0

@Allen wrote:

It would be great if we could set a threshold for the number of warnings that would automatically ban a user. I see that there is a "This is an official warning" checkbox when I compose a new PM to a user. But I don't seem to see where that is captured and nor can I set any rules for it.

Posts: 2

Participants: 2

Read full topic


Docker installation does not expose ports to outside world

0
0

@pztrick wrote:

I've completed the steps for the docker install. However, I'm unable to connect to the Discourse application from the outside world or host machine. (E.g. telnet localhost 8001 fails.)

In my app.yml:

## which TCP/IP ports should this container expose?
## If you want Discourse to share a port with another webserver like Apache or nginx,
## see https://meta.discourse.org/t/17247 for details
expose:
  - "8001:80"   # http
#  - "443:443" # https

Performing ./launcher rebuild app indicates this docker command:

usr/bin/docker run -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=4 -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 DISCOURSE_HOSTNAME=************* -e DISCOURSE_DEVELOPER_EMAILS=***************** -e DISCOURSE_SMTP_ADDRESS=************** -e DISCOURSE_SMTP_USER_NAME=******************* -e DISCOURSE_SMTP_PASSWORD=************* -e LETSENCRYPT_ACCOUNT_EMAIL=********* -h jupiter-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log local_discourse/app /sbin/boot

The docker command appears to missing any expose or port command switch, so I checked docker ps:

admin@jupiter:/var/discourse(master)$ docker ps
CONTAINER ID        IMAGE                 COMMAND             CREATED             STATUS              PORTS               NAMES
07b612f1f4fc        local_discourse/app   "/sbin/boot"        18 minutes ago      Up 13 minutes                           app

This shows there are no ports exposed?

Finally, to verify Discourse was in fact working inside the host I performed ./launcher enter app:

root@jupiter-app:/var/www/discourse# wget localhost:80
--2016-04-27 18:31:20--  http://localhost/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’

    [ <=>                                                                         ] 18,634      --.-K/s   in 0.009s

2016-04-27 18:31:20 (1.92 MB/s) - ‘index.html’ saved [18634]

root@jupiter-app:/var/www/discourse#

Any ideas? Thanks!

Posts: 4

Participants: 2

Read full topic

Better Group Message notification visual differentiation

0
0

@jomaxro wrote:

Right now, when receiving notifications from mentions, there is not an immediate visual indicator as to whether it is a personal message or a group message.

You can mouse over the @ icon to see Mention or Group Mention, but that requires a mouse and direct interaction. Could something be done to the icon to show visually that one is a group mention?

Posts: 3

Participants: 2

Read full topic

Discourse for Collaborative R&D

0
0

@Tristan_Copley_Smith wrote:

Hello Discourse!

I am a big fan and user (at www.community.aker.me and www.opensourcebeehives.net). I wanted to ask if you guys think Discourse is the right tool for the job below, and if so can recommend any plugins:

We're bringing together a community of Ecologists, Designers and Engineers to collaborate on ecological conservation technology (open source).

I've been looking at collaboration platforms that are the right mix of intuitive and well featured, since Scientists, Engineers and Designers are very different kinds of people with different needs. I looked at some of the "Scientific research platforms" our there and they look ooooooooldschool and not user friendly. I think Discourse mixed with tools like Google Drive (docs, spreadsheets etc.) and Slack (IM) might work well.

Has anyone has conducted large scale collaborative research or design projects using Discourse, and if so, could they share their experiences? Also, any plugins you think could be worth looking into?

@codinghorror

Posts: 3

Participants: 3

Read full topic

How do you add another person to a private message when it's already sent?

How to prevent signup button from disappearing on scroll down?

0
0

@stevenpslade wrote:

Currently, the sign up button for logged out users only shows on the header when the user is at the top of the page (in a topic).

But when the user scrolls down, the sign up button is removed.

Firstly, I don't really understand why this is desirable. Why make someone scroll back to the top just to press a button that isn't taking up significant real estate anyways? Also, why hide the sign up button and not the log in button?

I personally think the sign up button should just stay where it is and not disappear.

How would one go about doing this?

Posts: 3

Participants: 2

Read full topic

Create user and add to group

0
0

@Marcos_Conceicao wrote:

All users are created via sso.

How can i add this users to a group after user created via sso?

My script looks like:

`

$api = new DiscourseAPI(XXXXXXX, XXXXXXX, XXXXX);
$sso_secret = 'XXXXXXXX';
$nonce = base64_decode($_GET['sso']);
if (hash_hmac('sha256', $_GET['sso'], $sso_secret) != $_GET['sig']){
    header("Location: https://www.mysite.com");
    die();
}elseif(validaUsuario()){
    $avatar = "";

$payload = base64_encode($nonce. "&email=" . $_SESSION['email'] . $avatar . "&external_id=" . $_SESSION['user_id'] . "&name=" . $_SESSION['name'] . "");
$return_sig = hash_hmac('sha256', $payload, $sso_secret);

//Liberando acesso aos grupos
$COD_USUARIO = $_SESSION['user_id'];
$buscarusuario = $api->getMemberByExternal($COD_USUARIO);
if($buscarusuario->http_code == 200){
	$username = $buscarusuario->apiresult->user->username;

	//Consultamos os cursos adquiridos pelo usuario, que ainda nao foram liberados no forum
	$sql = "SELECT COD_ITEM, COD_CURSO
	        FROM XXXXXX
	        WHERE
	            COD_USUARIO = '".$COD_USUARIO."'
	            AND PROC_DISCOURSE_ITEM IS NULL";
	$query = mysql_query($sql);

	//Para cada curso pendente por liberar, pesquisamos o grupo referente
	while($linha = mysql_fetch_array($query)){
	    $groupname = retornaGrupoDiscourse($linha['COD_CURSO']);
	    //Caso o grupo exista, inserimos o usuario
	    if($groupname){
	        $execute = $api->joinGroup($groupname, $username);

	        //se tudo ocorrer normalmente, atualizamos o PROC_DISCOURSE_ITEM
	        if($execute->http_code == 200 OR $execute->http_code == 422){
	            $nsql = "UPDATE XXXXXXXXX SET PROC_DISCOURSE_ITEM='OK' WHERE COD_ITEM = '".$linha['COD_ITEM']."' LIMIT 1";
	            $run = mysql_query($nsql);
	        }
	    }

	}
}

header("Location: http://forum.mysite.com/session/sso_login?sso=". $payload ."&sig=". $return_sig);
}else{
header("Location: https://www.mysite.com");
die();
}
?>

`

If a user login for the first time, script will create his access to the forum, but will not give access to the group.
If the user login again, the script will grant the access to the groups.

What can i do to give access to the groups after create the user?

Posts: 1

Participants: 1

Read full topic

DiscourseEvent.trigger for single sign on

0
0

@fantapop wrote:

I'd like like to implement something like @thomaspurchas https://github.com/WarwickFilmSoc/discourse-group-sync plugin but without the sync part. Really, I think it would be awesome if there was a hook that ran after single sign on so a plugin could process custom fields passed back during the sign on process.

If someone already knows of a way to do this let me know. Otherwise, I'm proposing adding a DiscourseEvent.trigger(:sso_user_login) somewhere in the lookup_or_create_user method: https://github.com/discourse/discourse/blob/19ca08857fba1b74669af0568e1abe9932b84866/app/models/discourse_single_sign_on.rb#L49

Posts: 1

Participants: 1

Read full topic


TO utilize post space

0
0

@hashOK wrote:

In my forum,
1.I have an ample amount of space to use it for extending the post created by user.It rather looks clumpsy now.I want to utilize the space so that the post looks good,like the homepage is screen friendly using code : @media screen and (min-width: 1400px) {
.wrap { max-width: 1500px; }
}
I want the post to be such
eg.

Please suggest how to do this

Posts: 1

Participants: 1

Read full topic

Pls help me fix this issue

[PAID]Make a plugin

0
0

@hashOK wrote:

In my forum,

I need to change the homepage wview to Topics/Posts instead of present TOpics/yr or week or day.I believe it needs custom plugin

Please post a decent rpice quote.
Thanks

Posts: 3

Participants: 3

Read full topic

Digital Ocean minimum server size increase?

Bandcamp.com inline player

Viewing all 60309 articles
Browse latest View live




Latest Images