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

Comment from a user about topic editing / private image gallery

$
0
0

@charleswalter wrote:

Background: We have several categories where users create topics to keep a gallery of their images that they upload (for easier access in the future). They don't really want other people to reply to these topics.

A user expressed frustration to me that when she edits her topic, it goes to the top of the category and that this encourages other users to respond - she asked me to see if we could at least have edits not bump up the order in the category home.

Anyhow, is there a suggestion on how we should advise users to handle this use case?

Are there settings in Discourse that perhaps could allow certain users to create their own closed topics?

Perhaps in the future there could be a page / tool in Discourse that allows users to easily access their previously uploaded images, and perhaps add images to their "library". Not sure how useful this would be for other communities though.

Appreciate any feedback that the Discourse community can provide :slightly_smiling:

Posts: 3

Participants: 3

Read full topic


Preventing malicious linking

$
0
0

@john_mardlin wrote:

Continuing the discussion from How Coinbase Uses Discourse to Educate Customers and Improve SEO:

If I understand, that warning would be shown to anyone who clicks on a link posted by a TL0 user?

What if a TL0 users posts a link to one of our KB articles, or StackOverflow, or Wikipedia? I suppose we could whitelist domains, but it seems like all users are being punished instead of the new user being asked to gain trust.

If that was only shown until moderator review, it could work.

Posts: 4

Participants: 3

Read full topic

How to grab Topic/Category information from the frontend

$
0
0

@jordanmnunez wrote:

I am adding some custom Mixpanel tracking to our discourse implementation.

Currently, I am using Discourse.PageTracker.current() to add an on("click") listener on user click through. This is great and I can identify when a category or topic is loaded. However, is there a way I can grab the topic/category model data from the loaded ajax request. In other words, Can I call something like Discourse.model to get a object of the Topic Name and Author?

I am only using js injection via admin > customize > CSS/HTML. So I wont be doing anything from the back end. I could use jQuery to grab the data that is produces on the page. However, I would prefer something less hacky if possible.

Thanks and advance!

Posts: 4

Participants: 2

Read full topic

Some questions on vbulletin import script (groups, likes, attachments)

$
0
0

@lrossouw wrote:

I'm importing a community forum from vbulletin. And I can't wait to get it done, because I want to start using discourse pronto.

I've managed to get the script running and it can import: users, groups, categories, topics (i.e. first posts) and then failed. Because I gave it only read access to my vb db (to be safe). The backup / restore feature is also invaluable in testing this stuff because it's so easy to go back to an empty forum.

At this stage, before I run it again I have some questions on this:

  • How should I do the user <-> group mappings? I see it takes the primary group in some way but I don't see this on the imported forum anywhere. Plus other groups? I guess I'd be able to do the SQL from the mysql side, but how do I add the groups on discourse from the script? Thinking about it the easiest would be to do it "by hand" after import using bulk add user to group funciton.
  • Our forum uses the DragonByte Tech: Advanced Post Thanks / Like plugin. I guess I'd be able to figure out who liked/thanked which post from the MySQL database, but again, how do I import said like to discourse. Probably after posts have been imported I need to loop through all the likes/thanks in my database and like the corresponding post on discourse? (Can't wait for the dislike button to disappear...).
  • I haven't got to attachments yet, but our forum uses attachments that are stored in the DB it seems. Will this be handled by the script or do I need to make changes?
  • I see posts with vb code are not being formatted at present. I need to run something after import I believe?

Thanks!

Posts: 2

Participants: 2

Read full topic

Changing category permissions with groups using API

$
0
0

@richp10 wrote:

I have a category I would like to be restricted to particular users.

Using the API - I have created a the category and a group. Also added a user 'A' to the group.

Then, also using the API - I update the Category with PUT /categories/ - and have added permissions so that members of the group have read write permissions. This works and if I view the category security, the permissions are there and the user is correctly a member of the group.

If I then log in to the user account - I can't see the Category under the category menu. BUT if I click the 'All categories' button it is showing there - and I could see the welcome message.

So this is working perfectly except the category is now showing on main categories page. When logged in as admin, it displays correctly.

Any thoughts on what I am doing wrong / how to fix?

Posts: 5

Participants: 3

Read full topic

Groups should have a root directory page, just like Users

Censored words not being censored while under [code] tag

