Who is in? Plugin

NodeBB Plugins
  • @chas thanks for the report!

    cant click on anyone that "is in" ... redirects me to 404 error.

    Good find, I will fix it this weekend

    if i reply inside the same thread to create another "who is in" it works

    I am not sure what the right behaviour would be here. Should I limit the whoisin plugin to only the OP? My thinking was that it would be nice if anyone could start one in a discussion, and if someone else attempts to add another one, it will be just a copy of the first one.

  • Nice work @arasbm

  • @meetdilip thanks mate! Don't forget to vote for "who is in" if you like the plugin 😉

  • @arasbm said:

    @meetdilip thanks mate! Don't forget to vote for "who is in" if you like the plugin 😉

    I have already upvoted the first post, if that is what you mean 🙂

  • @meetdilip No, I meant in the polls for the October plugin contest. Here are the links to the polls:

    You can vote in both 😉 Thanks!

  • @arasbm said:

    I am not sure what the right behaviour would be here. Should I limit the whoisin plugin to only the OP? My thinking was that it would be nice if anyone could start one in a discussion, and if someone else attempts to add another one, it will be just a copy of the first one.

    I'd say first post only, but you could preserve the option through a configuration setting and let each forum admin decide for themselves.

  • +1 for first post only

    specifying a limit per event could be nice

    Still love the simplicity!

  • I made some changes and bug fixes to this plugin.

    works with nodebb 0.6.0 or higher only. Here are the notable changes:

    Usage Examples

    To use this plugin in a post just insert [whoisin] anywhere in a post. Here are some other examples of using the shortcode:

        [whoisin title=(Will you attend this event?) iamin=(Yes I will!)]
        [whoisin iamin=(I'm down!)]
    

    Current Features

    • One whoisin widget per post
    • Ability to add and remove yourself
    • Allows custom title and button name in shortcode
    • Automatically subscribe user to the current topic

    I hope you will find it useful.

  • this plugin is awesome but i had some thoughts and maybe a bug

    • first off, there should be an option to make it first post only
    • second, say i have 100 users "in" does it show them all or stop at a certain number or once it meets the width of its container? maybe make it only list 5 people then plus some more, like this
      [avatar] [avatar] [avatar] [ + 10 more people ] [ X ]
      and clicking the more brings up a popover with all "in people"

    there also seems to be a bug on the user profile page where if this was used in a recent post, its displayed to both logged in and non logged in users but cant be interacted with. it doesnt display avatars, just [ + I am in! ] [X]

  • @zero thanks for the feedback! I'll try to add the features you requested and also will see what that bug is all about.

    If we add a feature like limiting the number of avatars that are displayed by default, I would rather it be customizable with a default parameter.

    I likely wont have time to work on this until next weekend. If you want anything changed quickly feel free to send a PR 😄

    Cheers!


Suggested Topics


  • 1 Votes
    2 Posts
    292 Views
  • 1 Votes
    4 Posts
    1190 Views
  • 2 Votes
    2 Posts
    1173 Views
  • 0 Votes
    2 Posts
    1020 Views
  • 5 Votes
    78 Posts
    26059 Views