Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Gleb Mazovetskiy
    @glebm
    :+1:
    By the way, it looks like there's been another textcomplete release
    since I've last updated
    Tim Diggins
    @timdiggins
    do I just drop in the min.js ?
    (from the release package)
    Yeah, and also remove the last line
    and update the first line
    Tim Diggins
    @timdiggins
    :+1:
    Gleb Mazovetskiy
    @glebm
    the last line is a link to the source map which we don't ship
    the first line has the version number
    Akash Agarwal
    @akashagarwal7
    When can the gem be updated?
    Akash Agarwal
    @akashagarwal7
    @glebm
    Gleb Mazovetskiy
    @glebm
    Not sure, is anything preventing you from using the repo version?
    gem 'thredded', git: ...
    Gleb Mazovetskiy
    @glebm
    Robert Fraktar
    @fraktar
    How do I enable mail confirmation for new registrations?
    Robert Fraktar
    @fraktar
    Is anyone still using this channel?
    Joel Oliveira
    @jayroh
    @fraktar - yup. People are just not here every day, day in and day out.
    And new user registrations are the responsibility of the main parent app - thredded does just the messageboard/forum stuff.
    Not user creation, user management, sign in, sing out, etc.
    Andrea Schiavini
    @metalelf0
    hi everybody, yesterday I submitted a couple PRs to the project
    now I'm looking into another thing I'd like to add, and I'd like to ask about it here before doing any actual work
    I'd like to add an option to toggle the first messageboard topic automatic creation on or off
    I was thinking of an option like Thredded.auto_create_first_messageboard_topic in config/initializers/thredded.rb and then using this in the CreateMessageboard command. Would this be an accepted implementation?
    Mohamed Sami
    @melsatar
    Dears, I'm just new for thredded, I have nested routes for my user profile, and I do not know how to change that in the thredded initializer. Also, I would like to embed the forum into the main layout and change some of the navigations menus. Do you know how to do that? Thank you in advance
    Mohamed Sami
    @melsatar
    Dears, I have my default local as follow http://example.com/en/forum but therdded keeps using http://example.com/en/forum?locale=en how I can stop this? any clue?
    Tim Diggins
    @timdiggins
    @glebm sorry I broke the whole demo. just working out how to reseed
    Tim Diggins
    @timdiggins
    @glebm ok normal service resumed. written up at thredded/thredded#682
    thepanu
    @thepanu
    Hi, I was wondering if there are any resources someone could point me towards regarding importing messages from legacy forum?
    My initial idea was just to make a task which creates topics and messages. But is there something specific to take into account?
    Gleb Mazovetskiy
    @glebm
    @thepanu Have a look at the Forem to Thredded migration in the wiki
    thepanu
    @thepanu
    Thanks for the tip. But I think I managed to figure it out, almost done.
    And now that I look at it, it would've been overkill. My legacy forum is super simple so I'll just loop through topics and replies and create topics and posts based on that. Works for this case.
    thepanu
    @thepanu
    I think I have almost everything figured out now. Suits my needs perfectly.
    One thing though, if any one can point me to right direction. I would like to have forum only available to logged in users. But I have a GuestUser which inherits from User. And this passes thredded_require_login!. What would be the simplest way to fix this for me?
    thepanu
    @thepanu
    Now I solved that issue with permission methods but the forum is still accessible and clicking on notification settings or private message throws a bunch of errors when the current_user is not really a user.
    thepanu
    @thepanu
    Hmm.. I ended up making my own before_action method. It doesn't raise the error and instead just redirects to login form with a flash message. I wonder if there are any drawbacks to this approach?
    Henry Wright
    @henrywright
    Hey
    Any plans to include the username in user URLs?
    At the moment I see an ID is used
    Gleb Mazovetskiy
    @glebm
    @henrywright This URL is configurable via Thredded.user_path, see the initializer
    Henry Wright
    @henrywright
    Great thanks
    Henry Wright
    @henrywright
    Hey again
    Do you have a list of sites using Thredded?
    3JM Coding
    @Daemonlord92
    Hey new here, I've been trying to input an image into the header nav bar but its not appearing if I put into the SCSS, or into the if statement in the _header.html.erb file, so my question is what is the best way to impletment an image in the header bar
    3JM Coding
    @Daemonlord92
    So i'm now at deployment and the forum part of the site won't load the fourm Cause of a 2018-07-22T18:26:52.804480+00:00 app[web.1]: F, [2018-07-22T18:26:52.804421 #35] FATAL -- : [cde01619-fc97-430a-b340-1068f2532f53] ActionView::Template::Error (undefined local variable or method `destroy_user_session_path' for #<#<Class:0x0000000004c807b8>:0x0000000004c5ff18>
    the code I think they are talking about is this one
    <% if current_user %>
    <%= link_to current_user.display_name, user_path(current_user) %>
    |
    <%= link_to "Logout", (destroy_user_session_path), method: :delete %>
    <% else %>
    <%= link_to "Login", new_user_session_path %>
    <% end %>
    heroku is not being very clear on the error, or I still pretty new and not understanding completely
    Joel Oliveira
    @jayroh
    Thredded doesn’t handle any of the user management stuff - so I imagine that’s in one of your views that that is creating the error?
    if you do rake routes it should list all of the routes out and you should be able to see something like destroy_user_session or destroy_session on the left