Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. skaughtx0r
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 25
    • Best 3
    • Groups 0

    skaughtx0r

    @skaughtx0r

    3
    Reputation
    510
    Profile views
    25
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    skaughtx0r Unfollow Follow

    Best posts made by skaughtx0r

    • RE: Design discussion

      @julian said:

      Haha, you're right! I guess that means your suggestions were very good 🙂

      Edit: Still thinking of changing the "envelope" to fa-comment-o with a # inside of it.

      I like that idea

      posted in General Discussion
      S
      skaughtx0r
    • RE: Gotchas for 0.3.0

      @bentael said:

      nodebb-plugin-emailer-mandrill

      basically copied your mailgun files,
      Ctrl+R "mailgun" "mandrill"
      npm publish

      don't try this at home

      I tried it at home, and it worked! Thanks for the plugin!

      posted in NodeBB Development
      S
      skaughtx0r
    • RE: How To: Using websockets in your plugin

      Thanks @Mr_Waffle !

      I started implementing this method in my static page plugin. I actually saw it in your shoutbox code on github (and stole it 😉 ) before you wrote this how to.

      posted in NodeBB Plugins
      S
      skaughtx0r

    Latest posts made by skaughtx0r

    • RE: How To: Using websockets in your plugin

      Thanks @Mr_Waffle !

      I started implementing this method in my static page plugin. I actually saw it in your shoutbox code on github (and stole it 😉 ) before you wrote this how to.

      posted in NodeBB Plugins
      S
      skaughtx0r
    • RE: [Solved] nodebb crashing after pulling latest

      @psychobunny Oh, maybe I didn't understand the new staticDirs mapping.

      I had it set to:

      "staticDirs": {
          "public":"public"
      }
      

      OK, just did a test and changing "staticDirs" worked. It's not super obvious what the objects meant, since the example I saw just had "public":"public".
      I changed it to be:

      "staticDirs": {
          "pathName": "actualDirectory"
      }
      

      and that worked.

      Here's what my working config looks like:

      "staticDirs": {
          "leaguezone":"public"
      }
      

      and addScripts:

      addScripts: function(scripts, callback) {
          return scripts.concat([
              "plugins/leaguezone/js/transparency.min.js",
              "plugins/leaguezone/js/leagueZone.js",
              "plugins/leaguezone/js/results.js",
              "plugins/leaguezone/js/leagues.js"
          ]);
      }
      

      Thanks!

      posted in Bug Reports
      S
      skaughtx0r
    • RE: [Solved] nodebb crashing after pulling latest

      @julian This is what I have in addScripts, but it appears to be crashing before it ever gets called.

      addScripts: function(scripts, callback) {
      	return scripts.concat([
      		"plugins/nodebb-plugin-static-leaguezone/js/transparency.min.js",
      		"plugins/nodebb-plugin-static-leaguezone/js/leagueZone.js",
      		"plugins/nodebb-plugin-static-leaguezone/js/results.js",
      		"plugins/nodebb-plugin-static-leaguezone/js/leagues.js"
      	]);
      }
      
      posted in Bug Reports
      S
      skaughtx0r
    • [Solved] nodebb crashing after pulling latest

      I just pulled the latest from github and now my forum is crashing. It appears to be tied to my static-page plugin filter:scripts.get hook. If I remove that hook, it doesn't crash.

      Here's the dump:

      info: [plugins] Hook registered: filter:admin.header.build will call nodebb-plugin-static-leaguezone
      info: [plugins] Hook registered: filter:admin.create_routes will call nodebb-plugin-static-leaguezone
      info: [plugins] Hook registered: filter:header.build will call nodebb-plugin-static-leaguezone
      info: [plugins] Hook registered: filter:server.create_routes will call nodebb-plugin-static-leaguezone
      info: [plugins] Hook registered: filter:scripts.get will call nodebb-plugin-static-leaguezone
      info: [plugins] Hook registered: action:app.load will call nodebb-plugin-static-leaguezone
      info: [plugins] Loaded plugin: nodebb-plugin-static-leaguezone
      info: [plugins] Sorting hooks to fire in priority sequence
      info: [plugins] Plugins OK
      
      path.js:360
              throw new TypeError('Arguments to path.join must be strings');
              ^
      TypeError: Arguments to path.join must be strings
          at path.js:360:15
          at Array.filter (native)
          at Object.exports.join (path.js:358:36)
          at /home/skaught/www/digitalhydros/nodebb/src/meta.js:255:20
          at Array.map (native)
          at Object.<anonymous> (/home/skaught/www/digitalhydros/nodebb/src/meta.js:249:24)
          at /home/skaught/www/digitalhydros/nodebb/src/plugins.js:277:16
          at /home/skaught/www/digitalhydros/nodebb/node_modules/async/lib/async.js:251:13
          at /home/skaught/www/digitalhydros/nodebb/node_modules/async/lib/async.js:139:25
          at /home/skaught/www/digitalhydros/nodebb/node_modules/async/lib/async.js:248:17
      

      Also, here's my hooks from plugin.json

      "hooks": [
      	{ "hook": "filter:admin.header.build", "method": "init.admin.addNavigation", "callbacked": false },
      	{ "hook": "filter:admin.create_routes", "method": "init.admin.addRoute", "callbacked": true },
      	{ "hook": "filter:header.build", "method": "init.global.addNavigation", "callbacked": false },
      	{ "hook": "filter:server.create_routes", "method": "init.global.addRoute", "callbacked": true },
      	{ "hook": "filter:scripts.get", "method": "init.global.addScripts", "callbacked": false },
      	{ "hook": "action:app.load", "method": "init.load", "callbacked": false }
      ]
      
      posted in Bug Reports
      S
      skaughtx0r
    • RE: Users can't reset password, Reset Password button is disabled

      Thanks @baris!

      posted in Bug Reports
      S
      skaughtx0r
    • Users can't reset password, Reset Password button is disabled

      I had a user telling me he couldn't reset his password, so I went through the process.

      I entered my email and clicked reset password. I received an email with a link back to my forums.

      When I open the password reset link, I can enter a new password, but the Reset Password button is disabled.

      I'm using latest code from github.

      posted in Bug Reports
      S
      skaughtx0r
    • RE: [nodebb-plugin-elasticsearch] Just started

      @julian, sorry to derail the thread, but is there a running list of available hooks somewhere, so we don't have to search through code?

      posted in NodeBB Plugins
      S
      skaughtx0r
    • RE: How do you get to the Nginx configuration

      @barveyhirdman said:

      @kevin you shouldn't edit /etc/nginx/sites-enabled directly.

      The normal flow of enabling sites is

      • nano /etc/nginx/sites-available/<site-name>
      • write config
      • ln -s /etc/nginx/sites-available/<site-name> /etc/nginx/sites-enabled/<site-name>

      This creates a symbolic link to the file in sites-available. Anyway, the default config is usually in the default file, other than that a good convention can be <subdomain>.<domain>, or in your case just californiamotorcycleforum.com

      For some reason when I did the symbolic link nginx didn't pick it up, I had to just copy the file from sites-available to sites-enabled.

      posted in General Discussion
      S
      skaughtx0r
    • RE: Dev environment

      I've been using cloud9 ide https://github.com/ajaxorg/cloud9/ for nodejs stuff.

      posted in NodeBB Development
      S
      skaughtx0r
    • RE: Who is using NodeBB?

      @psychobunny, I got nginx proxy running now, so you can change mine to just http://digitalhydros.uhlhydroplanes.com/

      That's still not the permanent url yet though (which is why I hadn't posted it in here yet).

      posted in General Discussion
      S
      skaughtx0r