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

Onebox'ing failing with 418

$
0
0

@ravor-org wrote:

Hello,

I’ve an issue where oneboxing is not working. I always get 418 on onebox-requests. Whats wrong here?

Log-Output

Started GET "/onebox?url=https%3A%2F%2Fjamielinux.com%2Fdocs%2Fopenssl-certificate-authority%2Fintroduction.html&refresh=true" for 194.115.52.3 at 2018-01-22 07:45:09 +0000
Processing by OneboxController#show as HTML
  Parameters: {"url"=>"https://jamielinux.com/docs/openssl-certificate-authority/introduction.html", "refresh"=>"true"}
  Rendering text template
  Rendered text template (0.0ms)
Completed 418  in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)

BR,
RaVoR

Posts: 5

Participants: 4

Read full topic


Bug with [code]anything[/code] on a single line by itself

$
0
0

@Bertrand_Bellenot wrote:

Hi,

Our forum has a lot of [code][/code] in its topics, imported from our old phpbb3 forum. One of our user reported a couple of bugs with [code][/code]. For example, this:

A single line of code without newline looks as a grey thick line:
[code]TString option = GetOption();[/code]

Gives:
A single line of code without newline looks as a grey thick line:

And in this other example, the -- ----------------------------------------------------------- line gives another issue:

[code]hatiden@ubuntu:~$ gedit ~/.bashrc
hatiden@ubuntu:~$ cd /home/hatiden/garfield/


hatiden@ubuntu:~/garfield$ ls
[/code]

Cheers, Bertrand.

Posts: 16

Participants: 3

Read full topic

Discobot && a previously broken sidekiq == many spam

$
0
0

@Bas wrote:

Hi,

We had a broken Sidekiq for a while; after it was fixed, Discobot started sending out many many messages. Here’s an example, sent to one single user:

I think you might have a if (message.notSent()) then {message.send()} loop somewhere :slight_smile:

Posts: 3

Participants: 2

Read full topic

Trust level 4 users cannot set topic timers anymore

$
0
0

@rizka wrote:

When we upgraded to 1.9 the trust level 4 users seem to have lost their ability to set timers for topics. So they cannot auto-close topics or close them temporarily. They can close them in a regular manner, though.

image

This must be a bug or a regression. It cannot be intentional, right?

(We are on 1.9.1)

Posts: 2

Participants: 2

Read full topic

Set post custom field when composing

$
0
0

@sicher wrote:

I am working on a plugin that should allow users to create specially flagged posts when pressing a button in the topic view. The post flag is just a boolean value. This is for interaction with an external tool. Currently, I have solved the following:

  1. I have added a custom action that opens the composer when the user presses the new button. Currently, the action is added by:
  api.modifyClass('controller:topic', {
    actions: {
      postFlagged(post) {
        ...
  1. I have added a custom field to the Post class and added it to the serializer. The field shows up in the serialized json as expected:
Post.register_custom_field_type('my_flag', :boolean)

add_to_serializer(:post, :my_flag, false) do
    object.custom_fields['my_flag']
end
  1. I can add a method to the composer and have the value stored for the flag show up via handlebars template:
  api.modifyClass('model:composer', {
    flag: function() {
      return this.get('post.my_flag');
    }.property('post.my_flag'),
  });

Now, my problem is that I have no idea how to set my custom field flag in the composer. How do I do that?

Posts: 4

Participants: 3

Read full topic

Emoji on macOS has an extra character compared to iOS ⛳️⛳

$
0
0

@gingerbeardman wrote:

I typed the golf flag in the subject line using macOS Cmd+Ctrl+Space shortcut to bring up the character picker.

14

Notice how the emoji has an extra unicode character square after it?

If I type the same subject line on iOS there is no extra character after the golf flag.

Thoughts?

Posts: 5

Participants: 4

Read full topic

Mail summaries: color: #006699;;

$
0
0

@Djfe wrote:

Hi I found a small bug in your summary e-mails:
the inline css color value sometimes ends with two semicolons instead of one
Popular Topics: color: #FFFFFF;;
New Posts: color: #006699;;
There are more headlines in each mail, but that’s probably easier for you to figure out.

#006699;; could even be removed completely, since this color is never used for those headlines anyhow.
(overwritten by another css rule in every case, I think)

Regards,
Djfe

Posts: 2

Participants: 2

Read full topic

Nested [details] causing 500 Internal Server Error

$
0
0

@Lilly_S wrote:

Hi team,

A user of our forum reached out to us about being unable to edit their post. I’ve successfully reproduced the issue they’re having, here are the details:

They created a topic and are now unable to edit it. The topic creation went fine, but editing it causes a 500 internal server error.

I have narrowed it down to these nested [details]:

[details="Procedures & Protocols"]

In our Procedures & Protocols, many of our standard procedures and basic protocols are explained. These regard to all our ranks, some more to the Low Ranks, others more to Medium and High Ranks.

[details="Ranks"]
In NS, we have a wide variety of ranks. Whenever you join the group, you'll automatically be a 'Customer' (_C_); someone who has the rights to see the group wall and group shout. Customers may also ride our trains and use our facilities once they purchase an OV-Chipkaart.
The following rank 'Suspended' (_S_) is a rank for punished people, people can't be suspended permanently but every suspended employee will get a term determined on the things that they did. If you are suspended, you must remain in the group at that rank until your suspension has ended. Leaving the group and rejoining to get around your suspension will result in further consequences.

**LR**

Our Low Rank (_LR_) department consists of:
* Train Driver (_TD_): Drives trains. Simple.
* Conductor (_CD_): Trains can be dispatched by on-board conductors. The conductor checks tickets and closes the doors at every stop. You are only allowed to be someone's conductor if the driver agrees. Please see the **Conductor’s Guide*** section for more details. This rank is obtained by attending and passing a training. You must be a current Train Driver to attend this training.
* Customer Service Representative (_CSR_): The CSRs are the ones who take care of our customers' questions and who represent the group in a good way. We'll have customer service stands at the big stations. Our CSRs form our Customer Service. This rank is obtained by attending and passing a training. You must be a current Conductor to attend this training.

Both conductors and Customer Service Representative get Railpockets, a tool used to check our customers’ tickets.

**MR**

Then there's our Medium Rank (_MR_) department:
* Representative (_R_): Similar to the CSR rank, but a Representative most likely represents the group way more than helping our customers with their daily problems.
* Staff Coordinator (_SC_): Coordinates our low ranks and helps the Management Team if needed.
* Operations Coordinator (_OC_): Assists with the operations of our line and all the things happening on it. They will also help the management team if needed.

All medium rank employees possess the mod admin commands pack. Please see the **Medium Ranking System** section for details on becoming a MR.

**HR**

And last but not least we have our High Rank (_HR_) department.
Each rank also has a different area of expertise included with the name of the rank. This indicates whether it is under the management of our Directors of NS Reizigers or Directors of Operations.

_Managers_

The following ranks are our “Managers”. They work for one of the two departments (Operations or NS Reizigers). They are tasked with a couple of smaller things relating to the entire department:
* Manager of Events (Operations): Organises and hosts NS events. You schedule the events, come up with great ideas for games (please on time), matches and other great things. It’s your job to work the events out after they were approved by the MT. Planning events can be done with the help of your Director of Operations or other MoEs.
* Manager of Marketing (Operations): Comes up with great marketing strategies, such as ads and discounts. Marketing doesn’t just mean money; you can also suggest things which will have our customers like our game even better.
* Manager of Security (Operations): Manages the Security Team. Suggests ways of taking care of conflicts on stations and in trains.
* Manager of Conductors (Operations): Supervises the conductors on and off-board trains. Establishes teamwork between conductors and train drivers (and other ranks). Also hosts conductor trainings.
* Manager of Customer Relations (Operations): Manages the Customer Service sector. This means you supervise Customer Service Representatives. Thanks to your team, our customers’ questions will be answered as good as possible! These managers can host Customer Service Representative trainings.
* Manager of Rail Management (NS Reizigers): Manages the Rail Management sector. Line Controllers will be your area when the Line Control System is done. Line Controller will be an invite-only rank and will have a system in which you can manually change light signals. You SUPERVISE these operations; your Line Controllers will take care of that just-explained job.
* Manager of Rolling Stock (NS Reizigers): Manages rolling stock, and like all other manager ranks comes up with great ideas for our rolling stock. Also manages train drivers and conductors at work (on trains).
* Manager of Stations (NS Reizigers): Manages stuff relevant to our stations, when we released content for the new Low Rank “Janitor” this manager will take care of them. You can also come up with ideas on how to improve our stations.

_Directors_

And last but not least, we have the managers of the managers: our “Directors”!
* The Directors of Operations take care of all staff and operations related business. They supervise the Managers of Customer Relations (Customer Service), Managers of Conductors, Managers of Security, Managers of Marketing (and the Managers of Events).
* The Directors of NS Reizigers supervise the NS Reizigers branch. This branch contains everything that’s relevant to our customers having a nice train ride on our nice line. Manager ranks that belong to this branch are the: Manager of Stations, Managers of Rail Management and Manager of Rolling Stock.

Directors supervise the managers working for them, but they also are allowed to help their managers by hosting trainings and doing other helpful stuff.

All high rank employees possess the admin commands pack.
There's a quota set up for the amount of trainings. For more info about trainings please read the “Trainings” section below.

**Miscellaneous ranks**

* Alt. Accounts: Happywalker's alternative accounts.
* Co-Founder: MrTropics, helped Happywalker setting up the group.
* President-Director: Leader of the group, Happywalker.
[/details]

[details="Trainings"]
There are 2 different types of trainings:
* Conductor Training (_CD_)
* Customer Service Training (_CSR_)
All HRs are allowed to host both types of trainings, but we prefer to have our MoC host CD Trainings and our MoCR CSR Trainings.
For more specific info and the questions for these types of trainings, please consult the “Training Protocols”, a document which can be requested at any Director or the President-Director. This document is only available to HRs.

**Training Order**

Every trainings' order must be Demo-Theory-Practical.
In the demo section, you have to let your attendees see what the rank does and how the systems work, for example a conductor training: let the attendees see how the door system works.
A training's host is in control of the training. Other HRs and MRs attending may help, but only if the host agrees. Trainings may be hosted in Dutch, but please announce this clearly in your shout and at the beginning of your training. People are also allowed to ask for private training sessions, but it's up to the host to do it or not.

**Using the Group Shout**

For the trainings' shouts, we use a little template which is handy to use and easy for our employees to understand:
"[TRAINING] Conductor training on 4 July at 8 PM CEST at the main line."
The template explained:
"[THING] 'TYPE OF TRAINING' training on 'DAY+TIME(+TIMEZONE)' at 'PLACE'."
If there are two trainings approaching, just combine them into one shout containing a template like above. Whenever you're going to host a training, please shout it in the group shout some hours or days in advance. Shouting it 15 minutes before the actual training starts is not allowed and is just too late.

**Quota for the Trainings**

Every manager is expected to host at least two trainings every two weeks. Directors are expected to only host one training every two weeks, more is of course allowed.
If you have a good reason to not meet these requirements (temporarily or permanently), please contact Happywalker and inform him with a clear reason.
If you didn't meet the quota, and there's no reason or your reason is a sophism, brace yourself to be demoted.

ALL (normal and private) trainings should be logged in the “Training Log” Spreadsheets . If you aren't provided with the these spreadsheets and are permitted to have it, request it at any director.
[/details]

[details="Products"]
_GamePasses_

OV-Chipkaart:
Your ticket to get through the gates at each station.
After buying your OV-Chipkaart, it gives you the option to add your character’s data. About the data:
Please DO NOT provide the game with your personal credentials. Roblox does not allow us to have these details. Whenever you buy the OV-chipkaart and join the game, a GUI will show up asking for your character's date of birth and gender; "your character's" means not your personal date of birth and gender. If you don't want to make up this stuff, you can always close the GUI or click cancel (so the GUI will never show up anymore).

Teleport Pass:
This allows you to Teleport to all stations using the Map GUI.
Click on a Station name in the Map GUI and you'll teleport there! You must purchase this pass regardless of your rank - it does not come with any ranks!

Train Tester:
YOU MUST BE A TRAIN DRIVER OR HIGHER TO USE THIS GAMEPASS!
Allows you to spawn (and test) the newest trains which aren’t public yet.

Train Painter:
Includes a painting tool to paint our trains.
Please paint using NICE colors, don’t use lots of phosphorescent colors. We don't want ugly trains at our line. Whenever a train was spotted disobeying these rules, the owner will be warned. Don't paint trains which aren't yours.

Mod Commands:
All players who have purchased this GamePass as well as ALL Medium Rank employees should read the **Mod Policies** section, which includes our rules of the admin program.

This GamePass gives you all Mod commands. You are expected to have knowledge of the rules which can be found in **Mod Policies**: If you abuse your admin rights, brace yourself to lose it. When you buy it, it may not work yet: if so, wait for a new server.

_Developer Products_

Train Driver Uniform 12h:
Rents the Train Driver Uniform for the following 12 hours.

Conductor+ Uniform 12h:
Rents the Conductor+ Uniform for the following 12 hours.

Day Ticket:
Gets you a ticket which is valid for the following 24 hours (automatically gives you second class, you can upgrade it to first class).

Day Ticket First Class:
Gets you a first class ticket which is valid for the following 24 hours.

First Class:
A product for the OV-chipkaart and the day tickets which gives you the privileges to ride in the first class areas of the trains (the red seats).
Changelog

For the most recent changelog (if available), please check the line's description or consult the Trello development board. New ideas and other stuff about currently ongoing updates are all saved in a Trello board. This board is now open to all, to find it, please contact a HR.
[/details]

[details="Group Wall"]
Here are some cases when HRs are allowed to delete posts on the group wall:
* If the post can be considered as spam or annoying
* If it's a desperate message from someone who's about to leave the group
* It's a hashtagger
[/details]

[details="Suspension System"]
Only HRs can access the “Malicious Spreadsheets”, if you aren't provided with it yet, request it at any director.
Look in there for a template to use for a new suspension you want to add, if you can provide the suspension with some proof (preferably links to screenshots) please add it.

Example Suspensions:
* Admin Abuse (as quoted in the **Mod Policies** section): 3 days
* Intentionally derailing trains: 1 day
* Swearing heavily: 2 days
* Being too rude: 2 days
* Failure to abide by the Train Driver’s Guide: 1 day
* Not following a HRs orders/instructions: 2 days
* Continuing to paint unrealistically after being told not to: 2 days
* Spamming in-game: You will be muted first. If you continue, then you will be suspended for 1 day.
* Spamming on-site (for example applications):  1 day

When to extend a suspension:
* Begging to get unsuspended: +1 day
* Continuing to break rules: +1 day

A suspension can get up to seven days. Please remember to warn first, and don't suspend someone if the case isn't bad enough.
[/details]

[details="Conductor System"]
Handy stuff for our conductors.
See the **Conductor’s Guide** section for more details.
[/details]

[details="DriverGUI"]
To learn how our DriverGUI works, see the **Train Driver's Guide** section for more details.
[/details]

[details="Disclaimer"]
NS Roblox is not affiliated with the real 'Nederlandse Spoorwegen N.V.' in any way, except that we are allowed to use their name and awesome logo for our group.
[/details]
[/details]

Assistance would be appreciated, as I cannot seem to replicate this with nested [details] alone. Something inside must be problematic.

Posts: 5

Participants: 3

Read full topic


Advanced search limited to categories you can reply in

$
0
0

@Hkep wrote:

Categorized option doesn’t show the options correctly.

As you can see (hopefully), the “Categorized” search option in the Advanced Search is limited to only what you are allowed to post in. I think you’re supposed to be able to search within what categories you can look in.

Posts: 2

Participants: 2

Read full topic

Vagrant environment randomly hangs VirtualBox VM

$
0
0

@codechef wrote:

I like the Vagrant dev setup because of it’s simplicity and isolation. However, I’ve found it to be unreliable and am curious if anyone else is running into this?

Symptom
Within a couple minutes of starting rails and sidekiq one of my host CPUs pegs out at 100% and my vagrant ssh consoles not longer respond. Also, I cannot establish another vagrant ssh session with the discourse VM.

Resolution
The only solution I’ve found thus far is to vagrant halt the discourse machine. I then vagrant up and start rails and sidekiq again, crossing my fingers that the halt didn’t corrupt anything and that I don’t get locked up again.

I have run into this issue on multiple host machines (Unbuntu 16.04) and multiple versions of Vagrant and VirtualBox. It seems to happen regularly, but not everytime.

Repro steps:

  1. Setup new Vagrant Discourse installation per instructions
  2. Open mailcatcher, discourse, and sidekiq in host browser
  3. Log into discourse

By this point, if it’s going to lock up, the VM is already locked up. One of my host CPUs is at 100%. I can leave it like this overnight and it never recovers. The only way out is to halt and restart the machine.

I’m not even sure where to start troubleshoot this. Please share your suggestions.

Posts: 1

Participants: 1

Read full topic

Opacity of main-outlet

$
0
0

@Jake_Green wrote:

Hi I’ve been trying to change to opacity and colour of the main-outlet using this code:

#main-outlet {
background-color: rgb(60,60,60):opacity:0.6;
padding-left: 10px;
padding-right: 10px;
}

but it fails to work as it sets the opacity of EVERYTHING inside the main-outlet and not just the background. Thanks.

Posts: 2

Participants: 2

Read full topic

Latest Topic Bug (Hopscotch Forum)

Change the username colour for USERS

$
0
0

@Jake_Green wrote:

Hi, there are lot’s of threads about changing the colour of a username based on group but how can this be done for all standard users?

Thanks.

Posts: 3

Participants: 2

Read full topic

"After Header" Content Showing on Every Page

$
0
0

@fazzio349 wrote:

Hello, after adding a welcome paragraph into the “After Header” section under Customize, I noticed this content displays on every single category and topic page. Even after removing the CSS file and going back to what came with the initial set up before we started designing, it still shows up on every page so I don’t think it has anything to do with my existing CSS or HTML. It seems like it’s the default setting. Is there a way to hide this so it only shows up on the main page? Would be nice if it’s an existing setting somewhere (like unpinning the main header), but I’m guessing it’s a little more complicated than that and will require some CSS work? Does anyone have a tutorial on how I might get this to hide everywhere else but the main page?

Posts: 1

Participants: 1

Read full topic

Best way for staff to send notifications about posts

$
0
0

@jmsachs wrote:

I’m an admin on an internal Discourse site, and I have an important post I want to notify all users about.

Is there any way to get Discourse to send a notification email to all users, or a group of users? The “Invite” button only lets you send a notification to one person at a time.

Posts: 6

Participants: 3

Read full topic


How best to display badges on my forum & website

$
0
0

@Ryan_Collins1 wrote:

I really like the idea of Discourse badges, but how can I display what badges my users are earning so the rest of the community will get inspired?

It seems that currently I have to click on the users name in order to view their badges.

Can I create a page somewhere that lists the top users in my forum? Would it be possible to have the badges/titles my users have earned displayed next to their name when they post?

I just want to make the badges my users are earning as visible as possible throughout my forum and website. A tutorial video for how best to do this would be terrific (if it exists anywhere) but in the meantime any words of wisdom or guidance is much appreciated. :grinning:

Posts: 3

Participants: 2

Read full topic

Moving to a smaller DO droplet and to tests-passed

$
0
0

@Silvanus wrote:

I noticed that our forum which is currently “in production”, i.e. publicly available and in the use of its intended audience, seems to be in the beta development fork. Or actually I’m not sure, if it is. Its version is: v1.9.0.beta17 +95 Maybe that means it is already in tests-passed and not the main? If this is so, then this post is quite possibly unnecessary…

My question was: how to move from old 1GB Digital Ocean droplet into new 1GB DO Droplet and at the same time move to tests-passed… (Edit: I think there was some checks that the version number of the backup matches…)

My new question is: how do I check that I’m in the proper fork that I should be in? (Also: which should I be in?)

Edit: maybe the branch I should deploy for production is stable instead of tests-passed?

Posts: 4

Participants: 2

Read full topic

Easier logo changes for site admins

$
0
0

@jomaxro wrote:

After the initial site setup wizard it’s not immediately obvious how to change the logo of your site. Historically this was accomplished by uploading the logo to the “Assets for the site design”, copying the URL, and pasting it into site settings. Now we tell admins to simply re-run the wizard, but nothing on the admin’s site itself indicates that this is possible.

We should make this easier!

Step 1 - we should include a link to the wizard in the description of the logo URL site setting, with an explanation that it is safe to re-run the wizard.

Step 2 - it’d be nice if we could extend the wizard such that an “upload logo” button could exist in site settings without requiring the admin to re-run the entire wizard. This would also make it simpler to update logos other than couple of logos included in the wizard.

Posts: 5

Participants: 4

Read full topic

Patreon login button ugly/unreadable in dark mode

CDN and multisite

$
0
0

@pfaffman wrote:

It seems that all multisite hosts share the same DISCOURSE_CDN_URL. Is there some magic that happens to let them all share the same zone?

Posts: 3

Participants: 2

Read full topic

Viewing all 60613 articles
Browse latest View live


Latest Images