$
0
0

@Alankrit_Choudh wrote:

The censored words i added to my community are not being censored inside a [code] tag. If i type the censored word outside like a normal post it works fine.

Any one else getting this as well?

Posts: 4

Participants: 3

Read full topic

Unicorn takes 100% cpu and can't access forum

$
0
0

@zh99998 wrote:

I just migrate a forum to discourse today. It works well hours before, but it went read-only mode, then can't visit minutes later. Seems auto-backuping.then about 10 mins later, seems backup is finished, the ruby, postgre, gzip process is not take much resources. But unicorn process began to take 100% cpu, and still can't visit forum.

there is lots of

Kill self supervisor is gone

in unicorn.stdout.log
and lots of

E, [2016-01-15T13:09:21.547869 #22994] ERROR -- : worker=1 PID:23084 timeout (5168s > 30s), killing

in unicorn.stderr.log

Posts: 3

Participants: 2

Read full topic


Why are there hashes in the DB for users generated via OAuth?

$
0
0

@norandom wrote:

Hey,

I took a look at the discourse-oauth2-basic plugin because we want to use it with Single Sign On.

I generated a couple of accounts via the oauth workflow / login method.

discourse=# select username_lower, auth_token from users;

username_lower  |            auth_token
-----------------+----------------------------------
 username       | cblalblalala

I took a look at the plugin code https://github.com/discourse/discourse-oauth2-basic/commit/7584d8498649d0fc25db0a20cf0766ec40f46260 but it does not seem to store the bearer tokens.

What are these auth_tokens?

Best,
Marius

Posts: 1

Participants: 1

Read full topic

Adding model and table with plugin

$
0
0

@piratdavid wrote:

I've understood how a plugin should add tables in the db by creating a db/migrate/timestamp_table_name.rb file. Will this also create an ActiveRecord class or should I create one on my own? And how is that installed if I would put it in plugin/models/model_name.rb? Is this the way to go and will db:migrate take care of installing the model also?

Thanx for any help.

Posts: 4

Participants: 2

Read full topic

Can't pin topics because numbers are written in Hindu numerical system

$
0
0

@Aymane_Shuichi wrote:

Hello,
I'm using Discourse in Arabic.
The numbers are Arabic : 0,1,2,3 ... but they're hindu after selection.

When I set a date and click pin, it says that I should enter a date.

I think the hindu numbers are not supported and should not be translated.
What do you guys think ?

Posts: 1

Participants: 1

Read full topic

How to track user registration with gAnalytics

$
0
0

@Frez wrote:

Hi everybody,

I'm trying to track user signup on our new Discourse Pokémon Go site but I can't figure out how to proceed.

I've read those two posts twice and it didn't help me much.

Any help would be much appreciated.

Ps.: I know how GA works very well. It's only make the two talks that is bugging me.

Posts: 1

Participants: 1

Read full topic

Link replies without replying

$
0
0

@Aarskin wrote:

There are situations where it would be beneficial to link an existing topic to a new one without replying, however, I don't know how to do this.The result is that people are linking topics together by replying with a link to the topic, only then does the topic appear on the sidebar.

In other words:

I posted a topic - New Dev Required Reading - and want to have related links show up to the right of the topic.

A fellow dev wanted to link an existing topic, so he replied with

But this only brings the related link in on the reply itself, and not the original topic.

Is there a way to add the link on the right without adding an entire reply to the topic?

Posts: 2

Participants: 2

Read full topic

Best way to create an interface for templates?

$
0
0

@pfaffman wrote:

I would like for students in my class to be able to insert a set of checkboxes (I have installed https://github.com/cpradio/discourse-plugin-checklist) so that they can indicate that they have done whatever it is that they are supposed to have done for a given assignment.

The per-category template is not specific enough. I really need a per-topic template, but that seems unwieldy and of little use for Discourse's main purpose.

I have hacked the discourse Poll UI (Thanks @cpradio!) plugin to pop up a window and let the user select one of several hard-coded (that is in the code) templates.

My next step is to move those templates from a controller to system settings.

What I think I want is to be able to add template_name:template_text pairs. Another might be to create a special template category and have my code pull out subject:body for its templates.

I have approximately 24 hours of Discourse plugin development experience. I'd appreciate a hint in which direction to head and some code examples.

Thanks.

My plugin, such as it is, is available on github.

Posts: 2

Participants: 2

Read full topic

Background of selected from category dropdown extends past menu on iOS

$
0
0

@Simon_Cossar wrote:

It's hard to get a screenshot of this. On an ipad, when the 'bullet' category style is being used, after selecting a category from the category drop-down, the selected category's background extends 10px past the edge of the drop-down menu.

This is because the width of .badge-wrapper.bullet is set to 100% while it also has 5px of padding. It can be fixed with either:

list-controls .category-dropdown-menu .badge-wrapper.bullet {
    box-sizing: border-box; // the width now includes the padding
}

or:

list-controls .category-dropdown-menu .badge-wrapper.bullet {
    width: calc(100% - 10px); // the right and left padding is subtracted from the width
}

Posts: 2

Participants: 2

Read full topic


SendGrid needs root cert installed

$
0
0

@rockylhotka wrote:

I am trying to set up my first discourse server, using docker and hosted in azure.

I have it running, but can't get email to send from discourse. Looking at the production.log file in the container it appears that the problem is a lack of root cert packages in the Linux machine

Sent mail to someone@example.com (143.7ms)
Job exception: hostname "smtp.sendgrid.com" does not match the server certificate

Googling around seems to indicate the problem is that I need to install the Godaddy root cert in the container.

Does that seem correct? Why wouldn't the standard root certs already be available?

Posts: 7

Participants: 2

Read full topic

Ability to view if PM has been read (Moderation ability?)

$
0
0

@jomaxro wrote:

So, this is a feature that many, but not all, communication platforms have. I would like an option to view if a user has "read" (seen) a PM sent to them. Facebook Messenger is the most prominent service that does this, and I believe Google Hangouts and Skype provides this as well. While I do not want to see this in regular topics (too messy), PMs are generally small enough where this would be a nice things to see.

However, I am torn about whether this should be available to all users, or just to staff. The recent example that brought this feature to mind was a user publically complaining that their post was flagged and hidden. As the moderator who flagged - and then preceded to hide - the post, I flagged the post again and sent the user (and @moderators) a PM explaining why I hid it (the link posted http://lmgtfy.com, violates our site guidelines) and asked the use user not to post that type of link again. While multiple moderators have liked the PM, the user has not, and I have no way of knowing if he has even seen the PM. So that is the moderator use case.

As for a regular user, I think the use case is similar (know if your message has been seen), but not as needed. Additionally, I am not sure how users would react if they know others could see if their messages were read, even though they are PMs.

Further, the ability to customize the "edit the post please" PM would be great, but I will create another topic for that per Meta rules.

Posts: 1

Participants: 1

Read full topic

Incorrect user attribution for wiki post edits

$
0
0

@jomaxro wrote:

Summary:

When mentioning users in a wiki post edit, the notifications received by those users comes from the original post author, not the user who made the edit.

Steps to reproduce:

  1. User A creates a topic
  2. Moderator Z makes it a wiki post
  3. User B edits the post mentioning @User_C

Expected Results:

User C receives a notification that User B mentioned him/her in a post

Actual Results:

User C receives a notification that User A mentioned him/her in a post.

Notes:

This post where this was noticed is:


All moderators received a notification from user Zilla despite user jomaxro making the change that mentioned @moderators

Version:

Discourse 1.5.0.beta8 (discourse.stonehearth.net)

System Information:

Windows 10 Pro, Chrome Stable 47

Posts: 10

Participants: 3

Read full topic

How to login to system user (what's the password of user "system")?

$
0
0

@freemangl wrote:

Hi, I just wondering how to login to the system user? what's the password of user "system"?
the username "system"

I need to change some site settings and import from another forum software(discuz!)

Thanks!

Posts: 2

Participants: 2

Read full topic

How do I validate my DNS settings for email?

$
0
0

@Henrik wrote:

Hi!

I have encountered a small problem.
Email delivery to any other email adress than my own still doesnt work, even tough I have done the DNS changes and waited ~2 days. I cant figure out what I have done wrong, and wonder if maybe some of the existing values in my DNS panel are wrong. The A record works.

Is there anything obvious wrong in my DNS panel?

Posts: 4

Participants: 3

Read full topic

Viewing all 60613 articles
Browse latest View live




Latest Images