Skip to content
  • Improving docker support

    General Discussion
    5
    4 Votes
    5 Posts
    479 Views
    SinisterSpatulaS
    I got it working! github.com/SinisterSpatula/.docker-dev I think we can definitely improve this, but I at least want to share my work in case there are others that want to use docker to develop a plugin, as it seems no one has really documented or shared their work when it comes to this, at least that I could find! [image: 1719177664679-a4dfa775-201c-4413-9926-f1ae9954810a-image.png]
  • 2023 Roadmap Update

    NodeBB Development
    7
    +0
    8 Votes
    7 Posts
    3k Views
    julianJ
    @phenomlab very true. A lot of talented people have done some surprisingly cool things with just the custom css panel.
  • February 2023 Developer Update

    NodeBB Development
    2
    4 Votes
    2 Posts
    404 Views
    julianJ
    I missed one from last night! @baris added a tag filter UI to the tags page https://community.nodebb.org/topic/16995/tag-filter-on-topic-list
  • Updated User and Flag Pages

    NodeBB Development
    1
    +4
    2 Votes
    1 Posts
    251 Views
    julianJ
    The updates continue unabated here, as we work on updating the Harmony theme, page by page! This past couple weeks, you might've noticed that the /users page got a refresh: [image: 1676060673707-screenshot-2023-02-10-at-15-24-08-community.png] Almost all of the elements have remained unchanged. There is no new information here, but it's absolutely shocking to see how much more balanced the page is compared to Persona. We also updated the flag list and details pages, to give those tireless content moderators a bit of a boost as well. You might notice that the list of flag filters in the sidebar has been updated to match the UI controls found in the /search page as well. [image: 1676060773934-screenshot-2023-02-10-at-15-21-31-nodebb.png] [image: 1676060780353-screenshot-2023-02-10-at-15-21-26-nodebb.png] Here is how it used to look on Persona: [image: 1676060791168-screenshot-2023-02-10-at-15-19-18-nodebb.png] [image: 1676060796357-screenshot-2023-02-10-at-15-19-24-nodebb.png]
  • Errors on Update to 1.7.1

    Bug Reports
    28
    0 Votes
    28 Posts
    9k Views
    KalbaskinK
    Had the same problem. Many thanks for the solution!
  • HELP! Update from 0.8 to 1.4

    Technical Support
    6
    0 Votes
    6 Posts
    3k Views
    O
    tom@ama:~/nodebb$ mongo nodebb MongoDB shell version: 3.2.12 connecting to: nodebb Server has startup warnings: 2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] 2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. 2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never' 2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] 2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. 2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never' 2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] show users { "_id" : "nodebb.nodebbsvc", "user" : "nodebbsvc", "db" : "nodebb", "roles" : [ { "role" : "readWrite", "db" : "nodebb" } ] }
  • 0 Votes
    5 Posts
    3k Views
    SergioNGS
    @baris well finally managed to get it working, I was missing to accept merging the branch when doing the pull.... but that was not enough as now it was showing me a problem with the widget essentials... so I checkout the commit for "up widget essentials" and that fixed it for me!! Thank you for your time @baris
  • NodeBB on docker

    Technical Support
    3
    0 Votes
    3 Posts
    6k Views
    F
    @a_5mith Yes I have already checked it. I have found a docker image created by @nopz, this one is up-to-date. But the official docker image in not! Maybe you (nodebb) should give access to a dockerfile to allow anyone to build a nodebb docker image. EDIT I found the dockerfile, and the problem about this outdated version here. It's outdated because the dockerfile build the image with the v0.5.x version : FROM centos:centos7 MAINTAINER NodeBB Docker Team <[email protected]> # install main packages: RUN yum -y update ; yum clean all RUN yum -y install epel-release tar ; yum clean all RUN yum -y install wget ; yum clean all RUN yum -y groupinstall "Development Tools" RUN yum -y install nodejs git ImageMagick npm RUN yum -y install openssl openssl-devel # clone nodebb and install it RUN cd /opt ; git clone -b v0.5.x https://github.com/NodeBB/NodeBB nodebb RUN cd /opt/nodebb ; npm install # Create a nodebb volume VOLUME /opt/nodebb # Define a working directory WORKDIR /opt/nodebb # Expose ports EXPOSE 80 EXPOSE 443 EXPOSE 4567 CMD [ "node", "app.js" ] You should (NodeBB) update this dockerfile ! End of the EDIT Now, with the nopz/nodebb image I just had a problem about plugin persistence. But the first installation is so much easier and automatic with just one docker. Thanks for your answer by the way
  • NodeBB admin panel forum software update?

    Feature Requests
    2
    0 Votes
    2 Posts
    2k Views
    P
    We do offsite installations and upgrades, message [email protected] Of course, we do have docs so you should try it yourself just back up everything first! Edit: to answer your original question, we do plan on building an upgrade button into our hosting plans control panel - right now we just upgrade customers manually. It's probably impossible (or hard) to make an app upgrade itself via acp, we would need to make the acp a standalone application (we've toyed around the idea, but not worth the development time)
  • Font Awesome Update

    General Discussion
    5
    1 Votes
    5 Posts
    3k Views
    NodeMonsterN
    I have successfully patched font awesome to 5.6.3. Both free or pro should work fine. As a total newbie to nodebb, there might be issues that I am not aware yet. Below is a simple script to assist any future updates. I have not fully tested the procedures. Proceed at your own risk! #!/bin/bash ######################################################################################################### ## copy latest font awesome's /webfonts/* to public/vendor/fontawesome/fonts ## ## copy latest font awesome's /less/_variables.less to public/vendor/fontawesome/less/variables.less ## ## copy latest font awesome's /less/_icons.less to public/vendor/fontawesome/less/icons.less ## ######################################################################################################### latestfa=`curl -s https://github.com/FortAwesome/Font-Awesome/releases | grep "tree" | head -1 | grep -o -P '(?<=title=).*(?=>)'` if ! grep $latestfa public/vendor/fontawesome/less/variables.less; then echo "Latest Font Awesome not copied yet!" exit 0; fi #Use back nodebb preferred font sizes sed -i 's#../webfonts#./vendor/fontawesome/fonts#; s/16px/14px/; s#2em#(30em / 14)#' public/vendor/fontawesome/less/variables.less #css for latest FA fonts cat <<EOF > public/vendor/fontawesome/less/path.less @font-face { font-family: 'FontAwesome'; font-style: normal; font-weight: 400; src: url("@{fa-font-path}/fa-brands-400.eot"); src: url("@{fa-font-path}/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("@{fa-font-path}/fa-brands-400.woff2") format("woff2"), url("@{fa-font-path}/fa-brands-400.woff") format("woff"), url("@{fa-font-path}/fa-brands-400.ttf") format("truetype"), url("@{fa-font-path}/fa-brands-400.svg#fontawesome") format("svg"); } @font-face { font-family: 'FontAwesome'; font-style: normal; font-weight: 400; src: url("@{fa-font-path}/fa-regular-400.eot"); src: url("@{fa-font-path}/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("@{fa-font-path}/fa-regular-400.woff2") format("woff2"), url("@{fa-font-path}/fa-regular-400.woff") format("woff"), url("@{fa-font-path}/fa-regular-400.ttf") format("truetype"), url("@{fa-font-path}/fa-regular-400.svg#fontawesome") format("svg"); } EOF #Delete the old font links sed -i '/fa fa-/d; ' src/views/partials/fontawesome.tpl #Get new icons into variable newfontawesome=`grep -o -P '(?<=fa-var-).*(?=:)' public/vendor/fontawesome/less/variables.less` #Make icon Links for i in $newfontawesome; do echo "Insert $i Into Template" echo "<i class=\"fa fa-$i\"></i>" >>/tmp/newfontawesome.txt done #Insert icons into template sed -i '/fa-icons/r /tmp/newfontawesome.txt' src/views/partials/fontawesome.tpl #insert the new font links #Fix notification bell grep -rl fa-bell-o | xargs sed -i 's/fa-bell-o/fa-bells/g' grep -rl fa-bell-slash-o | xargs sed -i 's/fa-bell-slash-o/fa-bell-slash/g' #Fix chats comment grep -rl fa-comment-o | xargs sed -i 's/fa-comment-o/fa-comments/g' #Fix setting gear grep -rl fa-gear | xargs sed -i 's/fa-gear/fa-cogs/g' #Fix clock grep -rl fa-clock-o | xargs sed -i 's/fa-clock-o/fa-clock/g' #Fix group grep -rl fa-group | xargs sed -i 's/fa-group/fa-users/g' #Fix floppy saving button grep -rl fa-floppy-o | xargs sed -i 's/fa-floppy-o/fa-save/g' #Fix Thumbs UP Down grep -rl fa-thumbs-o | xargs sed -i 's/fa-thumbs-o/fa-thumbs/g' #Fix Bookmark grep -rl fa-heart-o | xargs sed -i 's/fa-heart-o/fa-book-heart/g' #Fix ThumbTack grep -rl fa-thumb-tack | xargs sed -i 's/fa-thumb-tack/fa-thumbtack/g' #Fix Fork Topic grep -rl fa-code-fork | xargs sed -i 's/fa-code-fork/fa-handshake/g' #Fix Trash grep -rl fa-trash-o | xargs sed -i 's/fa-trash-o/fa-trash-alt/g' #Fix Rebuild grep -rl fa-refresh | xargs sed -i 's/fa-refresh/fa-sync/g' #Fix Mail Forward grep -rl fa-mail-forward | xargs sed -i 's/fa-mail-forward/fa-mail/g' #Fix Picture in Editor grep -rl fa-picture-o | xargs sed -i 's/fa-picture-o/fa-image/g' #Fix Emoji in Editor grep -rl fa-smile-o | xargs sed -i 's/fa-smile-o/fa-smile-wink/g' #Fix Rotate Left Right grep -rl fa-rotate-left | xargs sed -i 's/fa-rotate-left/fa-undo/g' grep -rl fa-rotate-right | xargs sed -i 's/fa-rotate-right/fa-redo/g' ./nodebb upgrade ./nodebb restart #Some icons like fa-clock-o in /recent and fa-group in /group have been renamed and are not compatible with the latest FA5. In order to change them, inspect the element in your browser, under iconPicker class abd change fa-clock-o or fa-group to fa-500px or something else that you can click on and change it.
  • 1 Votes
    2 Posts
    2k Views
    ShardS
    @ arasbm: There's some work being done to dockerize the install. If that doesn't do the trick for you, I expect some of the same automation will. https://community.nodebb.org/topic/3115/nodebb-centos-dockerfile/4
  • 0.5.3 Is Out ( CHANGELOG )

    General Discussion
    37
    1 Votes
    37 Posts
    18k Views
    S
    We found a few bugs popping up with the update. Will post them in a second.
  • I can't update forum engine from 0.5.0 to 0.5.1

    Bug Reports
    3
    0 Votes
    3 Posts
    2k Views
    KotoWolodK
    @julian ok, thx
  • 0 Votes
    7 Posts
    4k Views
    barisB
    @a_5mith if you are quoting from a different topic it puts in a link to that topic but it was using the old format which is fixed now. https://github.com/NodeBB/NodeBB/issues/1840
  • plugin-update on this page

    General Discussion
    12
    1 Votes
    12 Posts
    5k Views
    barisB
    @frissdiegurke either that or text complete can be a standalone plugin that other plugins can add stuff into.