'Popular' date filter

Technical Support
  • Is there a way to be able to filter topics on a category page by:

    • day
    • week
    • month

    The functionality that exists on the 'popular' page in NodeBB has the functionality I need, but adding ?term=daily into the URL doesn't update the category page listings.

  • I re-wrote the category controller (src > controllers > category.js) to handle passing ?term=x query through and only getting the relevant topics.

Suggested Topics

  • Emoji's stopped working

    Solved Technical Support
    0 Votes
    15 Posts

    @PitaJ that works ! Thanks very much.

  • 0 Votes
    2 Posts

    They already fix it.

  • 0 Votes
    4 Posts

    I think running ./nodebb upgrade is actually applicable to all NodeBB versions now. Should make the appropriate changes to docs @PitaJ ...

  • 0 Votes
    8 Posts

    Right it's fixed 🙂

  • 0 Votes
    14 Posts

    @ron_jeremy said:

    I'm not 100% sure.

    I have "failed" to install NodeBB on a DigitalOcean Droplet about 25 times by now. Seriously, I'm not exaggerating. The people at DO must have wondered "wtf is this guy doing?" because I was creating and destroying Droplets non-stop for days.

    I think what made the difference for me this time was not installing redis or nodejs as per the official NodeBB install document. Instead, I only installed the Chris Lea files.

    I was so tired to trying different methods of installation I actually started keeping a log of what I was doing. I got it down to where only a few lines would change, and I am pretty sure this is what finally worked for me (remember, this is on a DO Droplet running Ubuntu 14.04 x64):

    add-apt-repository ppa:chris-lea/redis-server apt-get update apt-get install redis-server apt-get update apt-get install git apt-get install build-essential apt-get install imagemagick apt-get install python-software-properties add-apt-repository ppa:chris-lea/node.js apt-get update && apt-get dist-upgrade mkdir nodebb git clone git://github.com/designcreateplay/NodeBB.git nodebb cd nodebb npm install node app --setup
    - only modify first line where I enter my server's address http://your.server.ip.address (without the port) and hit 'Enter' for all other options node app
    - Now you can go to http://your.server.ip.address:4567 to see the forum

    I have try this but when i go to npm install
    i get this :
    E: Unable to correct problems, you have held broken packages.

    Got fixed with :

    apt-get remove --purge nodejs npm
    curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
    apt-get install nodejs