Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. geek
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 17
    • Posts 35
    • Best 1
    • Groups 0

    geek

    @geek

    1
    Reputation
    639
    Profile views
    35
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    geek Unfollow Follow

    Best posts made by geek

    • Hiding subcategories of a particular category on the homepage

      Hi guys,

      I would like to hide the subcategories of a particular category on the main page (there are many subcategories and the list is long).

      Is there a way to do this in NodeBB?

      Thanks,
      Josh

      posted in NodeBB Development
      G
      geek

    Latest posts made by geek

    • RE: Hiding subcategories of a particular category on the homepage

      @pichalite Hmm, is there a way to hide a particular category by modifying the template file?

      Here's what I'm doing now, but I was wondering if there is a better way:
      $('.categories li div:has(h2 a[href$="CATEGORY-NAME"]) .category-children').addClass("hidden");

      posted in NodeBB Development
      G
      geek
    • Hiding subcategories of a particular category on the homepage

      Hi guys,

      I would like to hide the subcategories of a particular category on the main page (there are many subcategories and the list is long).

      Is there a way to do this in NodeBB?

      Thanks,
      Josh

      posted in NodeBB Development
      G
      geek
    • RE: Updating User Profile picture using Write API

      @pichalite Sigh alright, thanks for the help.

      posted in NodeBB Development
      G
      geek
    • RE: Updating User Profile picture using Write API

      @pichalite I tried using http://localhost:4567/images/logo.png to test it out, but it didn't work.

      posted in NodeBB Development
      G
      geek
    • RE: Updating User Profile picture using Write API

      @pichalite Hmm, alright. Is there another hook that I can use to update a user's profile picture?
      Haven't been able to find documentation for the hooks.

      posted in NodeBB Development
      G
      geek
    • Updating User Profile picture using Write API

      Hi,

      I am trying to update a user's profile picture using the Write API.

      Here's what I have so far, but it isn't working:

      var image = {
      	name: "profileCover",
      	path: "test.png",
      	uid: 1
      };
      
      socket.emit('user.updateProfile', image, function(err, data) {
      	console.log(data);
      });
      

      Can anyone provide some help?

      Thanks!

      posted in NodeBB Development
      G
      geek
    • Render current URL in template file

      Hi,

      I am in the process of developing a NodeBB theme, and was wondering if it is possible to get the current URL in a .tpl file. Maybe something like {current_url}?

      Thanks for the help!

      posted in NodeBB Development
      G
      geek
    • RE: Using a hook to pass variables between client and server

      @yariplus Thanks!

      posted in Plugin Development
      G
      geek
    • Using a hook to pass variables between client and server

      I'm trying to pass server-side data into the client side JavaScript file. Is there a way I can do this (maybe using a hook)?

      Sorry, I am new to NodeBB.

      posted in Plugin Development
      G
      geek
    • Using NodeBB with AngularJS

      We are working on a project that uses Angular and would like to use NodeBB for our forum. We tried importing Angular and it completely broke NodeBB.

      Not sure if the two are compatible. Any help would be appreciated!

      posted in Technical Support
      G
      geek