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

[Feature request] Add setting to automatically "lock" Solution posts

$
0
0

@jonathon wrote:

It’s currently possible for users to edit and delete their posts that are marked as solutions. This can cause issues (whether a solution is edited maliciously or simply deleted at a later date so removing the “answer”).

It’s possible to lock posts which are edited by Staff. Could this be extended to allow Solution posts to be locked automatically?

(If a user does want to edit they can contact Staff to unlock or to perform the edit)

Posts: 1

Participants: 1

Read full topic


403s returned if you have multiple users from one office

$
0
0

@Bas wrote:

Hi,

Related to my previous topic, the log-in rate limit for a single IP is way to low.

We just sent out an announcement email and our entire office was intermittently blocked with a very ugly “You do not have permission to view this file” 403. This includes admins, staff etc.

The default is 6 logins per minute per IP address.

Posts: 1

Participants: 1

Read full topic

After the latest upgrade applied search results showing right aligned

Auto-focus on post while opening

$
0
0

@Michal wrote:

Hi there,

Is it possible to set auto-focus (while opening a post) to focus on post, not on its reply? Right now, whenever I open the post, auto-focus scrolls down to the last reply.

Thanks for reply

Posts: 1

Participants: 1

Read full topic

Category wise SMEs

$
0
0

@Raj_Kumar wrote:

Hi Team,

I am running this forum for our company’s internal purpose. I want to assign an SME (Subject matter expert) to each category created in my Forum.

So that whenever any user creates a topic/post under any category then the email notification has to be sent to the corresponding SME. Can someone help me out here.

Posts: 1

Participants: 1

Read full topic

Why so little code comment in Discourse Codebase? (Github)

$
0
0

@1c7 wrote:

https://github.com/discourse/discourse

Background

I was trying to customize Discourse.
(deep customization, theme/plugin is not enough, not a simple facelift change(logo, color, image etc))

I git clone to my laptop and start reading the code.
(I am Ruby on Rails dev & newbie Ember.js dev)

Question

  1. Why there are so little code comment in codebase?
    (controller / model / view / etc, both Rails and Ember)

I get the phrase “good code itself is comment” (or something like that)
But why so little?

Thanks.

Posts: 8

Participants: 4

Read full topic

If a new user field is not editable after signup, it does not appear on the user profile

$
0
0

@Dax wrote:

Continuing the discussion from Adding and editing user custom fields:

Repro steps:

  1. create a new user fields (field type indifferent)
  2. field options:
    2a. :x: Editable after signup?
    2b. :white_check_mark: Required at signup?
    2c. :white_check_mark: Show on public profile?
    2d. :white_check_mark:Show on user card?
  3. Save and create a new account

Result:
The new field will only be shown on the user card, but not on the user profile.

What I expect instead:
The new field will also be shown on the user profile, not editable by the user, editable by the admins

Posts: 3

Participants: 2

Read full topic

Unread indicator/counter on a new line


Discourse multisite installation help with digitalocean

$
0
0

@rizwan wrote:

Hi,
I have installed disourse on digitalocean using following link

discourse/INSTALL-cloud.md at master · discourse/discourse · GitHub

Now I want to enable multisite functionality so I went through following link

I have no idea what the above link is talking about, is there any step by step guide?

Posts: 2

Participants: 2

Read full topic

Does exist JavaScript if is admin or if is group?

$
0
0

@Daniel_Nevoigt wrote:

Sorry if I that is somehow double post, but I couldn´t find anything, so I ask my noob question :slight_smile:

I am trying to figure out if I can show something to specific user like the admin or a specific group using JavaScript? For example: if user = admin -> show that, else -> show nothing…

Thanks for help again.

Posts: 3

Participants: 2

Read full topic

Discobot, avatars, uploads include hard-code hostname in cooked

$
0
0

@pfaffman wrote:

On a fresh import, I see that Discobot creates cooked posts that contain

<p>If you’d like to learn more, select <img src=\"//importer.ltcmp.net/plugins/discourse-narrative-bot/images/font-awesome-ellipsis.png\" width=\"16\" height=\"16\"> below  and <img src=\"//importer.ltcmp.net/plugins/discourse-narrative-bot/images/font-awesome-bookmark.png\" width=\"16\" height=\"16\"> <strong>bookmark this personal message</strong>.  If you do, there may be a <img src=\"//importer.ltcmp.net/images/emoji/twitter/gift.png?v=5\" title=\":gift:\" class=\"emoji\" alt=\":gift:\"> in your future!</p>

