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

How to measure efficiency of workers in conjunction with Discourse posts

$
0
0

Admir Hodzic wrote:

In our company we use Discourse beside other things as Help support for our users.
As time pasts i have needs to statically look at time spend on support.
In our team there is 5 members before we used Corey Trager's BugTracker
There was two very nice features Tasks and Custom Queries.
Disocurce is far better then Bug-tracker but I miss features to attach tasks to post.
Also to query posts with tasks so I can compare what was done previously.
I was trying to learn making plugins so i can extend discource in way I like but I am
.NET developer and it is far away to be able customize discource so much.

I hope so that I am not only one which using discource for doing business where tasks needs to be measured.
So I am asking here what will be easy and smooth way to measure tasks which resident in Discourse.

I saw that there is already plugin which integrate ZenDesk and Discource https://meta.discourse.org/t/create-zendesk-tickets-from-discourse-posts/15342
I hope so that soon there will be some other plugins whic will integrate or extend Discourse whit some sisytem for tasking and mesuring workers.

Posts: 1

Participants: 1

Read full topic


Create group via API

$
0
0

Sol wrote:

Is it possible to create/delete groups via the API? I could only find how to assign a user to a group but not how to create them. In the end I would like to sync the Discourse groups with my BuddyPress groups as I want to replace bbPress but I like the actual integration it has with BuddyPress ☺ unfortunately the php api is a bit behind so it looks like a rocky way to get there frowning Maybe I am not alone with this idea and we can work together on this as my budget is not that great and I want to keep it open source of possible ☺

Posts: 1

Participants: 1

Read full topic

Docker installed what next!

$
0
0

Rob wrote:

Hi,

Server support installed docker on my dedicated server now want to know how to to use it?

I will pass any info on to them. I am rubbish at server side stuff except the basics. Thanks again

Rob

Posts: 1

Participants: 1

Read full topic

Stop replies when changing topic status

$
0
0

Luke wrote:

Hiya! I'm loving using Discourse for my community, but there is one thing I find extremely tedious... the fact that whenever I edit a topic's status (EG: pin or unpin it) It automatically replies to the topic with something like:

This topic is now closed. New replies are no longer allowed.

Is there anyway to disable this? I've searched everywhere with no avail.
Thanks.

Posts: 4

Participants: 2

Read full topic

How to reverse engineer the Discourse API

$
0
0

Sam Saffron wrote:

Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api.

Many of the endpoints are properly documented in the discourse_api gem, however some endpoints lack documentation.

To determine how to do something with the JSON API here are some steps you can follow.

Example: recategorize a topic.

  • Go to a topic and start editing a category:

  • Open Chrome dev tools, select XHR filter:

  • Perform the operation

  • Look at preview as well to figure out the results

  • You now have all the info you need.

  • The endpoint is http://try.discourse.org/t/online-learning/108.json

  • Payload is passed using a PUT
  • The params sent are:
    title: Online learning
    category_id: 5

Equip with this information you can make your own calls using your favorite programming language, all you need to do is add api_username and api_key to parameters to the request.

They can be generated using the API admin tab.

Posts: 1

Participants: 1

Read full topic

Allow new users to provide reason for joining when signing up (when approval required)

$
0
0

ariddell wrote:

When must approve users is set, it would be great to know a bit more about the user requesting an account. The addition of a single text input prompt "Message for moderator" or "Reasons for joining" would go a long way.

Perhaps this could be added without too much difficulty with a plugin? I'd appreciate any pointers.

Posts: 2

Participants: 2

Read full topic

Missing indenting for github onebox

$
0
0

Sam Saffron wrote:

Indenting is messed up here:

line 214 is indented in source as is line 204, etc ...

also ... line 219 -> 222 are missing in action

cc @Lid

Posts: 4

Participants: 2

Read full topic

Routing is broken after visiting admin customise


Configure a firewall for Discourse

$
0
0

Jeff Atwood wrote:

It's unclear if Linux distributions really "need" a firewall -- but we have found that the following Uncomplicated Firewall rules work fine with a standard Docker based Discourse install:

ufw allow http
ufw allow https
ufw allow ssh
ufw enable

That is, allow HTTP (port 80), HTTPS (port 443), and SSH (port 22), and nothing else.

A firewall should not matter if you are using a default Docker install of Discourse, for the same reason almost no Linux distribution ships with a firewall enabled by default.

But if you have somehow installed extra services that talk to the outside world, adding a firewall gives you "belt and suspenders" security, if that is of interest to you.

Posts: 1

Participants: 1

Read full topic

