@huynhthai824 wrote:
In wordpress, we can create category in create post new, How about discourse can we create category in new topic UI?
Posts: 3
Participants: 2
@huynhthai824 wrote:
In wordpress, we can create category in create post new, How about discourse can we create category in new topic UI?
Posts: 3
Participants: 2
@chambers.d wrote:
So I made the switch to use discourse as my main site. I face one obstacle though. I have a few python scripts that I would like to tie to the restful API. I know discourse uses Ruby and I can easily convert my scripts to ruby if need be. How would I go about using the discourse API to expose my scripts to be called by my users?
Posts: 2
Participants: 2
@dmahler wrote:
I have a working Discourse instance on a GCE instance.
I have email working through Mailjet by setting smtp_port=2525
I am now trying to enable HTTPS.My reading of https://meta.discourse.org/t/setting-up-lets-encrypt/40709
is that I just need to uncomment#- "templates/web.ssl.template.yml" #- "templates/web.letsencrypt.ssl.template.yml"
in app.yml and set
LETSENCRYPT_ACCOUNT_EMAIL
to the email address I have registered with Mailjet,
which is the same asDISCOURSE_DEVELOPER_EMAILS
and theFrom:
address used by Discourse,
and then rebuild and restart Discourse withsudo ./launcher rebuild app
After that LetsEncrypt/HTTPS should just work automagically if I understand the instructions correctly.
However I am finding that Discourse just becomes inaccessible after that.
It becomes accessible again if I undo the above changes and rebuild again.Am I missing something?
Is there anything special needed on GCE?I currently use the GCE external IP as
DISCOURSE_HOSTNAME
,
which is working fine with regular HTTP.
Do I need to set up a DNS domain and hotname to wok with LetsEncrypt?
Posts: 4
Participants: 2
@Hamza_Ahmed wrote:
Discourse provides Theme HTML/CSS area to add anything above topics (after the header) and it awesome but I need to only show that content on the homepage. How can I do so?
Is there any way to show HTML content on top of threads on homepage only?
Thanks in advance.
Posts: 1
Participants: 1
@darix wrote:
I was wondering if the following can be done in a plugin already:
- all devs for a project are in a group "Developer"
- for long threads it would be nice to have a button for "jump to next developer post". from the current post in the thread jump to the next developer post. would make it easier to find all the dev answers and skip all the complaint posts.
Posts: 5
Participants: 2
@huynhthai824 wrote:
Hello, I wanna highlight number phone in topic
Now, what i add to here? in library https://highlightjs.org/static/demo/ i dont see numberphone number
i wanna Result
The second question, i wanna when user touch in it (call number) will auto open phone call in android or ios, how can do?
Posts: 5
Participants: 3
@sianwhite wrote:
Apologies for what is probably a very simple question.
I don't understand the notification settings. How do I (or a user) set it up to receive email notifications about posts in a thread that they haven't started?
Thanks in advance for any help!
Posts: 3
Participants: 2
@RobMeade wrote:
Hi,
I've not used this functionality before but did today for the first time, looks really useful, I think I may have spotted an issue though, see below.
Steps I took;
I created my topic, setting it to Unlisted so that it wouldn't be displayed before I could set the scheduling options
I then used the Topic Admin Actions to schedule its publication (shame I couldn't do that before submitting it actually).
Once created, I then set the topic back to Listed.
What I experienced;
At the bottom of the topic I can see this;
Selecting Set Topic Timer.. again, from the Admin Topic Actions, displays this;
Assumptions;
It looks like because the Category I have already selected is removed from the Publish To list (which in one sense makes sense), this modal isn't able to pre-select the option.
I am also assuming that the message at the bottom, where the name of the selected Category is missing, is also taken from the selected value of this drop down menu.
If I expand and scroll, or search the Publish To menu, my original selection is not available/displayed.
I hope this is of some use - if I have used it incorrectly, please do let me know
Posts: 3
Participants: 2
@AIDoLS wrote:
Whenever I access the mobile app (iOS), it says "Authorize application access, you are not the correct trust level to access the user API". If I tap on the Discourse logo, everything works just fine. I'm just wondering, what does it mean by user API? And what trust level to I have to be to access it?
Posts: 1
Participants: 1
@AIDoLS wrote:
First of all, I know that a member can make their topic a wiki, which allows other members to edit. However, a group inside of a forum may not be able to use this feature if some of their members are not TL3. I don't feel as there is much of a issue regarding maturness and vandalism of a topic if the topic creator allows just someone they trust to do it.
Posts: 1
Participants: 1
@rehe wrote:
Hi!
For a few days I get this message when I edit: Admin> Customize> Site Text> login_required.welcome_message
Do not save new changes. Any ideas?
I've tried updating plugins and discourse, but it does not work.
Thanks!
Posts: 1
Participants: 1
@dylanb wrote:
I'm looking to implement Discourse/WP SSO as a way to allow users to login to my WordPress site with Discourse accounts that they already have. In that process I was hoping to be able to bring along information (group, trust level) and store that in WordPress to allow them to view/hide certain content. Is this currently possible?
Posts: 4
Participants: 2
@HappyDolphin wrote:
I'm not a developer and I don't have any fancy terms to describe this, so I'll just call it a "Topic-not-loading" glitch.
Steps:
I clicked on the topic from the "Latest" page or clicked on a topic I was notified in.
It gave me this screen:
It wouldn't let me scroll up to see posts, by the way.
After closing and reopening the page and clicking on a different topic, it loaded good, but when I loaded the topic that gave me the glitch, it loaded fine too, so this glitch seemed to be temporary.
Are there any problems causing this in my browser? Or is it just an HTML problem? Something that could also have been connected to this is the broken polls that won't let me vote or see results on the same topic:
Here's the forum and topic so you can investigate for yourself.
Posts: 5
Participants: 4
@ossia wrote:
Over the past 10 days or so - both before and after updating Discourse to the latest version - our server has crashed once every day or two. This morning it crashed twice in quick succession.
We've been too busy to stop and investigate, and have just been power cycling it, but now it's clearly worth reaching out to you all about it.
CPU seems to have inexplicably spiked several times before the crash:
Memory dropping to zero was due to the reboot. Also note that our backups happen at night, so this doesn't seem to be related to a database backup.
We are running currently running the 4gb ram Digital Ocean droplet and would prefer not to go up to the next tier since it would double our monthly cost. Here are the stats:
Digital Ocean is reporting no issues on their status page:
Do you all have any ideas what might be causing this, or what we should do about it?
Posts: 8
Participants: 5
@SimonSuh wrote:
I saw Discourse is listed on wikipedia and stuff, and it's listed as open source, but then it's a paid software. What's the difference? I just love understanding the business model of SaaS companies. Love the Software!
Posts: 6
Participants: 3
@nbianca wrote:
Hello everyone!
Some of you are probably already familiar with @adrapereira 's canned replies plugin. For those who are not, canned replies are quick replies that can be inserted into the editor. The current plugin has some limitations and I am planning on solving some of those. This thread is a small update report.
Any feedback is appreciated.
One of the things I am trying to improve is the user interface. I am going to follow the "make the common case fast" principle. In this case, the common case here is inserting replies. There are two improvements I planned:
- improve the user interface (basically, decrease number of clicks needed and remove the modal) and use the preview pane to quickly list all canned replies
- use variables in templates so the user does not have to manually edit the replies every time they want to send a new one.
Mockup
First improvement is to add a keyboard shortcut. I thought Ctrl+Space is a good key combination since it is usually used for autocompletion.
Second improvement uses the preview pane to list all available canned replies. You can click on them to add or click on the little arrow by the title to show the content of the reply and other controls (this is an accordion of canned replies).
Those replies will be sorted by their usage, so the most used reply is going to be on top. More over, I was thinking of adding a couple of shortcuts for the first 3 or so replies (i.e. Ctrl+Shift+1 inserts first canned reply, Ctrl+Shift+2 inserts second canned reply, Ctrl+Shift+3 inserts third canned reply, etc.)
I discussed with @sam and he suggested two approaches for implementation:
- move "preview" into a preview component, then amend the layout for the preview component via plugin. Sam warned me that this may get messy soon.
- add a plugin outlet and allow plugins hide the cooked preview HTML. I like this approach more because it makes Discourse more customizable and other plugins can use the preview pane as well.
@eviltrout your feedback on this matter is greatly appreciated.
Modals are still going to be used for new and edit forms. For now, the mobile interface will stay the same.
Results
Before my updates if you would want to insert the most used reply you'd have to click on options icon from the toolbar, select canned replies, select the reply, press insert and change any variables like @user by hand (at least 5 clicks); after my update Ctrl+Space and Ctrl+Shift+1 should do the same trick.
TODO
Populate the title when creating a new topicPR- Add support for variables that are replaced when canned reply is inserted.
eg.: @user is replaced with current username, @op is the person who posted the thread, @last is last poster, etc.- Improve user interface (list canned replies in preview pane and add keyboard shortcuts).
Posts: 3
Participants: 3
@pfaffman wrote:
On a site I just imported, a bunch (all?) of the images have been moved to tombstone.
When I run
cd /var/discourse ./launcher enter app rake --trace uploads:recover_from_tombstone
I get this:
# rake --trace uploads:recover_from_tombstone ** Invoke uploads:recover_from_tombstone (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute uploads:recover_from_tombstone 1 / 4918 ( 0.0%) 2 / 4918 ( 0.0%) Restoring /var/www/discourse/public/uploads/tombstone/default/original/2X/f/fa072fd9a4293c944d8a302758851ff73b2650c7.jpg...rake aborted! TypeError: no implicit conversion of Symbol into Integer /var/www/discourse/lib/upload_creator.rb:187:in `[]' /var/www/discourse/lib/upload_creator.rb:187:in `should_crop?' /var/www/discourse/lib/upload_creator.rb:49:in `block in create_for' /var/www/discourse/lib/distributed_mutex.rb:21:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:5:in `synchronize' /var/www/discourse/lib/upload_creator.rb:35:in `create_for' /var/www/discourse/lib/tasks/uploads.rake:441:in `block (4 levels) in recover_from_tombstone' /var/www/discourse/lib/tasks/uploads.rake:440:in `open' /var/www/discourse/lib/tasks/uploads.rake:440:in `block (3 levels) in recover_from_tombstone' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/lib/nokogiri/xml/node_set.rb:190:in `block in each' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/lib/nokogiri/xml/node_set.rb:189:in `upto' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/lib/nokogiri/xml/node_set.rb:189:in `each' /var/www/discourse/lib/tasks/uploads.rake:428:in `block (2 levels) in recover_from_tombstone' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-4.2.8/lib/active_record/relation/delegation.rb:46:in `each' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-4.2.8/lib/active_record/relation/delegation.rb:46:in `each' /var/www/discourse/lib/tasks/uploads.rake:424:in `block in recover_from_tombstone' /var/www/discourse/lib/tasks/uploads.rake:420:in `each' /var/www/discourse/lib/tasks/uploads.rake:420:in `each_with_index' /var/www/discourse/lib/tasks/uploads.rake:420:in `recover_from_tombstone' /var/www/discourse/lib/tasks/uploads.rake:401:in `block (2 levels) in <top (required)>' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rails_multisite-1.0.6/lib/rails_multisite/connection_management.rb:126:in `block in each_connection' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rails_multisite-1.0.6/lib/rails_multisite/connection_management.rb:124:in `each' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rails_multisite-1.0.6/lib/rails_multisite/connection_management.rb:124:in `each_connection' /var/www/discourse/lib/tasks/uploads.rake:401:in `block in <top (required)>' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `block in execute' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `each' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `execute' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain' /usr/local/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:180:in `invoke' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:152:in `invoke_task' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block (2 levels) in top_level' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `each' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block in top_level' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:117:in `run_with_threads' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:102:in `top_level' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:80:in `block in run' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:77:in `run' bin/rake:4:in `<top (required)>' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `load' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `kernel_load' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:27:in `run' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:360:in `exec' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:20:in `dispatch' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:10:in `start' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/exe/bundle:35:in `block in <top (required)>' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/exe/bundle:27:in `<top (required)>' /usr/local/bin/bundle:22:in `load' /usr/local/bin/bundle:22:in `<main>' Tasks: TOP => uploads:recover_from_tombstone
I've tried adding some tests to keep it from doing that, but they've all failed. Is there something obvious here?
UploadCreator expects
opts = {}
, but it's being passed the integer file size. @zogstrip--I think that this might be related to the refactoring you did a while back. I stopped it from passing size instead of opts, but then I getNoMethodError: undefined method
persisted?' for #. It looks like UploadCreator.new is not passing back an
Upload`, I guess.
Posts: 2
Participants: 2
@mbowzer wrote:
Does anyone use Discourse to house and share documents? Or is it only for online discussion?
Posts: 9
Participants: 4
@dmahler wrote:
I am trying to introduce Discourse for more structured communications at a primarily Slack based company.
It would be helpful if I could point to a list of well structured maybe even inspiring Discourse forums.
I am after quality more than quantity, but I also care about diversity (art, science, business, ...)I can see https://meta.discourse.org/t/please-visit-our-discourse-forum-directory/3102,
but it would be nice to have the Nobel/Pulitzer/Oscar shortlist of Discourse sites
Posts: 2
Participants: 2
@kristin wrote:
Is there a way to adjust the timeframe of the stats displayed on the user profile page similar to the option on the general user list page?
user profile view:
User list page:
Posts: 3
Participants: 2