It would seem to me hard-coding the site URL isn’t necessary here, though there could well be something that I’m missing that makes including the site name in the URL desirable or necessary.

Also, I see that avatars get cooked like this, also with the host name similarly included.

<img alt width=\"20\" height=\"20\" src=\"//importer.ltcmp.net/letter_avatar_proxy/v2/letter/c/e47774/40.png\" class=\"avatar\"> cmomoney:</div>\n" + try this again: https://www.dropbox.com/s/8b1lo2hndsu782t/save_game_logic_1_2.zip?dl=0\n" +
  "<blockquote>\n" +

Oh, and uploads are also cooked like this:

<p><div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"//importer.ltcmp.net/uploads/default/original/3X/9/5/9514790cc658fe7049620ed26dfebf7bbdd47fe0.jpg\" data-download-href=\"//importer.ltcmp.net/uploads/default/9514790cc658fe7049620ed26dfebf7bbdd47fe0\" title=\"YGYPYG.jpg\"><img src=\"//importer.ltcmp.net/uploads/default/optimized/3X/9/5/9514790cc658fe7049620ed26dfebf7bbdd47fe0_1_690x387.jpg\" width=\"690\" height=\"387\"><div class=\"meta\">\n" +
   "<span class=\"filename\">YGYPYG.jpg</span><span class=\"informations\">1919x1079 435 KB</span><span class=\"expand\"></span>\n" +
   "</div></a></div><br>  Working on some game assets and decided to make some art with it as well.</p>",

Perhaps all of these need the hostname embedded to make multisite work?

I think that my immediate solution is to set force_hostname before I run the importer. Does that seem right? The other solution that I can think of would be to rebake posts that contain importer_hostname in cooked.

Also, the more I think about it, the more I think that discobot should be disabled by default on imports. @gerhard, @tgxworld, What do you think? If you agree, I’ll endeavor to submit a PR wtih that in base.rb. Or maybe turn it off before import and restore it after the import is done?

Posts: 6

Participants: 5

Read full topic

Keep pinned posts in Categories list

$
0
0

@outofthebox wrote:

Hi,

Thanks to @neil, my understanding is that

Discourse will remove unpinned topics from the lists on the categories page if the user has seen them (code here).

I would propose that is too strong. If a pinned post has been read, but is still one of the three most recent topics in its Category, it should remain on the list in the Categories view.

In my community, sometimes a pinned post is not an announcement, but a conversation starter. The current code is useful for announcements that only need to be read once, but there are other reasons to pin posts.

I would recommend removing this code or having it be configurable.

Posts: 7

Participants: 3

Read full topic

Topic and post markup and actions: Icons vs Tags

$
0
0

@BlackKnob wrote:

Continuing the discussion from A roadmap for Tags?:

The more I use Discourse, the more I’m confused by the multitude of icons marking topics and posts, placed in different corners, with some being just indicators, and others being actions.

  • Upper right corner of a post
    History icon - action on click
    Whispers icon - just an indicator

  • Lower right corner of a post
    a row of icons - action on click, includes a wrench menu

  • Upper right corner of a topic
    Wrench menu - action on click

  • Lower left corner of a topic
    Wrench icon - no action, just changes color on hover

  • Below a topic
    Watching button - both an indicator and action

  • Right side of a topic
    Watching icon - both an indicator and action

  • After topic title
    Pencil icon - action on click

  • Before topic title
    Bookmark, Lock, Pinned, Solved icon - indicators

…and then there are tags.

Tags and icons compete with each other on the topic level. They are both markup systems, similar in what they do and one could easily be replaced by the other.
IMO, it would be cleaner if icons were restricted to marking individual posts, while tags, anything related to topics. It would provide a clearer functional distinction.

Posts: 8

Participants: 5

Read full topic

Link Automation

[Paid] Migration script from NodeBB (redis) to Discourse

$
0
0

@tehspaceg wrote:

