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

Discourse documentation

$
0
0

se oli tonnin seteli wrote:

How can I find it? Like, any of it. End user, admin... doesn't matter, I just need to know where it is since I'll probably have use for different types of documentation at some point so once I know where it is, I'm set.

Currently I'm just trying to find a changelog since a new version came out and I have no idea where it is and Google isn't helping.

Posts: 4

Participants: 3

Read full topic


Is there a SQL Query to create an Attachments Badge

$
0
0

Channing Hinton wrote:

I'm looking to create a downloads page that basically shows every post with an attachment. Is there some sort of SQL Query I can run via a badge that basically scrubs every post via regex or some other method, for attachments (html tags that would denote attached files images, classes, etc) and assigns itself to that post?

Posts: 1

Participants: 1

Read full topic

What exactly happens when I press the Upgrade button?

$
0
0

Mark McClure wrote:

I have a fairly new, small, private but readable Discourse instance running at www.marksmath2.org. I've got it running on my own Linode server using the simple Docker installation procedure. It is currently running V1.2.0.beta5 and, under /admin/upgrade, I see that there is a new version available. What exactly happens if I press the "Upgrade to Latest Version" button?

More specifically, I'm wondering the following:

  • Are the contents (questions and answers to this point) of the forum preserved?
    I certainly assume the answer to this question is yes, that my contents are preserved in /var/docker/shared, but it seems worth making 100% certain.
  • Is there downtime? If so, how much?
  • Is the process completely web-based, or do I need to log into my Linode?
  • Are there any risks?
    This post seems to imply that there can be risks.

More generally, how painless is the process?

I am primarily interested in upgrading because I'm having some problems downloading CSV files, like the user list, and it seems like the kind of problem that might be fixed via an upgrade. I'll ask more detail on that separately, though.

Posts: 3

Participants: 2

Read full topic

Problems with CSV export

$
0
0

Mark McClure wrote:

I'm having trouble exporting CSV files of data from my discourse instance to my personal computer.

Lets' start with the worst of it: There is, of course, a user list at /admin/users/list/active and there is an "Export" button on that page. When I press that button, I quickly receive a message that my data export is complete with a link to a page like /t/data-export-complete/47 where I can download the file. The problem is that the file is empty.

Another example, when I try to download a backup, I'm told that "The page you requested doesn't exist or is private". This is less big of a deal, because I can actually find the file on my server at
/var/discourse/shared/standalone/backups/default.

As one more example, a user can supposedly download all their posts. Again, they are directed to a download page with a link. This time the CSV file appears to be empty and I've not been able to obtain it via my web browser. However, if I look in
/var/discourse/shared/standalone/uploads/csv_exports/default,
I find files like user-archive-3.csv which contain all the information I want. Of course, this doesn't help ordinary users. Also, in that same directory, I find files like user-list-1.csv which should contain the exported user lists from my first problem. Those files are genuinely empty, however.

Note, it has occurred to me that upgrading might fix these problems, which is why I asked this question as well.

Posts: 4

Participants: 3

Read full topic

Discussion about some aspects of the French translations

$
0
0

Benjol wrote:

I've recently started using a french-language version of Discourse, and thus become interested in translations.

Got me a login for Transifex, got myself Review rights.

Now the problem is that I've spotted quite a lot of inconsistencies, and have questions about other practical matters (is there any point putting spaces before ? and ! if they're not  ?)

Is there a place where EN->FR hang out to discuss this kind of thing, and if not could that place be here?

Posts: 4

Participants: 3

Read full topic

IE9 vs Chrome comparison review

$
0
0

Dean Taylor wrote:

Continuing the discussion from 'console' is undefined - javascript error in logs:

So I did a quick run-though of experience of IE9 (9.0.8112.16421) vs Chrome 39.

I did test far more than what's listed here, these are the problem areas.

Composer

Newly opened


  • missing placeholder text in input fields.
  • initial category not selected

Post filled in


  • Your topic is similar to... displayed empty

So I tired it on try.discourse.org so I could post it:

  • note that even when I used the longer title on meta the Your topic is similar to... did not update, but on try it did.

YouTube embeds

  • Missing title of video

