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

Plugins - modifying category titles in the category list

$
0
0

@gsch wrote:

I am trying to write a plugin that will modify category titles in the category list.

(in particular, I'm trying to flag categories that have no subscribed users, but that's probably beside the point... I've got all the ActiveRecord stuff figured out on the back end, I'm think I'm just struggling understanding how to tie in all the Ember stuff).



This is the desired effect:

(PS: I made this screenshot by temporarily overriding Discourse's categories.hbs by temporarily copying it into my plugin's assets/javascripts/discourse/templates/discovery/categories.hbs and registering it, with modifications:

// -- The line below is the modified one --
<img src="/images/emoji/emoji_one/warning.png?v=1" title="This category has no subscribers" class="emoji" alt=":warning:">
// -- end modification --

{{category-title-link category=c}}
{{category-unread category=c}}
{{#if c.logo_url}}
  {{category-logo-link category=c}}
{{/if}}

just to prove that I could do something like this. /end PS)



Anyways, I thought a good place to start would be to override the default category-title-link component by copying the existing code into my plugin's assets/javascripts/discourse/components/category-title-link.js.es6.

import { iconHTML } from 'discourse/helpers/fa-icon';

console.log("Component standing by!");

export default Ember.Component.extend({
  tagName: 'h3',

  render(buffer) {
    const category = this.get('category');
    const categoryUrl = Discourse.getURL('/c/') + Discourse.Category.slugFor(category);
    const categoryName = Handlebars.Utils.escapeExpression(category.get('name'));

    if (category.get('read_restricted')) { buffer.push(iconHTML('lock')); }

    buffer.push(`<a href='${categoryUrl}'>`);
    buffer.push(`<span class='category-name'>${categoryName}   !!!!!!!!!!!!   </span>`);
    buffer.push(`</a>`);
  }
});

I was hoping that this would cause all of the category names in the discovery list to be followed by a bunch of exclamation marks, but that didn't work. I've tried a bunch of other things, too, but none of those worked either.

I've read through the beginner plugin guide, installed and tried to reverse engineer other plugins, and all that good stuff, but I seem to be stuck.

Any ideas? Thanks for the guidance.

Posts: 1

Participants: 1

Read full topic


Is it possible to re-earn Regular status?

Input from site Moderators and Admins requested: how often do you deal with flags, blocks, suspensions, and tough users

$
0
0

@jomaxro wrote:

So I've seen some questions come up over the last few weeks about moderating a Discourse instance. There was this discussion about dealing with overly emotional users, this topic about TL3 users with too many flags, and more that I am not finding right now. I guess what I am curious about is what other communities see in terms of their users and content. Over at Stonehearth, in my time as a moderator over the last 4 months, we have seen very few issues. Since our Discourse started just before May of 2013, we have had a grand total of 544 flags. The average number of flags per month is just 16, and we are seeing a negative trend (linear trend) in flags.

We have only 3 long term (indefinite) suspensions, and very few (less than 10 to the best of my knowledge) total suspensions in our history. In the past 3 years, only 5 posts have been auto hidden by 3 or more flags, though 2 other posts did receive 3+ flags but of different types. All but one of the auto-hidden posts happened in February of 2015, and the flags were all for one of our now long-term suspended users (who received 34 of the 60 flags for the month). I have wondered if the small quantity of auto-hidden posts is due to the low number of spam/inappropriate posts we receive, if users don't tend to flag posts, or if our mods are particularly active. Of the 544 total flags, ~130 of them (more than a fifth) were from the mods themselves, which were then dealt with immediately.

I guess what I am wondering is what other communities see. Our community is around a indie game, and the majority of the discussion is focused on bug reporting and game suggestions. We have just over 6000 total users, with an average of 170 user visits per day. We have 5 mods in 4 different time zones (3 US, 2 Europe) 4 active admins, and 9 total admins (if I skip the Discourse team since we are hosted). What do you experience on your site? How big are you, what is your focus, how active is your mod team, etc. Do you get a lot of spam/inappropriate posts? How do you decide when to block or suspend an user, and how frequently does that occur.


tl;dr edit per @codinghorror's request:

Question 1: Please provide your general site details. (like what your site is for, how busy it is, how large your moderation team is, etc.)

Question 2: How frequent do you run into "issues", and what do they tend to ensue. (like frequency of spam and flags)

Bonus Question! How do you deal with "big deal issues", like suspensions, and how often do you encounter the need to do so?

Posts: 3

Participants: 2

Read full topic

No information initial scroll up

$
0
0

@rexi88 wrote:

I find on mobile when going to a new link or something the page opens all the way at the bottom. it's as if your scroll position from previous page stays the same when you go to a new one. There is nothing until you still up and then you will see the footer and last post etc. New pages should open at the top.

Thanks

Hope that makes sense.

Posts: 8

Participants: 3

Read full topic

Can users see other users trust level?

Swap file priority "-1"

$
0
0

@jhosein wrote:

Installing my first instance of Discourse. (woo!)

Just finished creating my swapfile and I noticed that the priority is "-1". Is that normal?

Posts: 2

Participants: 2

Read full topic

Discourse sending multiple digest mails to users

$
0
0

@anandm09 wrote:

After upgrading to latest version (v1.5.0.beta9 +102) we have received various complains from forum members.

They are receiving same email 2-3 times daily from the day of last upgrade

How can I fix this?

Posts: 5

Participants: 2

Read full topic

Don't see an option for converting post to wiki

$
0
0

@dustinpitcher wrote:

I have searched thoroughly for any information related to this but it seems I'm the only one having the issue. For some reason, I am not getting the Wiki button:

I am using digital ocean if that matters.

I'm just looking for some direction on how to start troubleshooting this. I am running v1.5.0.beta9 +85, I am logged in as admin, I'm not seeing any errors in the logs, the only relevant admin settings I can find are set as follows:

I'm sure I'm missing something silly, any help is greatly appreciated.

Posts: 2

Participants: 2

Read full topic


Customization text reverses after update

$
0
0

@weebo wrote:

Hi! Yesterday I did an update. I've lost all my text and email customization, they reverted to the original. How can I prevent this?

If I contribute to the Transifex translations how long until my updates are committed?

Posts: 1

Participants: 1

Read full topic

This site was just updated. Refresh now for the latest version?

Allow group owners (and not members) to mention the group

$
0
0

@rriemann wrote:

Hello!

I have a very large group and would like to allow all group owners to mention it in order to send notifications to members of the respective group. I cannot find this feature. Is this so far/in the foreseeable future available?

Posts: 3

Participants: 2

Read full topic

Unknown error in logs

$
0
0

@joebuhlig wrote:

I just launched a new community yesterday and I know it takes time to build a user base so there isn't much for traffic there yet. But just for my own sanity I took a look at the error logs and ran across this error that shows up fairly frequently:

I'm not sure where to start in hunting this down. I took a look at the file in question, but couldn't see anything helpful. The backtrace is empty. I'm on the latest build. Anyone have ideas?

Posts: 1

Participants: 1

Read full topic

Admin/mod ability to insert a post wherever

$
0
0

@john_mardlin wrote:

Sometimes a topic get's away from you, and you really want to be able to provide clarification close to the top of the page, but you're stuck with the 9th or 10th postion.

Here's an example of such a topic. The title had been "Buy/sell bitcoin" which has the danger of being a very common search result, so I modified the title to avoid confusing too many people.

Some possible work arounds include:

  1. Hijacking a post using "change ownership"
  2. Creating a new topic, and then moving all the posts from the original topic under it.

But, the ability to simply insert a post at the second position would be my preference. One approach might be to include an "add post below" to this menu:

Posts: 1

Participants: 1

Read full topic

Favicon issue (firefox)

$
0
0

@Alankrit_Choudh wrote:

  • Favicon issue- Takes a good amount of time to load the favicon, But does not display the correct one i suppose it displays the Small URL image as favicon instead because i have a black favicon, this happens on my Firefox latest build. Works okish on chrome.

Posts: 4

Participants: 2

Read full topic

[Paid] Permissions for some special tags

$
0
0

@DavidGNavas wrote:

Hi all!

We're using :discourse: for an internal social network for our organization for 2 years, very happy with it :smile:
But now we're thinking about how would it be to open our forum to alumni.
We have a complex categorization using subcategories + tags, so create a group "alumni", add them to some of the categories and communicate to the rest of the organization that they will share with some people or another depending on what category or subcategory they select seems too complicated.

So, we are wondering if will we be able to develope a feature to make one or two special tags (via tagging plugin) that, when added to a topic, it'll be open to the group "alumni".

In other words, people on the group alumni will only see the topics with the tag alumni.



What are your thoughts? Would it be crazy or perhaps feasible? We could consider become clients of Discourse hosting or paying a dedicated plugin for this.

Thanks!

Posts: 6

Participants: 4

Read full topic


Issue: NOQUEUE: SYSERR(root): hash map "access": unsafe map file /etc/mail/access.db: Permission denied

$
0
0

@polusok wrote:

Just go to my website and see 500 error on it.
Tried to discover what is wrong. Look at /var/logs and see following records.
I see that there is some permission issue but don't understand why it happened (all was fine before) and next question how to fix it?
Please instruct and thanks for help

Feb  4 16:40:10 automated-testing sm-mta[16701]: ruleset=check_relay, arg1=localhost, arg2=127.0.0.1, relay=localhost [127.0.0.1], reject=451 4.3.0 Temporary system failure. Please try again later.
Feb  4 16:40:10 automated-testing sm-mta[16702]: NOQUEUE: SYSERR(root): hash map "access": unsafe map file /etc/mail/access.db: Permission denied
Feb  4 16:40:10 automated-testing sm-mta[16702]: ruleset=check_relay, arg1=localhost, arg2=127.0.0.1, relay=localhost [127.0.0.1], reject=451 4.3.0 Temporary system failure. Please try again later.
Feb  4 16:40:10 automated-testing sendmail[16704]: u14GeA9s016704: from=smmsp, size=419, class=0, nrcpts=1, msgid=<201602041640.u14GeA9s016704@automated-testing.info>, relay=smmsp@localhost
Feb  4 16:40:10 automated-testing sm-mta[3532]: deferring connections on daemon MTA-v4: 15 per second
Feb  4 16:40:10 automated-testing sm-mta[16705]: NOQUEUE: SYSERR(root): hash map "access": unsafe map file /etc/mail/access.db: Permission denied
Feb  4 16:40:10 automated-testing sm-mta[16705]: ruleset=check_relay, arg1=localhost, arg2=127.0.0.1, relay=localhost [127.0.0.1], reject=451 4.3.0 Temporary system failure. Please try again later.
Feb  4 16:40:10 automated-testing sendmail[16704]: u14GeA9s016704: to=root, ctladdr=smmsp (109/117), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30419, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.0 Temporary system failure. Please try again later.
Feb  4 16:45:01 automated-testing CRON[19249]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb  4 16:55:01 automated-testing CRON[30950]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)

Posts: 3

Participants: 3

Read full topic

Resetting a forum

$
0
0

@Mick2016 wrote:

Hi,

I have been using Discourse for teaching a class. Is there a way to easily:

  1. Archive a previous class (i.e., the current forum data)
  2. Create a new one without having to reinstall Discourse

I installed Discourse on a computer I own. I could reinstall it but it would be easier for me if there was a way to simply reset the forum, that is:

  • Remove all existing user accounts
  • Delete all posts and uploads

I would like to keep the settings and plugs-in I have installed.

For those interested in using Discourse for teaching, it has been great for my class. I use different types of categories to organize the material:

  • Categories read-only for students to post class material
  • Classical discussion/Q&A categories for homeworks, etc
  • For each student, I create a private category open to the students and the instructors only. The student uses it to upload homework. We use it for posting grades and feedback. Homework papers are scanned if they are not given to us in electronic form.

Posts: 5

Participants: 3

Read full topic

User invites not sending--No user associated in email log for invites

Discourse stuck on "Currently Upgrading"

$
0
0

@Chili wrote:

Been having an odd problem with our Discourse instance recently.

It seems to be stuck on Currently Upgrading (even when there are no upgrades available):

There is no way to upgrade from within the web ui. When there are upgrades available, when I click on it the console window is just a blank screen. I need to do a ./launcher rebuild to upgrade, and even then it sometimes hangs on the stop app command, and I have to reboot the server to get the forum back.

There is nothing in the logs that I can see that pertains to this error.

Posts: 7

Participants: 3

Read full topic

Lag on our Forum?

$
0
0

@AnonymousPerson wrote:

Hello there, thanks for reading this.

I'm part of the Hopscotch forum, and we have recently been hit with tons of lag. This happens almost everyday, and I get very annoyed from it.

Also, sometimes my notifications repeat. Say someone has replied to me, I've read it and liked it. Moments later, the same notification alarming me that "___" has replied to me.

Could you explain, @sam, @codinghorror? Anyone?:neutral_face:

Posts: 11

Participants: 3

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images