What would you like done?
I’m looking to migrate from my NodeBB instance that uses redis as the database, over to Discourse. My goal is to have categories, topics, posts, and users migrated over. MVP for the users would be username and email to allow people to reset their passwords when they try to login to the new site.

I’d also like the migration script to be open sourced and potentially checked into the Discourse repo: discourse/script/import_scripts at master · discourse/discourse · GitHub

When do you need it done?
No particular hurry, NodeBB is working well so far. I just like Discourse more :slight_smile:

What is your budget, in $ USD that you can offer for this task?
Since all I need is the script, and not someone to run the script for me, I was hoping for $200-$300 at the most. I’d obviously love it to be less if possible. I run the forum as a hobby and my wife will be made if I spend a bunch on something.

Additional Info
NodeBB data structure: Database Structure · NodeBB/NodeBB Wiki · GitHub
Discourse to NodeBB import (in js): GitHub - BenLubar/nodebb-plugin-import-discourse

Posts: 3

Participants: 2

Read full topic


Deleting User via API results in 403

$
0
0

@mattbr wrote:

Hi,

I’m wanting to delete a user via the API but have run into a 403 problem. I’ve looked at the documentation found here but still seem to be getting errors. I am able to execute other Admin requests and they succeed, but deletes do not work.

My request looks as follows:

DELETE {{base_url}}/admin/users/56.json?api_username={{api_username}}&api_key={{api_key}}

The {api_key} was generated on an Admin user and the {api_username} matches that of the user.

When I execute the request I get a response of:

{
    "errors": [
        "You are not permitted to view the requested resource."
    ],
    "error_type": "invalid_access"
}

However using the same {api_key} and {api_username} when I make a request to anonymize the user as follows:

PUT {{base_url}}/admin/users/56/anonymize/?api_username={{api_username}}&api_key={{api_key}}

The response back I get is:

{
    "success": "OK",
    "username": "anon12987334"
}

Am I just missing something simple here?

Posts: 2

Participants: 2

Read full topic

FAQ appearing at top of hamburger menu

$
0
0

@jerry0 wrote:

I’m not getting why FAQ (new) is appearing at the top of the hamburger menu for some users and not others.

image

Does anyone know how why this is happening and how to disable this?

Thanks!

Posts: 2

Participants: 2

Read full topic

The logs page does not open

$
0
0

@nothing wrote:

The logs page is not opened in safe mode.

our site only adds rss post with api. the site is waiting for 2 seconds to start and there is a white page on the logs page

Posts: 1

Participants: 1

Read full topic

Restrict tag to select people

$
0
0

@RyanK wrote:

I’ve been looking around, but all of the answers seem to be for a different case. Here goes:

We want to have a publicly visible tag that can only be assigned by a handful of members. Everyoene can see the tag on the post, and access the tag URL to view other posts with the tag, but only a couple of staffers will be able to assign it to a post.

Is that workable using exiting restriction options?

Posts: 3

Participants: 2

Read full topic

Problem with file attachments

$
0
0

@Hewitt wrote:

Good day,

We are having problems with user-uploaded file attachments disappearing. The files will appear for a while and then start returning 404s. I have not yet determined how/when they disappear, the one I’m specifically looking at right now was posted 12/17/2017.

The url looks right, like this, but the server returns a 404:
/forum/uploads/default/original/1X/87e1ab068c9032f0d67d3fc004ff72c4d4a7aaed.jpg

I just tried adding a picture to a post, and it’s displaying correctly. The url for that image (that returns a 200) is this:
/forum/uploads/default/original/1X/3010fecd22455b030e3aca1fe64cce64de9a335d.jpeg

(we use a subfolder installation)

I have multiple questions:

  1. What might cause the pictures to “go missing”, and how can I troubleshoot / fix?

  2. I’ve been having random problems with user uploaded images not working. Would you recommend moving to a subdomain installation instead of a subfolder install (it doesn’t seem to be the issue since it appears that the actual file is missing and not that there is a problem with the URL).

  3. Would it be more stable to move to using S3 for user images? This post by @codinghorror suggests that it’s NOT a good idea:

But then this later post by @zogstrip says that the meta site’s images WERE moved to S3:

Suggestions?

Thank you,

Stephen

Posts: 2

Participants: 2

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images