Edit and insert image (upload)

  • Uploads seem to not work, pressing the upload button simply feels like you haven't pressed it and it's ignoring you. (cancel works though so at least you don't lose where you are)

Edit and insert image link via From the web upload box

  • Inserting a link via the upload icon inserts it in the wrong place, incorrectly inserted at the top of the editing box when my cursor was just below More text.
  • Smiles / Emoji also insert incorrectly at the start.

Image upload for user card / Profile background

  • Dialog displayed but nothing happened after selecting Open

Edit post

  • Category not selected when uncategoried

Additional notes

  • On meta at 1029x768 when filling out the title of a post for a new topic the "characters to go" doesn't seem to appear in either browser - perhaps hidden below the tags dialog.
  • I didn't test updates appearing in topic list
  • I did see notifications appear after selecting Download My Posts

Overall

  • Experience seemed very good
  • The placeholders in the Composer would be great for new users
  • Insert position needs to be fixed.
  • Uploads broken - would be real nice to get this working.
  • Other things - mostly not so important.

Posts: 1

Participants: 1

Read full topic

Testing badge sql query

$
0
0

PJH wrote:

What happened to the 'test badge query' that used to be on the badge configuration screen?

Posts: 3

Participants: 1

Read full topic

Pre-populating posts

$
0
0

Jeron Paraiso wrote:

Hi,
I looked for a topic that requests the following and found this one, but I'm thinking there's much more overhead with that.

What I want is to be able to link to our discourse forum site with parameters that will open up to a particular topic category, with the 'Create a new Topic' overlay pulled up, populated with some text.

EDIT: nevermind the 'to a particular topic category' portion of my request, as I see there is a route/slug that does that.

Is this possible?

Posts: 1

Participants: 1

Read full topic


Grant Badge every time someone gives out 5 likes

$
0
0

cpradio wrote:

Okay, so I'm trying to get our community to start using the like feature, and what better way than to gamify it?

So the idea is, every time they hand out 5 likes, they get a badge. Below is the query I believe does this, but I'd like to improve on it (and I need help).

SELECT pa.user_id, 0 post_id, current_timestamp granted_at
      FROM post_actions pa
      WHERE post_action_type_id = 2 AND
        (:backfill OR pa.post_id IN (:post_ids) )
      GROUP BY pa.user_id
      HAVING COUNT(pa.post_id) % 5 = 0

As you can tell, it doesn't associate to a post, so that's problem number 1 (not sure if that can actually be resolved though).

Problem number 2 is I don't know if I did this correctly. On my dev environment, I sort of have a mixed bag. I got the badge once, but when I liked 10 posts. I partially think that is because of how I initially setup the badge when I created like #5 and thus the first 5 were a "lesson learned".

I originally had the badge setup to run daily, and then I switched it to when a user acts on a post (after I made my 5th like). Then I revoked a like and re-liked the same post to try and invoke the badge, and that didn't work, so I liked 5 more posts and that gave me the badge immediately.

So now for the goodies: (here is how I have my badge setup in my dev environment)

Two additional questions (based on the UI):
What does "Run revocation query daily" mean? If I unlike a post and drop down to 9 likes, will it remove the 2 badge I received?

What does "Query target posts" mean? It seems if you can associate a post with the badge, it will go out and query that post? But what does it return?

Lastly, will the creation of this badge go out and grant people badges for the likes they've already given? As I don't want that to happen. I simply want it based on likes given after the badge is created.

Posts: 24

Participants: 3

Read full topic

Can I change which account sends the "Welcome To Discourse" message?

$
0
0

Ryan Fox wrote:

When setting up Discourse, I set DISCOURSE_DEVELOPER_EMAILS to my own email address. It was my understanding that this was just to bootstrap the forum with an initial admin user.

Now, it seems that it's my account that is sending new users the "Welcome To Discourse" PM. Is there a way to set which account will send those messages? I haven't been able to find anything in the admin settings.

Posts: 2

Participants: 2

Read full topic

What is the difference between a post and a topic?

$
0
0

Zucchini Ze wrote:

I am wondering what the difference between a post and a topic since my forum needs it so users can gain trust levels.

Posts: 4

Participants: 3

Read full topic

Date in mails not localised

User's Last IP Address is localhost?

Use Badge Icon on Notification?

$
0
0

cpradio wrote:

Running latest, it seems badge notifications to not use the badge icon associated to the badge.

Notice the fa-certificate used above, but fa-heart used below.

Posts: 1

Participants: 1

Read full topic

Unhide flagged topic

$
0
0

Benjol wrote:

I have an apprentice moderator who's just tried flagging a topic to see what happens.
What happens is that it got grayed out/hidden, and I can't work out how to un-gray it frowning

Does the fact that he accepted his own flag mean it's irrevocable?

Just to be precise: I've read here about disagreeing with flags, but I don't even see where in the UI that happens.
And I'm an admin...

Posts: 4

Participants: 3

Read full topic


User Profile Background only available for TL 1 and greater

$
0
0

cpradio wrote:

Okay, so we don't get a lot of these, so consider this "theoretical" for now. But we just had a member sign up, alter their profile to have an advertising background, advertising about me, advertising user card (as well).

They then proceeded to make one post, which was an advertisement.

Granted, we haven't destroyed their account (yet), we are close to doing so, but this got me thinking: "Why do we permit TL 0 to create such profiles? Should we prevent them from setting a User Card and Profile Background until they reach TL 1?"

I'm not against the profile existing, but the multiple opportunities they have to advertise themselves without showing they have any interest in being a part of the community. If the person truly is a community member, I can care less if they advertise their services via their profile/user card. But if they have no interest in being a part of the community, I have a great big problem with their advertisement potential.

Anyone else have this thought?

Posts: 5

Participants: 3

Read full topic

CSS help please- resizing avatar in posts from 45 to 120

$
0
0

Trish wrote:

Hell Everyone,

I'm not ashamed to say I am a noob at css and just simply can't do this yet. (I'm still learning about colors, lol.)
Could someone please write a css for me?
I'd like to change the size of the avatars in the posts from 45x45 px to 120x120 px. I think 120 is called "huge".
(Only there.)
Many of my members have been asking for a bigger avvie in their posts, and I tried on my own but in vain.

Many thanks in advance,
R.

Posts: 4

Participants: 2

Read full topic

Undoing old likes looks possible but isn't

Site down...can't figure out why. Hadn't updated in a while?

$
0
0

Bryan wrote:

Had not visited the site for a while, now I can't even access it. Droplet says it is active, domain is fine...unsure what the problem could be, wanted to check if something could have happened with discourse itself.

EDIT: Digital Ocean responded with this "It appears your web server service is no longer running. Can you login to the droplet and restart that service?" How do I restart the service?

bestindustrygroups.org

Posts: 9

Participants: 3

Read full topic

jQuery in Admin Custom HTML?

$
0
0

@arlair wrote:

I have tried various things, but seem to be getting nowhere and thought I would ask.

I want to add some nav links after the site logo. I managed to do this using getElementsByClassName and appendChild javascript similar to the code in the first post at https://meta.discourse.org/t/how-to-add-external-link-on-top-menu/9508.

However, it is rather verbose and I tried some jQuery.

I have seen various mentions of jQuery in the code and on meta about jQuery, but I tried the following and don't seem to have anything to show for it.

Inside a script tag I have tried various combos along the lines of:

function doLink(){
    var $ = window.jQuery;
    var wibble = window.jQuery;
    //$("#site-text-logo").append("<ul><li><a href="/">Home</a></li></ul>");
    $(".ember-view title").after("<h1>Home</h1>");
    //jQuery(".ember-view title").append("<h1>Home</h1>");
    //wibble(".ember-view title").append("<h1>Home</h1>");
}

window.onload = function() {
    doLink();
}
//jQuery( document ).ready(function() {
//    doLink();
//    }
//});

I noticed there is a jQuery plugin loaded, but didn't find jQuery itself. I also tried adding a script flag with a link to Google jQuery, but I think this doesn't work due to the way the custom HTML is inserted. emberjs is still a bit like black magic to me wink

Posts: 4

Participants: 2

Read full topic

Viewing all 60690 articles
Browse latest View live




Latest Images