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

Disable the activity summary after some time

0
0

@a.l.e wrote:

i tend to get “spammed” by multiple discourse activity summaries.

it’s only once a week or once a month, so i normally tend to just delete the email and go on with my life.

this morning, i took the time to follow the link [12] in the footer:

This summary is sent from [Atom Discussion][1] when we haven’t seen you in a while. Change [your email settings][12], or [click here][13] to unsubscribe.

it’s nicely done, really pleasant but, when i wanted to tweak the settings i’ve noticed that he option i would have set is missing. the current formulation in the one specific forum i’ve been using is:

[ ] When I don’t visit here, send me an email summary of popular topics and replies
[ Weekly v]

personally, i’d like to separate the summary on popular topics from the ones on the replies… and get it to stop after some time after my last visit / post.

my proposal is:

When I don’t visit here, send me an email summary of
[ ] popular topics [ Weekly v] [ forever v] after the last [reply v] and
[ ] replies [ Weekly v] [forever v ] after the last [visit v]

where the “timer option” contain

  • forever
  • for one week
  • for one month

the option choice between reply and visit in the trigger might be a bit over-engineered (you might pick on of both and hard set it…)

i understand that you are trying to keep the options as simple as possible, but as discourse becomes more and more popular more and more often i’m “forced” to use it for one-time contributions (like this one).
i will not be part of the community, but i’m really interested in getting the replies to my topic without having to come back every day. and it’s nice to get some insight on what happens in the community.
but this should stop automatically after some time, until i come back for a different matter, of course!
and if i do a further contribution, it should automatically restart pinging me.

Posts: 3

Participants: 2

Read full topic


Multi-site Installation

0
0

@sebastien wrote:

Hi Guys,

We have users scattered across all Asia. To improve performance, we are considering “duplicating” our front-ends to different regions:

  • One server in Tokyo to serve users from South Korea, Japan
  • One server in Mumbai to serve users from middle east and india

We will use AWS Route 53 Latency based routing to find the server with the lowest latency for a given user.

It means that each web discourse front-end must be associated to a different sub domain:
a1-community.mydomain.com
a2-community.mydomain.com
a3-community.mydomain.com

Route 53 will dynamically “redirect” to the users to the server with the lowest latency.

To achieve this we would need to separate discourse into several instances: 4/5 front-ends + 1 back-end (database)

Is this something we can achieve with your multi-site approach?

Thx
Seb

Posts: 7

Participants: 3

Read full topic

Showing a 'unread' badge on category boxes

0
0

@tanzaho wrote:

Hi, sorry if this behavior already exists, I couldn’t find how to solve my need.

I have a category with several sub-categories shown as boxes. I would like to add a “unread” badge on those with unread messages.

I’ve looked for a css class on these boxes with unread and/or new messages, but couldn’t find any.

Is there a solution for that ?


What I have:

What I’d like to achieve

Posts: 1

Participants: 1

Read full topic

How to add ip to screened ips list via ssh

0
0

@Bhaskar_Chakraborty wrote:

Hi I accidentally check “use admin IP whitelist” now somehow my admin ip address is blocked so I cant access admin panel. I have SSH access, is there is any way to add ip to screened ip list via ssh or uncheck “use admin ip whitelist” via ssh. Thanks in advance.

Posts: 3

Participants: 2

Read full topic

Changing the unique key to identify users

0
0

@shahidmir wrote:

Hi

I am planning on migrating users over to discourse.

Which field in the db does discourse use to uniquely identify a user account?
I need to use a common id across multiple apps to link everything up so may need to change the unique key to that value…

regards

Posts: 4

Participants: 2

Read full topic

Imported backups not appearing

0
0

@thetangledweb wrote:

We have a docker based installed, running the latest version ( [v2.0.0.beta5 +141]).

Trying to check our backups, so have a second server also running the same version. Have created a backup on the primary server, but when I upload to the second server, the backup never appears in the list.

Have checked the logs and it has the following error:

Job exception: No such file or directory @ unlink_internal - /var/www/discourse/public/backups/default/forum-2018-04-03-114255-v20180328180317.tar.gz

If I check the backup directory (/var/www/discourse/public/backups/default), there are no files.

In the “tmp” sub directory there is a file:

/var/www/discourse/public/backups/default/tmp/forum-2018-04-03-114255-v20180328180317targz

Very strange as haven’t had any issues before with the backup/restore function

Posts: 5

Participants: 3

Read full topic

Render a custom select-kit component using JS code

0
0

@duranmla wrote:

If we successfully define a select-kit component within a plugin we are easily able to use it within a *.hbs template file using its pluginApiIdentifiers however, in order to attach that component within a widget using JS code I am not able to make it work. For instance:

I have:

import DropdownSelectBoxComponent from 'select-kit/components/dropdown-select-box';

export default DropdownSelectBoxComponent.extend({
  pluginApiIdentifiers: ['header-profile-dropdown'],
  ...
  
  autoHighlight() { ... },

  computeContent() {
    ...
    return items;
  },

  mutateValue(id) { ... }
});

Then I can go to any template I want to overwrite and write like:

(taking as an example the discovery template)

...
<div id="list-area">
        {{header-profile-dropdown}}
...

And the snippet above will work flawlessly, BUT how I will include that component into a widget like:

    api.reopenWidget('user-dropdown', {
        html(attrs, state) {
          if (this.site.mobileView) {
            return h('div.profile-dropdown-container', [
              this.attach('header-notifications', attrs),
              --> I NEED ATTACH THE COMPONENT HERE <--
            ]);
          }

          ...
        }
      });

NOTE: much of the code has been skipped to keep the post brief. Feel free to ask for the full code if needed.

PD: I have already tried to describe this issue at How to attach a component to a widget with just markup? but looks like it was a too complicated explanation so I am trying to reduce the information here to make it clear and try to find an answer.

Posts: 1

Participants: 1

Read full topic

Using Multiple Websites with Nginx + Discourse

0
0

@Zarken wrote:

I’ve managed to set up Nginx to use Discourse as its main site… however i’m having trouble adding addition sites with a prefix, for example addons.domain.com

I’ve followed multiple tutorials online and all of them cause the site to not be reached? (my Discourse site is still reachable) how could i fix this?

Alternatively is there a way i could host a HTML site within the Discourse files? for example domain.com/othersite? when i’ve tried to do this in the past it just links to my discourse site with a page not found error.

Thanks!

Posts: 8

Participants: 3

Read full topic


Unable to delete category if one or more topics are transformed into PM

How to get more posts from posts.json

0
0

@rmens wrote:

Hi guys,

I’m trying to integrate Discourse in another front-end and would like to show the latest posts on the frontpage. Im querying the API with for example https://meta.discourse.org/posts.json but don’t get a consistent amount of posts back.

Is there any way to show the latest n posts. I tried https://meta.discourse.org/posts.json?amount=50 https://meta.discourse.org/posts.json?limit=50 and https://meta.discourse.org/posts.json?posts=50 but none of that is working.

Thanks!

Posts: 2

Participants: 2

Read full topic

Category Background Images and Text Legibility

0
0

@Tyson wrote:

I’m using the standard Dark theme and when I add a background image to a category, all the text elements (topics, etc.) have a transparent background which makes it very hard to read against certain category backgrounds. How can I add a semi-transparent background to these elements to make the text stand out better?

Posts: 1

Participants: 1

Read full topic

Block content output using plugin

0
0

@rornoob wrote:

I need to stop page/topic content output by using plugin. Is it possible? I wrote a plugin to store a cookie after x number of visits. Once that cookie is found, we need to block content output of whatever page/topic that user visits. We just need to figure out how content output can be blocked. Please advice if it’s possible and how. Thanks.

Posts: 1

Participants: 1

Read full topic

Looking for a discourse theme expert

0
0

@OrlandoMajik wrote:

I’m looking to hire a discourse expert to help us initially setup and customize our theme - adding graphics, customizing menu, etc. Thank you

Posts: 2

Participants: 2

Read full topic

Formatting drop down menu for categories in topic creator - setting what is seen and the order

0
0

@McBlu wrote:

The categories and subcategories for the drop-down menu for the category selector in the topic creator are not in logical order (for a member naive to the forum set up) and are cumbersome to search through. You can search of course, but if you aren’t familiar with the options that isn’t very useful. But that isn’t the major concern for our set up. The goal is to pick a subcategory, not category, to assign the topic to. Members are likely to pick the category to post in, which is problematic. We just had that scenario occur.

Is there any way to control what options come up in the category selector (drop-down menu) in the topic creator? Ideally, we’d want to control what options are permitted and (in the dream scenario) the order they appear in.

Here is a video of clicking on the drop-down menu and it ends with the categories and subcategories on the forum home page.

I found this setting and am going to play with the fixed order of appearance of categories and subcategories so at least the order of appearance of categories and subcategories makes more sense. Would still like to exclude categories from the drop-down menu when subcategories are to be selected instead of the categories they belong to:

Here is what I am reordering:

