Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. arasbm
    A
    • Profile
    • Following 1
    • Followers 3
    • Topics 35
    • Posts 112
    • Best 23
    • Groups 2

    arasbm

    @arasbm

    50
    Reputation
    1371
    Profile views
    112
    Posts
    3
    Followers
    1
    Following
    Joined Last Online
    Website arasbm.com Location Kamloops, BC, Canada

    arasbm Follow
    GNU/Linux Plugin & Theme Dev

    Best posts made by arasbm

    • Who is in? Plugin

      This is a light weight RSVP plugin . For example you can use this to ask people to join an event or express their interest in a topic, right from inside a post. The source code is on github.

      npm install nodebb-plugin-whoisin

      Once you activate the plugin, you just have to ask the magic phrase: who is in? in a post
      The plugin will automatically replace that question with a widget like this:

      Selection_044.png

      Now every user can easily add themselves to that list, or remove themselves if they change their mind. Currently only one unique whoisin widget can be added to each topic.

      This is my first plugin for NodeBB. Any feedback, feature requests or bug reports will be much appreciated! 🙂

      I hope some people will find this useful.

      posted in NodeBB Plugins
      A
      arasbm
    • RE: Name color for groups or username

      Actually since the element you want to change the color of is already in the DOM, I think you can achieve this with CSS only. Try adding this to your custom css:

      a[href*="groups/administrators"] span.label {
      	background-color: red !important;;
      	padding: 2rem;
      }
      

      You can also play around with the CSS to get the wrapper a element or style it anyway you wish of course. Let me know if that worked.

      posted in Technical Support
      A
      arasbm
    • RE: Voting (Part 2) : Candidates for Best Plugin/Theme by a New Developer - October 2014

      Looks like @pitaj is on track to win both prizes 😄

      @julian yeah he has done an amazing amount of work obviously. But still some time left. Hmmm, I am trying to think of ways we can knock him out at least in this category. Has @pitaj said anything controversial recently? 😉

      posted in Announcements
      A
      arasbm
    • RE: Make content visible only for logged-in users

      Go to categories and open category settings. You should see a list like below:
      0_1451163904356_Selection_002.png
      In this case I am only allowing members of the certain group (Enigma) to see or post to that category, but you can see you have lots of option to control access to each category.

      posted in General Discussion
      A
      arasbm
    • need some help with my first plugin

      So I have started developing a simple plugin called who is in?. Before I get to the technical problems, let me explain what it will do (when finished), it will look something like this mockup:

      who_is_in_mockup.png

      The idea is to easily embed a signup or RSVP button into a post by using a magic phrase such as "who is in?". The plugin would then insert a button in place. Others viewing the post see the call to join and can add their avatar to a list next to the button by pressing it. This I hope will be a really simple and light way to ask people to signup for something.

      I started based off of the quickstart plugin but did not make it very far. I have only got as far as displaying the button. Here is the code: https://github.com/modlabca/nodebb-plugin-whoisin

      I am a little stuck now, and could not find my way in the docs or examples I have looked at so far. Here are a couple of questions I have so far:

      1. How can I load a template+JS file where the who is in button will be displayed? I tried doing something like below but I could not figure out how to get this working:
              whoisin.parse = function(postContent, callback) {
      		postContent = postContent.replace(/Who is in\?/gi, mainTemplate);
      		/*
      		app.render('templates/views/main', {title: 'who is in test'}, function(err, html) {
      			if (err) {
      				console.log('ERROR rendering template: ', err);
      			}
      			console.log('rendering the whoisin template: ', html);
      		});
      		*/
      		callback(null, postContent);
      };
      
      

      where templates/views/main.tpl is the template I want to use instead of the hard coded mainTemplate value above. I am not sure how to connect the two here. In other words, I think I need to render the template with the right context and JS file in place of "Who is in". Is that the right approach? If so, how can I do that?

      1. Is there a way for me to add some custom data to a post?

      In this case I will be getting the id of current logged in user, and when they click on the button I would need to store that id somewhere. I could not find this in the docs. How would you suggest I store this data?

      I am fairly new to all of this, so any help will be appreciated 🙂

      posted in NodeBB Development
      A
      arasbm
    • RE: Who is in? Plugin

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

      posted in NodeBB Plugins
      A
      arasbm
    • RE: This is a relly cool projekt

      I have been actively testing NodeBB for a few weeks now and it is very stable. I am planning to move my local maker community to it. I agree with @luke if you find issues then make sure to file a bug. Just saying that it was too buggy is very vague and not very useful.

      One thing I really like about NodeBB is that even though it is in active development, they are very open and accepting to community suggestion. The fact that project is active, does not mean it is unstable. You just have to run stable snapshots of it on your production site.

      posted in General Discussion
      A
      arasbm
    • RE: Who is in? Plugin

      I made some changes and bug fixes to this plugin. The latest version (0.0.6) 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.

      posted in NodeBB Plugins
      A
      arasbm
    • Is there any way to receive notifications for all posts?

      Kind of related to my other question about default notification settings. But now I am wondering if there is any way that users could receive an email notification as soon as there is a reply to any post on the forum. Of course something that they could configure. Is this currently possible?

      posted in General Discussion
      A
      arasbm
    • RE: NodeBB Plugin & Theme Contest Bonanza 2014

      Awesome!

      Is the plugin category the best place to see the list of existing plugins? It is a bit hard to find what is already implemented and what plugins are in demand.
      Are there any other place I should look at to get a good sense of the current plugin scene?

      I am very excited. Will start hacking on my first plugin this weekend 🙂

      posted in NodeBB Blog
      A
      arasbm

    Latest posts made by arasbm

    • Is there an quick way to create a report about number of forum users?

      We have had our nodebb forum up and running for over two years and I think we have over 400 members. I would love to create a report of how many people have joined our forum over the months. Is there a feature or plugin in nodebb to generate reports about users? If not, how would you recommend I go about doing this?

      posted in General Discussion
      A
      arasbm
    • RE: Can I exclude a category from digest?

      @exodo I commented on that issue, explaining our use case. I hope this will happen soon. Thanks!

      posted in NodeBB Plugins
      A
      arasbm
    • RE: Can I exclude a category from digest?

      I think another way to do this would be to exclude a category from "recent topics". Is that currently possible?

      posted in NodeBB Plugins
      A
      arasbm
    • Can I exclude a category from digest?

      I am thinking of creating a category in our forum to use for documenting all the tools we have. If we do that, there will be suddenly many posts in that category, and our users may be overwhelmed with the list of posts in daily digest. Is there any way to exclude any post that is made in a category from digest -- unless people explicitly subscribe to it?

      posted in NodeBB Plugins
      A
      arasbm
    • RE: [nodebb-plugin-trophies] Trophies: custom award badges for your users

      Nicely done @toxuin ! We are so excited to install this on our community site for Kamloops Makerspace

      posted in NodeBB Plugins
      A
      arasbm
    • RE: mandrill alternatives

      mailjet, mailgun and sendgid all seem to have a free plan for up to a certain limit of emails per month. Is there a limit on how long you can use their free plan?

      posted in General Discussion
      A
      arasbm
    • RE: NodeBB v1.0.0

      You should be very proud! NodeBB is an awesome platform and we are very proud to use it. Thank you for all your hard work and dedication! 🎆

      posted in NodeBB Blog
      A
      arasbm
    • RE: Happy New Year!

      My goal for this year is to hatch and raise 100 ducks 🐣

      posted in General Discussion
      A
      arasbm
    • Resources for plugin development

      It has been about a year since I develop a nodebb plugin. I would like to get into plugin development again to add a few features to my makerspace community forum. I know that plugin APIs must have changed a bit since then. Is the developer documentation the best place to start looking to get up to date information about the latest patterns and API's we can use? Are there any other resources I should look at that would help me get up to speed again?

      posted in Plugin Development
      A
      arasbm
    • RE: Merry Christmas!!

      Merry Christmas and happy new year to everyone! Keep up the great work! 🎄 🎆

      posted in General Discussion
      A
      arasbm