Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Andrew Brown
    @drusepth
    +1 for thredded joy
    Joel Oliveira
    @jayroh
    @drusepth hear, hear!
    Andrew Brown
    @drusepth
    Question -- I have tons of users clamoring for some kind of block/ignore/kick functionality for threads. I haven't thought through how it'd all work yet, but 1) this isn't something currently supported, right?; and 2) is this something that would be wanted if I were to implement & PR upstream?
    I was just thinking something along the lines of just one user blocking another to 1) hide posts (or threads if they're the OP) from either user when viewed by the other user, and 2) prevent PMs between the two users
    Gleb Mazovetskiy
    @glebm

    @drusepth For ignoring topics, there is an issue but noone is working on it: thredded/thredded#224.
    However, that issue is about manual ignoring of topics only, and not user-level mute/block like you're suggesting

    We'll be happy to accept a PR but please start with a design doc (an issue with a detailed description of this will work)

    Joel Oliveira
    @jayroh
    A detailed and specific set of user stories would be very helpful
    Andrew Brown
    @drusepth
    Awesome, will open an issue for discussion tonight to hammer out what things should look like
    Joel Oliveira
    @jayroh
    ๐Ÿ‘
    Robert Fraktar
    @fraktar
    Hello. Is this chat still active? I see the repo is being maintained.
    Joel Oliveira
    @jayroh
    Itโ€™s alive, yeah - just weโ€™re not in here all the time )
    :)
    Robert Fraktar
    @fraktar
    @jayroh of course not, good to hear it!
    Andrew Brown
    @drusepth
    Thanks for the heads up on session storage, Gleb
    Andrew Brown
    @drusepth
    Is there an option somewhere to allow users to delete their own threads? I don't see anything in the docs
    Gleb Mazovetskiy
    @glebm
    @drusepth You can override Thredded::TopicPolicy#destroy?, e.g. like this:
    # config/initializers/thredded.rb
    
    module AllowUsersToDeleteOwnTopics
      def destroy?
        super || @topic.user_id == @user.id
      end
    end
    
    Rails.application.config.to_prepare do
      Thredded::TopicPolicy.prepend AllowUsersToDeleteOwnTopics
    end
    Andrew Brown
    @drusepth
    That worked perfectly, thank you! :)
    Suki
    @SUKItheFox
    Hey guys- what a great forum engine you've made!! Respect! :)
    Is there a way to order Sticky Topics in the Topics index page according to position instead of order_recently_posted_first? So when I make a new topic and make it sticky, it will be positioned according to when it was created.
    Gleb Mazovetskiy
    @glebm
    @SUKItheFox There is no way to do that via configuration but you can simply redefine (monkey-patch) the order_sticky_first scope in the initializer (https://github.com/thredded/thredded/blob/master/app/models/thredded/topic.rb#L16)
    We're in top 20 at ProductHunt today :)
    Tim Diggins
    @timdiggins
    Woohoo ๐ŸŽ‰โ€” nice one Gleb
    Andrei Bondarev
    @andreibondarev
    Thank you for an excellent gem!
    What does the product roadmap look like for Thredded? Is there a list of features to be developed?
    Gleb Mazovetskiy
    @glebm
    @andreibondarev See the open issues on GitHub if you want to help with the development. There is no roadmap, it's entirely community-driven.
    vipul Aggarwal
    @vipuldcoder
    Fredrik fra Fana
    @fredrikfrafana_twitter
    Hi! How do I create new extensions for my Thredded app? I'd like my functionality to be split into separate repos/Rails Engines as opposed to throwing everything into one messy soup. :)
    Fredrik fra Fana
    @fredrikfrafana_twitter
    Btw I just ran thredded_create_app and it seems it forgot to run bundle exec rake db:create. Can anyone confirm?
    pzh1992
    @pzh1992
    [IMPORTANT]
    Don't forget to include the Crash Report log file under
    DiagnosticReports directory in bug reports.
    Where is the log file?
    eljarpo
    @eljarpo
    Hi, i have this error after running thredded_create_app forum: thredded_create_app: No match found for (?-mix:error_messages! %>\n\n) in app/views/devise/registrations/new.html.erb, osx mojave, ruby 2.5.1. Any help?. Thanks!
    Andrew Brown
    @drusepth
    not 100% sure, but it looks like @glebm might need to adjust the generator in thredded_create_app, since it's failing here: https://github.com/thredded/thredded_create_app/blob/4f4e4b73e6a26a74e880da25bf0c14eb5455742d/lib/thredded_create_app/tasks/add_invisible_captcha.rb#L34 (I think)
    @glebm looks like https://github.com/plataformatec/devise/commit/76b87dc0e83736cf16e3ffbc465fcd8ee3c06d46#diff-fc9dcab47d10e11cb5c43f4a83df6cf4L4 is the commit that broke it (moving devise_error_messages! to a partial)
    Someone please send a PR :)
    Yaacob Noor
    @maxcobmara
    @eljarpo thredded_create_app --rails-version 5.2.3 --verbose <forum_name> worked for me
    Yaacob Noor
    @maxcobmara
    Getting <svg><!-- SVG file not found: 'thredded/settings.svg' --></svg> in my production server. Anyone know how to load this up manually. I'm using Mina to deploy
    Yaacob Noor
    @maxcobmara
    Sorted, copied the svgs from the git repo into app and redeployed. thanks
    Gleb Mazovetskiy
    @glebm
    @maxcobmara @eljarpo I've just released new versions of thredded and thredded_create_app with Rails 6 fixes.
    thredded_create_app now uses Webpack for JavaScript by default (you can pass --no-webpack-js to uses Sprockets for JS like before)
    z4ppy
    @z4ppy
    Hello :)
    z4ppy
    @z4ppy
    I'm installing thredded in existing app ; I did "rails generate thredded:install" and got one file (config/initializers/thredded.rb) ; When i run "rake thredded:install:migrations" i got this error :
    root@3405c6af0de1:/ecse/spree_dep/spree_forum# rake thredded:install:migrations
    rake aborted!
    Don't know how to build task 'thredded:install:migrations' (See the list of available tasks with rake --tasks)
    How i can generate migrations please ?
    (rails 6)
    Gleb Mazovetskiy
    @glebm
    @z4ppy Does rails thredded:install:migrations work?
    z4ppy
    @z4ppy
    Hello Gleb !
    Wasn't, but i found why .. i'm making spree extension with thredded .. with some require and running command from host application, that's works ! :)
    (engine in engine, install did not make sense, sorry for the question)
    z4ppy
    @z4ppy
    Now i got this error when a create category : undefined local variable or method `translation_class' for #<ActiveRecord::Relation []>
    (FriendlyId::SlugGenerator#available?)
    (Thredded::Topic::ActiveRecord_Relation#exists_by_friendly_id?)
    z4ppy
    @z4ppy
    Fixed with the monkey patch : norman/friendly_id-globalize#24