February 7, 2015, 9:58 pm
@badevguru wrote:
After migrating an existing forum over to discourse, I am now spending time correcting and re-organizing some of the categories. To my chagrin this causes old and inactive discussions to shoot to the top of the Latest and Categories views. I recommend a feature change:
An administrator or moderator correcting a title or category assignment should not IMHO count as "activity" which causes the topic to shoot to the top of the Latest and Categories views.
The current behavior is surfacing ancient topics as seeming to have recent activity when the actual discussion has not actually had any activity.
-B
Posts: 3
Participants: 2
Read full topic
↧
February 7, 2015, 11:48 pm
@rshannon wrote:
I'm running Discourse on a 2GB D.O. VPS, with db_shared_buffers: "256MB" and UNICORN_WORKERS: 3. If I want to downsize to a 1GB VPS, I'm wondering what changes are required to the app. If I stop the app, edit the previous parameters to "128MB" and 2 workers, then downsize the VPS to 1GB:
1) will Discourse start OK after downsizing the VPS, or
2) is there something else that should be adjusted, or
3) will it not work at all for some other reason?
Posts: 2
Participants: 2
Read full topic
↧
↧
February 8, 2015, 3:01 am
@Maestra_Powers wrote:
He there. I'm trying to make a decision now should I switch to Discourse from phpBB. I will have to convert DB of curent forun. My forum is not very complex, but there's up to 4 levels of sub-categories somewhere. Like:
Music > Electronics > Dubstep
or
Games > MMORPG > World of Warcraft > Recruiting
I've found info that Discourse supports only 2 levels of categories now. But maybe there's a plugin for this?
Posts: 1
Participants: 1
Read full topic
↧
February 8, 2015, 3:39 am
@Chendy wrote:
Firstly well done
I've been following Discourse a while and have noticed the rise of adoption. Just noticed discourse.ubuntu.com!
Is there a list of notable users?
Cheers
Posts: 2
Participants: 2
Read full topic
↧
February 8, 2015, 4:44 am
@Brideau wrote:
I have started getting memory low errors from New Relic ever since I upgraded to the newest beta. When I checked the graph, it looks like this (the drop is where I last restarted the server):
Posts: 8
Participants: 5
Read full topic
↧
↧
February 8, 2015, 4:45 am
@Maestra_Powers wrote:
I created some categories after fresh Discourse install. But unregistered users can't see them. On security tab there's:
everyone
can…
Create / Reply / See
Also "allow uncategorized topics" feature seems not working. I disabled it, but Uncategorized category still there and guest can see it.
My Discourse version is 1.2.0.beta6.
Posts: 2
Participants: 2
Read full topic
↧
February 8, 2015, 5:39 am
@gerhard wrote:
The category dropdown is barely visible when I try to edit a topic title:
I guess @awesomerobot's latest change is causing this.
Posts: 3
Participants: 3
Read full topic
↧
February 8, 2015, 8:18 am
@ernsheong wrote:
Hi all,
Somewhat related to https://meta.discourse.org/t/broken-default-avatar-links-with-no-swap-file/24076, but swap file is on, and it's only related to Gravatar links (system letter avatars are fine).
I have my images on S3, and the following line of code is causing the exception:
external_copy
appears to be nil.
Stack trace:
<hash>
<date type="dateTime">2015-02-08T15:52:59+00:00</date>
<guid>f16da717-4aa1-439f-a7eb-907be1ab635b</guid>
<user-id type="integer">1</user-id>
<parameters>{"controller":"user_avatars","action":"show","hostname":"HOSTNAME","username":"USERNAME","size":"90","version":"4"}</parameters>
<action>show</action>
<controller>user_avatars</controller>
<backtrace>[RAILS_ROOT]/app/models/optimized_image.rb:70:in `create_for'
[RAILS_ROOT]/app/controllers/user_avatars_controller.rb:95:in `get_optimized_image'
[RAILS_ROOT]/app/controllers/user_avatars_controller.rb:65:in `show_in_site'
[RAILS_ROOT]/app/controllers/user_avatars_controller.rb:40:in `block in show'
[RAILS_ROOT]/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:44:in `with_hostname'
[RAILS_ROOT]/app/controllers/user_avatars_controller.rb:39:in `show'
[RAILS_ROOT]/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
[RAILS_ROOT]/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/abstract_controller/base.rb:189:in `process_action'
... TRUNCATED ...
[RAILS_ROOT]/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
[RAILS_ROOT]/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
[RAILS_ROOT]/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
[RAILS_ROOT]/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'</backtrace>
<message>undefined method `close!' for nil:NilClass</message>
<url>https://HOSTNAME/user_avatar/HOSTNAME/USERNAME/90/4.png</url>
<exception-class>NoMethodError</exception-class>
</hash>
Interestingly, the 64px image generates well, but the 240px and 90px image links show up as broken. I am not using a CDN.
I also tried running rake avatars:refresh
and rake avatars:clean
but no luck
Anyone else having the same issue? Is it a tempfile permissions problem? Bug?
Posts: 2
Participants: 2
Read full topic
↧
February 8, 2015, 11:18 am
@pl3bs wrote:
I've been doing installs for a few months now for clients. Have now done simple installs, multisite installs, and installs alongside php/html5 sites.
$20 single discourse install
$25 multisite (multiple web containers one data container)
$30 discourse with reverse proxy and LAMP or LEMP
$35 multisite discourse with reverse proxy and LAMP or LEMP
requirements
Clean Ubuntu 14.04LTS 64bit install
1GB+ memory single install
2GB+ multisite, reverse proxy, and both
VPS/DEDI with kernel 3.13+ (no openvz)
ssh access
domain with A-record pointing to IP of install.
I am proficient with all of these installs now. After ssh creds are acquired, work can be expected to complete within the hour.
You can contact me here or skype: pl3bscheese
Posts: 3
Participants: 2
Read full topic
↧
↧
February 8, 2015, 1:36 pm
@matt_mcneil wrote:
As I'm using a custom SSO logout sequence, I'm wondering if it's possible to skip the display of the logout bootbox modal. Here's my current implementation:
Discourse.logout = function() {
Discourse.User.logout(); // <-- any way to do this silently?
Discourse.KeyValueStore.abandonLocal();
window.location.href = "https://example.com/sign_out";
};
Ideally I'd like to be able to call a JS method that does all of the Discourse logout (clears cookie, etc) and then redirects to my SSO sign out page without flashing an intermediate modal.
Posts: 1
Participants: 1
Read full topic
↧
February 8, 2015, 2:02 pm
@Martyn wrote:
Hi guys,
I've just installed my Discourse forum, absolutely loving it. The only thing I miss now is that users can't directly see who is an admin, moderator or developer. I have set the Title (user-title) for these users, but it's small text one can easily skip over.
So I decided to add some CSS to the user-title class, making it look like this: http://puu.sh/fEPFb/ed97876ca1.png
The CSS I used:
.user-title{
background: #F55;
border-radius: 3px;
color: #FFF !important;
font-size: 12px!important;
padding-left: 7px;
}
I'm wondering now if it's possible with JavaScript to change the background color depending on the text that's inside the <span class="user-title"></span>
. This way I could add different colors depending on the "rank"/title.
Any help would be greatly appreciated ![:smiley: smiley]()
Posts: 3
Participants: 2
Read full topic
↧
February 8, 2015, 3:12 pm
@purldator wrote:
Been noticing while I use the composer that sometimes I need to see more of the viewport to aid in making my post. I tend to browse: gather links and text. When I do that, I have to click and hold the composer's top edge and resize it. I used to click the down arrow in the upper right but that removes the composer completely and when I click 'make a new reply/topic' it erases what I had in progress. I currently see no way to bring it back up with my post in progress.
My suggestion for easier posting workflow is to have an 'inbetween' state where there's a small indicator at the edge that a user can click and it brings their post back in progress, thus allowing them to temporarily push it down while browsing/searching. Or have a keyboard shortcut that minimizes the composer to that resized state that I manually do by clicking and dragging at the composer's top edge.
Right now, as I personally see it, I can't temporarily push the composer down. If I resize, it's clumsy and awkward at best when I am in that 'flow' then suddenly halting to do that. Or, I click the down arrow in the composer's upper right and I see no way to bring it back up. There is also no visible help anywhere that may show instructions on how to bring it back up (if this feature exists).
Posts: 7
Participants: 4
Read full topic
↧
February 8, 2015, 3:39 pm
@NomNuggetNom wrote:
The Discourse.Dialect.postProcessText()
handle is called for every line in a post. Is there any handle that provides the entire post, perhaps as an array of text lines?
Posts: 1
Participants: 1
Read full topic
↧
↧
February 8, 2015, 3:46 pm
@purldator wrote:
In relation to this topic here and this one as well, I suggest mirroring 'PM User' from the flag button to a link under "Reply as linked Topic". Putting that feature under the flag button is not intuitive because 'flag' implies that something is wrong with the post and the flag button should only be clicked in that situation where Things Are Wrong And People Must Be Alerted. When I used the 'PM User' option under flagging today to suggest something to a user to prevent a conflict from happening, I thought it was going to be an anon message strictly to anon-suggest something so a moderator wouldn't need to (ergo what the entire system is for in the first place).
The idea that one extra link is going to be clutter on the main ui (and in a spot where there is already a link and for a user could also be the spot to link to the PM in question just like a linked topic) does not make sense in this case, when a useful feature is hidden under a button that is (in most circles) used to alert someone to rule breaking, conflict, spam and trolls.
Furthermore, I would suggest that perhaps the PM-User option under the flagging button also alert staff, have it logged or maybe put a warning or notice of some kind where moderators are made aware that a user was PMed by another user in relation to a problem that the flag button is there for. The main reason is because this allows users to suggest things such as "Can you edit your post to our current posting standards? or "You forgot to fill out something which will delay this" or "please don't feed the trolls" but also making a moderator aware something is going on or at least logged in the system to keep an eye out or at least know a user was actually warned/suggested by another user. That can help determine if things need to be escalated if a situation becomes worse. It also leaves a proper paper trail.
My suggestions are asking for consistency with previously-applied context that is well-known in internet forum ux. It currently makes zero sense, and I am not intending to be hyperbolic with that statement. Putting a benign feature under a button used to alert moderators to suspicious, malicious or rule-breaking activity does not make sense.
Posts: 12
Participants: 6
Read full topic
↧
February 8, 2015, 7:40 pm
↧
February 8, 2015, 8:12 pm
@Akagi201 wrote:
I install discourse with this doc https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md
but when I ./launcher bootstrap app I get the error log
I run as root, and my linux is gentoo on linode
2015-02-09 04:03:11 UTC LOG: received fast shutdown request
2015-02-09 04:03:11 UTC LOG: aborting any active transactions
2015-02-09 04:03:11 UTC LOG: autovacuum launcher shutting down
2015-02-09 04:03:11 UTC LOG: shutting down
I, [2015-02-09T04:03:11.763538 #44] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 184
[184 | signal handler] (1423454591) Received SIGTERM scheduling shutdown...
2015-02-09 04:03:11 UTC LOG: database system is shut down
[184] 09 Feb 04:03:11.808 # User requested shutdown...
[184] 09 Feb 04:03:11.808 * Saving the final RDB snapshot before exiting.
[184] 09 Feb 04:03:11.810 * DB saved on disk
[184] 09 Feb 04:03:11.810 # Redis is now ready to exit, bye bye...
FAILED
--------------------
RuntimeError: cd /var/www/discourse && su discourse -c 'bundle install --deployment --verbose --without test --without development' failed with return #<Process::Status: pid 280 exit 7>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
94c259a7b53a91fc308a490909484354ab8ef0c9c03a08503c583edd8408fa6f
FAILED TO BOOTSTRAP
Posts: 6
Participants: 2
Read full topic
↧
February 8, 2015, 8:49 pm
@meglio wrote:
Those who answer by email often cause messages to have a suffix phrase like this:
Sent from my iPhone
Sent from my Samsung Galaxy
and so on...
Is there a way to enter all such phrases in admin panel and let the engine auto-remove them?
NB. The phrases can be in different languages.
Posts: 1
Participants: 1
Read full topic
↧
↧
February 8, 2015, 11:53 pm
@Mohammad wrote:
I wanted to know how to delete files when we don't want them. Like sometimes users upload large size files and upload multiple copies of the same file. How can I delete the repeatedly uploaded items and keep my disk space clean? We run a blogging community forum at http://ask.mybloggertricks.com and we often need to upload graphic images and some css files
Posts: 8
Participants: 3
Read full topic
↧
February 9, 2015, 12:29 am
@Akagi201 wrote:
akagi201@li808-222 /var/discourse (master) $ sudo ./launcher bootstrap app
which: no docker.io in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin)
WARNING: No memory limit support
WARNING: No swap limit support
Calculated ENV: -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=2 -e UNICORN_SIDEKIQS=1 -e RUBY_GC_MALLOC_LIMIT=40000000 -e RUBY_HEAP_MIN_SLOTS=800000 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e HOME=/root -e DISCOURSE_DEVELOPER_EMAILS=root@akmaker.com -e DISCOURSE_HOSTNAME=discuss.akmaker.com -e DISCOURSE_SMTP_ADDRESS=smtp.exmail.qq.com -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=root@akmaker.com -e DISCOURSE_SMTP_PASSWORD=xxxxxxxx -e DISCOURSE_SMTP_AUTHENTICATION=login -e DISCOURSE_SMTP_OPENSSL_VERIFY_MODE=none -e DISCOURSE_SMTP_ENABLE_START_TLS=true
cd /pups && git pull && /pups/bin/pups --stdin
Unable to find image '169.254.45.163:latest' locally
Pulling repository 169.254.45.163
FATA[0001] Error: image library/169.254.45.163:latest not found
cat: cids/app_boostrap.cid: No such file or directory
Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...]
Remove one or more containers
-f, --force=false Force the removal of a running container (uses SIGKILL)
-l, --link=false Remove the specified link and not the underlying container
-v, --volumes=false Remove the volumes associated with the container
FAILED TO BOOTSTRAP
Posts: 2
Participants: 2
Read full topic
↧
February 9, 2015, 3:06 am
@CharlesWil wrote:
Discourse Pro CCK Idea
All wordpress, joomla, cms for organizing content
Dupal a CCK but it's still organizing content 1st
Discourse Community CCK Idea
Is a user behaviour focused CCK for handling
- Trolls
- Posting behaviour
- User Behaviour
- Spam
- Engagement
It based on the drupal developer community idea but using gems
or cms gems. it's not for the non developers and for the advanced web user
Google analytic's is for websites and not designed 1st as a Discourse Basic
would offer it own analytic's
Big companies could pay to upgrade to discourse pro analytics
anyway that's the idea! ![:blush: blush]()
Posts: 1
Participants: 1
Read full topic
↧