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

What does 'revoke email' action mean in Logs?

0
0

@yvonnebrill wrote:

In my Logs > Staff Actions tab I can see that System has taken the action 'Revoke Email' for a number of users, the Details are either "translation missing: en.user.email.revoked" or "Wont be sending emails to [user email address] until [date/time].

What does this mean and what is the trigger for these actions?

Posts: 4

Participants: 2

Read full topic


Bump Reset plugin - Annotated to help new devs

0
0

@LeoDavidson wrote:

This plugin may be interesting to both Discourse admins and people learning how to write Discourse plugins. I've given each audience separate sections below.

For Discourse admins:

This plugin gives staff members a button to quickly reset a thread's bump time to the original time of any post within the thread. The button is added to the admin menu (spanner icon) for each post:

This is useful if you make minor edits to the last post and don't want the thread bumped or if the wrong person/post are currently marked as the latest in the thread due to a delete or un-delete of a later post.

The plugin doesn't really let you do anything you could not do already (other than repairing the last post/poster if they go wrong), it just lets you do things more conveniently. The ability to change the timestamp of a thread is built in to Discourse, but the UI for doing so is modal and requires you to separately select the date and time. You can only see the detailed date and time of a post in another modal UI, and cannot copy and paste between the two UIs as they use different formats.

Each use of the Reset Bump To Here button will be logged in the Discourse staff actions log, including the topic and post IDs and URL, and old and new timestamps:

This can help detect abuse of the functionality (e.g. to hide new posts from other admins, rather than the intended use of avoiding bumps when making formatting-only fixes to old threads, or undoing a user's gratuitous bump without deleting their message entirely).

Installation:

The plugin is on github as usual: https://github.com/LeoDavidson/discourse-reset-bump

Follow the Install a Plugin howto, using git clone https://github.com/leodavidson/discourse-reset-bump.git as the plugin command.

Once you've installed it, it will be enabled by default and can be disabled under the site's admin / plugin settings area, via the reset_bump_enabled checkbox.

For new plugin developers:

  • The source code is simple, since what the plugin does is simple.
  • The code is extensively commented. Comments far outweigh code.
  • All logic is in just 2 files (1 client side, 1 server side).
  • I unpacked inline functions into normal top-level functions so you can more easily see the structure of things, and only have to deal with one concept at a time.

This is the first Discourse plugin I've written, the first Ruby (let alone Ruby on Rails), and the first time I've used Javascript as more than a stand-in for simple VBScript. I've got years of C++ and C# experience but found this a steep learning curve (but quite nice in the end). My aim was to properly understand what I was doing and to document the hows and whys to help the next person.

I'm still fuzzy on some concepts but I hope I got the important details right. Corrections to code or comments greatly appreciated.

In terms of what the plugin does:

  • Standard enable/disable setting.
  • Client side uses the newer withPluginApi initialization method.
  • Adds a button to the post admin menu (pictured above) below each post.
  • (Also has commented-out code showing how to add to the main post buttons, outside the menu.)
  • Client side checks for staff privileges (so the UI isn't shown to people who can't use it).
  • Button click triggers AJAX request to the server side.
  • Server side checks for staff privileges (can't rely on client for that; it can be bypassed).
  • Server side takes the post ID from the client and looks up the topic details (or returns an error for the client to display).
  • Server side updates the database records of the topic accordingly, and returns success if it worked.
  • Server side logs the action to the staff action log. (Working out the right place for the i18n translated action string was tricky here.)

All easy once you know how, but as a newbie it took me days of unravelling source code, (outdated) forum threads, multiple unfamiliar languages and frameworks, which was quite overwhelming.

I also recommend looking at other plugins to see how you can write things in a "nicer" (or at least more compact!) way once you understand what's going on. This one's code is meant to be easy to understand and not necessarily the "best" way to do things.

I hope it helps you!

Posts: 1

Participants: 1

Read full topic

When to unlist, make private message, close, and delete

0
0

@bradydowling wrote:

Sometimes it's tough to tell what action to take when you don't want/need your whole community seeing a certain post. Anyone have general rules of thumb for when you perform each action within your community?

Posts: 5

Participants: 3

Read full topic

[PAID] WordPress theme + Discourse combo for a site relaunch

0
0

@downey wrote:

What would you like done?

The Digital Impact Alliance at the United Nations Foundation is looking for someone to re-theme one of their WordPress web sites at http://digitalprinciples.org/ as well as deploy a matching complementary, customized Discourse instance that will replace the currently-used Google Groups list, potentially importing content and/or users from that group. Additional details of work to be done can be found in the RFP for this project.

When do you need it done?

An RFP has been posted on 7 February 2017, and proposals are due 24 February. Work should be completed by early May. See the RFP for details.

What is your budget, in $ USD that you can offer for this task?

$30,000 has been allocated for the scope of work, as described in the RFP.

NOTE: Please see the end of the RFP to contact the project team directly with questions about any proposals which you may wish to submit, rather than asking here, if possible. (I will only be able to help in a limited manner!)

Posts: 1

Participants: 1

Read full topic

Turkish Translation needs some love

0
0

@cpradio wrote:

I'm reaching out on behalf of someone else who doesn't have access to Meta anymore. I don't recall the username, but on Sitepoint he goes by @ogsocials (his username on Meta was @o.g).

In short, he is having issues with the Turkish translation and customizing site text. After digging into it tonight, the issue is quite clear, the Turkish Translations needs some love and other languages may be in the same situation.

First let's look at the request I received:
"The reply button is in english and I'd like to customize it to Turkish"

Seems simple enough, Customize Site Text should be sufficient, right? Well, not so fast.

It ends up the Turkish translation does not have the appropriate keys for the Reply button.

As you can see, it has reply with sub-keys title and help.

The English version is very different:

There is another layer of keys that does not exist in the Turkish language and as such, and I've confirmed on my sandbox, when in Turkish, you cannot customize these keys. They show up in a search, but the customization does not take. I imagine this is because the Turkish file itself does not have the appropriate structure so it continues to fallback to English, but I'm guessing here (as I'm not 100% well versed in translations).

All I can say is I did the following to verify it is impossible to translate the post or topic reply buttons.

  1. Set your default locale to Turkish
  2. Go to Customize > Site Text
  3. Search for 'Reply'
  4. Click on js.topic.reply.post.title
  5. Customize the Text and Save it
  6. Navigate to topic, refresh the page, text has not updated

I have a feeling that Transfix needs to be updated first for this issue to resolve itself and permit users in the Turkish language to customize their site text, but again, I could be wrong here. Can anyone a bit more versed in Translations give this a quick lookover and verify what I've uncovered?

Posts: 14

Participants: 4

Read full topic

Full text/image in quotes

0
0

@Wil wrote:

Hello

Is there an option to quote a full post with full text, image and formatting?
Currently I'm only getting 5 lines all compressed and it could look better.

Thanks

Posts: 2

Participants: 2

Read full topic

Change/Update language translation

0
0

@quocbao wrote:

Hi everyone,

I'm using Discourse v1.8.0.beta4 +85 (latest version). Main language is Vietnamese.

My problem is I need to change/update Vietnamese translation, because:

  • Some translation isn't correct.
  • Missing translation because of new plugins installation or new features.

I know that all translations stored at discourse/config/locales/*.yml have to be updated from transifex. And I don't have time to wait until they complete the translations. Even if I do translations by myseft, who know when it is approved and merged to the main source code.

I've tried by replacing the file client.vi.yml with my own translation, but it doesn't work.

Many thanks.

Posts: 6

Participants: 3

Read full topic

Can I update multiple parent categories/subcategories at once?

0
0

@Mie_Goreng wrote:

I have created ~25 categories for my board and I was initially going to put most of them as a sub category but i don't like how it looks... is there a way i can edit out all my subcategories really quickly instead of doing it manually over and over again?

Posts: 1

Participants: 1

Read full topic


What does "Failed to warm up pretty text: Terminated during callback" actually mean?

0
0

@JagWaugh wrote:

I get these, on both my test machine (2GB) and on our live site (8GB). On the test machine the RAM is usually between 50 and 80%, but it isn't swapping. I'm the only user even looking at it, and there are no mails going in or out (disabled), and no new posts being added. It seems to give this error regardless of if I am doing something like a backup or a restore or changing post ownership in the CLI, or the machine is just idling.

Ubuntu 16.04, on AWS, straightforward install per the cloud instructions, happens regardless of if I've got plugins loaded or not.

Posts: 1

Participants: 1

Read full topic

Visual diagraming to add visual dimension to Conversations?

0
0

@diogocsc wrote:

I've been finding that many people these days prefer visual communication, and I was just about starting to go and write another text-based topic when it suddenly popped...

How great would it be if I could represent what I'm trying to say through a flowchart ?
(In particular, I'm trying to go and recommend specific software according to context, while wanting to have a discussion around it, to be able to address more contexts).

For flowcharts I found http://flowchart.js.org/ and there are probably more out there...
What do you think about this library? Any other that you consider better for this? Would you find value on having it integrated in discourse?

What kind of visual representations could be used to improve conversations?
Have you ever thought of this or think that something like this could bring value for you or someone you know?

Posts: 1

Participants: 1

Read full topic

Scrolling of users page in mobile view doesen't trigger loadMore action

0
0

@youwiki wrote:

Hello dear friends!
First of all I want to say a huge thanks to the developers for such great engine!

I just visited the https://meta.discourse.org/users page in a mobile version and see that the user list is not loaded when scrolling to page bottom..

Maybe should to wrap templates code at file \app\assets\javascripts\discourse\templates\mobile\users.hbs with:

{{#d-section pageClass="users"}}
  {{#load-more selector=".directory .user" action="loadMore"}}

how You think?

Posts: 2

Participants: 2

Read full topic

Documents on emails settings?

0
0

@Scott_Grigor wrote:

When the digest email is sent, it is sent to inactive users. What are the parameters to determine a inactive user?

Are there are docs on the email setting definitions?

Posts: 10

Participants: 5

Read full topic

Setting up discourse on my own

0
0

@Thomas_Ralph1 wrote:

Hi on Saturday I will be setting up discourse on my own through OceanDrop. I need some advice on setting it up. Also how do I create a mail server.
(I have looked through the tutorials and still have no clue)

Thanks Thomas

Posts: 9

Participants: 3

Read full topic

Data Explorer menu item dissapeared

0
0

@HAWK wrote:

I'm curious about something.

The Data Explorer plugin menu item has disappeared from the AdminCP in a Discourse instance that I have hosted with discoursehosting.com

I asked to have it reinstated and they told me that it was removed on purpose so that people that don't know what they are doing don't use it. Apparently it's by design and was done "by the designers of the software".

I still have it in my instance that is hosted with Discourse. Can anyone shed any light? I can still access it via the direct link, but it's less convenient and seems like a fairly weak argument.

Posts: 5

Participants: 3

Read full topic

Install Discourse from Zip

0
0

@nishai wrote:

I have installed Discourse with Docker in AWS and now I have the need to install it in an area that doesn't have access to the internet. Is there a way to install Discourse and docker through the zip files? I do have access to a local repo, postgres,and mail server.

Posts: 1

Participants: 1

Read full topic


At what point can you no longer like or unlike a post?

0
0

@cappslock wrote:

Searched and couldn't find this in the forums. I've noticed that for older posts, you seemingly can't like them (or unlike them if you've previously liked them). Is this setting configurable? Similarly, I've noticed you can't like your own posts. Is there a setting for that?

Posts: 5

Participants: 3

Read full topic

I can't use a 3 character title

If the forum wants to accumulate good posts, shouldn't we have some stimulation/motivation system?

0
0

@xiasummer wrote:

I was thinking what exactly the community spirit is, and suddenly it comes to my mind that shouldn't it be very natural that we should have a stimulation / motivation method if we want to collect good thinking?

I know there are already user level system and badge system. But it's easy to know that both are very poor at stimulating people. The user level system only have a few levels. The badge system is better, but there are many when first using the forum, when you use it long, the new badges are not so many. And it can not stimulate people keep working hard in the forum.

I think we can have a scoring system —— maybe just the praise number system is enough.
We can just show the praise number of an account and let people compete the praise numbers.
I think in this way, people will think hard and devote good posts.

Posts: 3

Participants: 3

Read full topic

Post cook for images?

0
0

@fearlessfrog wrote:

I have a very simple plugin (server-side) I was playing around with.

For this part of the call:

on(:post_created) do |post, params|

I use the post.raw to put some content in:

post.raw = "@#{post.user.username} says hello!\n\n"
post.save

..and it works great. Cool.

My question is how to embed an image, as in the same result as when the post cooks in the preview editor?

If I change it to something like this:

post.raw = "https://discourse-meta.s3-us-west-1.amazonaws.com/optimized/3X/9/d/9d543e92b15b06924249654667a81441a55867eb_1_690x184.png\n\n"
post.save

..then the post shows the plain image address text and not the preview image. If I open edit on the post manually in the UI it works ok (shows the image preview), just not on my post save.

Looking through the code, am I meant to call 'post.cook' after the save to trigger this?

Thanks for any help or pointers to examples.

Posts: 2

Participants: 1

Read full topic

Use keyboard shortcuts, regardless of the keyboard layout

0
0

@youwiki wrote:

Good afternoon!

To use keyboard shortcuts to the user with different from the Latin keyboard layout, must switch it first. It is not too convenient.

Maybe it makes sense to add bindings to the file app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 for the keys that relevant to Latin keys?

Here is implementation for users with a Cyrillic keyboard:

'№':               {handler: 'goToPost', anonymous: true},
'\\':              {handler: 'toggleSearch', anonymous: true},
'+':               {handler: 'toggleHamburgerMenu', anonymous: true},
',':               {handler: 'showHelpModal', anonymous: true},
'ю':               {click: '.alert.alert-info.clickable', anonymous: true}, // show incoming/updated topics
'и':               {handler: 'toggleBookmark'},
'с':               {handler: 'createTopic'},
'ctrl+а':          {handler: 'showPageSearch', anonymous: true},
'command+а':       {handler: 'showPageSearch', anonymous: true},
'ctrl+з':          {handler: 'printTopic', anonymous: true},
'command+з':       {handler: 'printTopic', anonymous: true},
'в':               {postAction: 'deletePost'},
'у':               {postAction: 'editPost'},
'end':             {handler: 'goToLastPost', anonymous: true},
'command+down':    {handler: 'goToLastPost', anonymous: true},
'а':               {handler: 'toggleBookmarkTopic'},
'п р':             {path: '/', anonymous: true},
'п д':             {path: '/latest', anonymous: true},
'п т':             {path: '/new'},
'п г':             {path: '/unread'},
'п с':             {path: '/categories', anonymous: true},
'п е':             {path: '/top', anonymous: true},
'п и':             {path: '/bookmarks'},
'п з':             {path: '/my/activity'},
'п ь':             {path: '/my/messages'},
'home':            {handler: 'goToFirstPost', anonymous: true},
'command+up':      {handler: 'goToFirstPost', anonymous: true},
'о':               {handler: 'selectDown', anonymous: true},
'л':               {handler: 'selectUp', anonymous: true},
'д':               {click: '.topic-post.selected button.toggle-like'},
'ь ь':             {handler: 'setTrackingToMuted'}, // mark topic as muted
'ь к':             {handler: 'setTrackingToRegular'}, // mark topic as regular
'ь е':             {handler: 'setTrackingToTracking'}, // mark topic as tracking
'ь ц':             {handler: 'setTrackingToWatching'}, // mark topic as watching
'щ':         		 {click: '.topic-list tr.selected a.title', anonymous: true}, // open selected topic
'з':               {handler: 'showCurrentUser'},
'й':               {handler: 'quoteReply'},
'к':               {postAction: 'replyToPost'},
'ы':               {click: '.topic-post.selected a.post-date', anonymous: true}, // share post
'shift+о':         {handler: 'nextSection', anonymous: true},
'shift+л':         {handler: 'prevSection', anonymous: true},
'shift+з':         {handler: 'pinUnpinTopic'},
'shift+к':         {handler: 'replyToTopic'},
'shift+ы':         {click: '#topic-footer-buttons button.share', anonymous: true}, // share topic
'shift+я shift+я': {handler: 'logout'},
'е':               {postAction: 'replyAsNewTopic'},
'г':               {handler: 'goBack', anonymous: true},
'ч к':             {click: '#dismiss-new,#dismiss-new-top,#dismiss-posts,#dismiss-posts-top'}, // dismiss new/posts
'ч е':             {click: '#dismiss-topics,#dismiss-topics-top'} // dismiss topics

Posts: 1

Participants: 1

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images