It would be nice to have an option for which categories will appear in the drop-down menu for topic creation. Is this going to take customized code? I think what I am looking for is to exclude categories and only include subcategories in the drop-down menu.

Or . . . is there some other way to go about this that someone else has already figured out? :crossed_fingers:

Posts: 10

Participants: 2

Read full topic

Software Test Metrics and Measures

0
0

@anhduong wrote:

Hello,
I am working on a research paper which is Software Test Metrics and Measures. The professor required to attach some interviews in the RP. May I ask any help/support to answer my interview questions and please allow me use your name and your title at work to my RP?

Here are three questions. You do not have to answer all of them. However, if I have the answers for three of them, it will be great.

  1. Do you think software test metrics and measures are important for successful project performance? Why and why not?

  2. Do you apply the metrics to your work?

If so, What are they? What are the benefits of applying them to your software projects?

If not, how do you measure the quality of the software? Could you give some examples?

  1. What are the main advantages/disadvantages of using software metrics in software development projects?

Thank you very much for your time!

Anh Duong

Posts: 4

Participants: 3

Read full topic


»vagrant up« hangs

0
0

@superslowwindows wrote:

So I do this vagrant up, but nothing happens. Then I simply downloaded the discourse.box by itself and added vagrant add discourse file.box and it unpacks it, thereafter nothing happens anyway. I’ve imported the vmdk into virtual box, and it quits.

It was designed to frustrate people, right?

Posts: 2

Participants: 2

Read full topic

How would I get started with emulating a website's custom CSS

0
0

@therza wrote:

I’m trying to build out my first discourse, and I’m a complete CSS novice, but I’m slowly learning.

In a perfect world, my discourse would have a very similar layout/design to experts.feverbee.com

How would I get started in this endeavor?

Posts: 1

Participants: 1

Read full topic

Child category seems to inherit part of the permissions in the parent category

0
0

@Dax wrote:

Repro steps

  • set a parent category with permission to create/reply/see to a specific trust level (I set it to 2)
  • set a child category with permission to create/reply/see to everyone

Results:

  • Topics created in the parent category will not be visible to users of trust level below 2 (correct)
  • Topics created in the child category will be visible to all in the topic list (correct) but the category name will not be shown on the topic list, if the user is not at level 2 or above (incorrect) and users at the lower level of 2 will not be able to open topic in the child category because the category name will not appear in the dropdown menu (incorrect)

Since there is no inheritance between parent and child, the child category should behave as a separate category, regardless of parent category settings.

User at TL2:

User at TL1:

TL1 user can still reply and see, but cannot create new topics in the child category

I can repro even on try.discourse.org (I created a subcategory of Staff - Everyone can see this category? - with permissions to everyone can see/reply/create and then open this topic This topic is for testing permission - Everyone can see this category? - Demo)

Posts: 3

Participants: 2

Read full topic

Manual Password Reset

0
0

@arwen wrote:

I have several users on the forum that aren’t receiving password reset emails. The trouble is on their mail server, so I can’t really help them there. I’ve tested it with many other users, and they all can receive the emails. Could there be an option to allow the admin to manually change a user’s password if needed as a last resort without going into the database as shown here? I administer the forum, but I don’t have access to the DB as that is the responsibility of the company’s IT department.

Another alternative idea that would be more secure is to have a way to generate password reset links as an admin that could be copied and emailed to a specific user.

Either way would be immensely helpful, especially when you’re dealing with users who have no idea about anything technical to even start to troubleshoot their mail account. Plus, if this ability is only for admins (who should be responsible), there should not be concern about it being abused.

If there is a current fix for this, I’d love to know about it!

Posts: 2

Participants: 2

Read full topic

Hardware requirements for each container?

0
0

@paddy wrote:

So I’ve looked at the official hardware recommendations, and they give (wonderful! Super useful!) hardware recommendations for (what appears to be) all of the containers running on a single host. However, I’d like to have AWS/GCP/etc. host the database using a hosted offering, and would like Redis on a separate instance as well, to try and keep the state isolated from the stateless web server. That way I can autoscale it and take advantage of hosted offerings whenever possible.

My question is: is there any guidance on a per-container basis for hardware suggestions? (Assuming there are more containers involved here than I’m anticipating, I’m mostly asking about the hardware requirements for web/postgres/redis individually.) I’m assuming a good chunk of the 1GB of memory is for Postgres and Redis, and I could get away with serving the webserver on 512MB of RAM for a smaller community, but I wanted to check and see if the Rails app had a baseline I wasn’t considering.

Posts: 3

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images