Where are daily backups stored?

$
0
0

wrote:

I found a setting in Discourse that enables automatic daily backups. I want to include those backup files in my nightly rsync monstrosity of a backup system I have going, but I need to know where the backup files are stored. Anyone? smile

Thanks!

Posts: 3

Participants: 2

Read full topic

301 redirect to my old forum archive

$
0
0

Tudor Vedeanu wrote:

My current website (let's call it site.com) has a Wordpress install in the root and a forum at site.com/forum. What I want to do is:

  • Move everything from site.com to archive.site.com.

  • Install Discourse in the root (I won't use a blog anymore).

I'll probably use two separate droplets on Digital Ocean for this setup.

The question is: how do I do some 301 redirects to my old website? Like this:
site.com/forum/whatever arrow_right archive.site.com/forum/whatever.

Thanks!

Posts: 3

Participants: 3

Read full topic

Markdown parser partially fails after unmatched open HTML comment

$
0
0

Jens Maier wrote:

Stumbled over another parser quirk. Unmatched open HTML comment tags prevent inline code (and potentially other inline) elements from parsing -- but only if the inline code would have been the first inline element in the current block:

Nope:
<!-- `no code`

Works *sometimes*:
<!-- `code`

Nope:
<!-- `no code`

Works sometimes:
<!-- code

When can we get a CommonMarks parser?

Posts: 3

Participants: 2

Read full topic

URL translations

$
0
0

Marco wrote:

Transifex (or is it a setting?) doesn't allow me to translate URLs. This is often correct, but there are cases when it's not.

In the following example, I'd like to translate the wikipedia URL with the corresponding Italian wiki page, not the English one which makes little sense.

Posts: 6

Participants: 2

Read full topic

Extend S3 configuration for other s3 API compatible cloud storage solutions

$
0
0

Edouardb wrote:

It would be great to have an extra field host and set region optional to allow other S3 API compatible services to work with discourse for backup and files storage.

Posts: 5

Participants: 3

Read full topic

RuntimeError (Invalid trust level leader)

$
0
0

bootstraponline wrote:

What does RuntimeError (Invalid trust level leader) mean? I see it in /logs and I'm not sure how to resolve the problem.

Posts: 1

Participants: 1

Read full topic


Facebook and G+ don't show excerpt for private communities

$
0
0

Spero Koulouras wrote:

When sharing to Facebook or G+ the text from the current topic or post is not copied over on my forum as it is here on Meta. All I get is my site URL and description. Any ideas?

Continuing the discussion from Sharing to social networks:

Posts: 3

Participants: 2

Read full topic

Any suggestions on best ways to flag a topic as incomplete?

$
0
0

Tobias Eigen wrote:

We are using our discourse also as a wiki for collaboratively sharing information. I would like to be able to publicly flag a topic as incomplete - a work in progress - so everyone can see the topics that need attention and contribute to them. Something akin to the wikipedia "stub".

I wonder if others have already solved this problem or if there is a plugin to handle this use case. Otherwise the long handed route is to add a prefix to titles or a keyword in the body of the message that can be searched. Anyone have better ideas?

Posts: 2

Participants: 2

Read full topic

Starting Rails Console: permission errors

$
0
0

Andrew Kraut wrote:

I'm trying to open the rails console, but it's failing with Permission denied - /root/.pryrc (Errno::EACCES).

Longer snippet:

root@uhacc:~# cd /var/discourse/
root@uhacc:/var/discourse# ./launcher ssh app
WARNING: No swap limit support
lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory

Welcome to Discourse Docker


Use: rails, rake or discourse to execute commands in production

root@uhacc:~# rails c
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/pry_class.rb:81:in `realpath': Permission denied - /root/.pryrc (Errno::EACCES)
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/pry_class.rb:81:in `realpath'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/pry_class.rb:81:in `real_path_to'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/pry_class.rb:76:in `block in rc_files_to_load'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/pry_class.rb:76:in `map'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/pry_class.rb:76:in `rc_files_to_load'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/pry_class.rb:64:in `load_rc_files'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/pry_class.rb:126:in `initial_session_setup'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/cli.rb:206:in `block in <top (required)>'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/cli.rb:83:in `call'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/cli.rb:83:in `block in parse_options'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/cli.rb:83:in `each'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/lib/pry/cli.rb:83:in `parse_options'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/pry-0.10.1/bin/pry:16:in `<top (required)>'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/bin/pry:23:in `load'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/bin/pry:23:in `<main>'

Posts: 19

Participants: 6

Read full topic

Re-enable Digest for all users and send a manual message

$
0
0

Raphael Buechler wrote:

Hello Everyone

I got a real small discourse running for a project that aims to attract young developers. Long story short: It lacked in attracting and especially in holding interest. I got some users on the page, but most of them are as active as the System-user, if not even more inactive.

To change this, I'd like to enable the digest feature. The project had some new inputs and is slowly growing ahead, which means there is some new and interesting content on the page that won't be checked if I can't reach my Users with the digest.

Therefor, is it possible to reactivate the digest (if you turned that feature off in the beginning) and sending those mails out to my small user-base?

Posts: 1

Participants: 1

Read full topic

Onboarding using an iframe and a cookie

$
0
0

Spero Koulouras wrote:

We needed a "softer landing" or onboarding process for new users, especially technical neophytes, to our Discourse forum, so here is what we did:

  • Built an external web site containing our "onboarding" screens.
  • Inserted an iFrame into Discourse top of page
  • Added a cookie to track dismissal.

New users to our site get the "Guided Tour". The tour stays active on their account until they dismiss it. They can bring it back anytime they want by clicking on a "Guided Tour" button added up by the notification icon.

This was a quick and dirty hack, but is reasonably general. I used Wix (overkill) to build the onboarding screens super quickly. The implementation was a single web page with a size of 600x300px containing 7 anchors and using a "Next" button to jump from anchor to anchor. But it does not matter - any web site that fits the iframe will work.

check out dev.sennseis.com and register as a new user to see it, or use "guided tour" if you already have an account. This machine is an unstable development machine. Code is below.

Thanks to @tuananh for the inspiration.

Continuing the discussion from Dismissable banner like on discourse.soylent.me:

Here are the key snippets from our implementation:

First - put some Javascript in the Header to get/set cookie and enable/disable the iframe (Admin -> Customize -> Header)

<script type="text/javascript" charset="utf-8">
function setCookie(cname, cvalue, exdays) {
    var d = new Date();
    d.setTime(d.getTime() + (exdays*24*60*60*1000));
    var expires = "expires="+d.toUTCString();
    document.cookie = cname + "=" + cvalue + "; " + expires;
}

function getCookie(cname) {
    var name = cname + "=";
    var ca = document.cookie.split(';');
    for(var i=0; i<ca.length; i++) {
        var c = ca[i];
        while (c.charAt(0)==' ') c = c.substring(1);
        if (c.indexOf(name) != -1) return c.substring(name.length, c.length);
    }
    return "";
}

function checkCookie(cname) {
    var cval = getCookie(cname);
    if (cval != "") {
        /* cookie has a value */
    } else {
        cval = "true";
            setCookie(cname, cval, 3650);
    }
    return cval;
}


function toggle(btn, id, cname) {
    var el = document.getElementById(id);
    var box = el.getAttribute("class");
    if(box == "hide"){
        el.setAttribute("class", "show");
        setCookie(cname, "true", 3650);
    }
    else{
        el.setAttribute("class", "hide");
        setCookie(cname, "false", 3650);
    }
}


function setid(id, state) {

    /* state should be "show" or "hide" */

    var el = document.getElementById(id);
    el.setAttribute("class", state);
}

</script>

The in Content -> Top of Page added this code which creates an iframe and loads content. It checks the cookie to decide whether or not the iframe is visible.

<div id="sennseis-blog-iframe" class="show" scrolling="no">
<script>
        if (checkCookie("guidedTour") == "false")
            setid("sennseis-blog-iframe", "hide")
</script>
<button id="sennseis-blog-close-button" onclick="toggle('sennseis-blog-close-button', 'sennseis-blog-iframe', 'guidedTour');"><nbsp></nbsp>X<nbsp></nbsp></button>
 <iframe id="sennseis-blog-frame" src="http://onboard.sennseis.com" name="iframe_a" scrolling="no"></iframe>
 </div>

and there is some associated .css:

#sennseis-blog-iframe {
    float: left;
    height: 300px;
    top: 1%;
    left: 1%;
    width: 600px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 70px;
    margin-top: 20px;
    padding: 0px;
    background-color: transparent;
    border: 2px solid orange;
    border-radius: 6px;
    overflow: hidden;
}

#sennseis-blog-close-button {
    float: right;
    top: 15px;
    right: 15px;
    position: relative;
    margin-bottom: -30px;
    border-top: none;
    background: transparent;
    border: none;
    font-size: 18pt;
    color: lightgray;
}

Posts: 1

Participants: 1

Read full topic

Viewing all 60613 articles
Browse latest View live




Latest Images