Here comes my first plugin!
https://github.com/Jenkler/nodebb-plugin-postlink
This plugin is great to have in case you want to add a prefix on the links in a post. I use this to send people through a proxy.
I hope this helps someone
I am a professional IT-consultant, experienced to balance and deal with a variety of IT-tasks. My company also operates other exciting project for web, engineering, finance and games.
More about my company at https://www.jenkler.se
And of cause my NodeBB forum is found at https://www.uex.se
If you speak swedish, say "hej" to me!
Here comes my first plugin!
https://github.com/Jenkler/nodebb-plugin-postlink
This plugin is great to have in case you want to add a prefix on the links in a post. I use this to send people through a proxy.
I hope this helps someone
I use mongodb, here is the solution: // I just wanted to share
// Show collections
show collections
// Find the userid you want to add to the
db.objects.find( { "_key" : "username:uid" } )
// Find members id in administrators group
db.objects.find( { "_key" : "group:administrators:members" } )
// To update, 3 was my userid
db.objects.update( { "_id" : ObjectId("54022b7f60757d4944a05931") }, { "_key" : "group:administrators:members", "members" : [ "1", "2", "3" ] }, { upsert: true }
More info here
Worth to mention is that it will take time to fully understand docker and how to use it best. I was skeptical in the beginning but now I Love it
I will keep to the ACP css for now. Here is what i have done Feel free to comment
a { color: #ca2e3d; }
a:focus, a:hover { color: #a51624; text-decoration: none; }
body { color: #4a4a4a; background: #f5f5f5; }
.account-username-box .open #profile
{
background-color: #3fae28;
border-color: #288e13;
}
.alert-warning
{
background-color: #d17330;
border-color: #aa5417;
color: #fff;
}
.btn-primary.active{ background-color: #3fae28; border-color: #288e13 }
.btn-info
{
color: #ffffff;
background-color: #3fae28;
border-color: #288e13;
}
.btn-info:hover, .btn-info:focus, .btn-info.focus, .btn-info:active, .btn-info.active, .open>.dropdown-toggle.btn-info
{
color: #ffffff;
background-color: #288e13;
border-color: #288e13;
}
.btn-primary
{
color: #ffffff;
background-color: #ca2e3d;
border-color: #a22531;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary
{
color: #ffffff;
background-color: #a22531;
border-color: #a22531;
}
.btn-primary:disabled, .btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary.focus, .btn-primary.disabled:active, .btn-primary:active, .btn-primary.disabled.active, .btn-primary.active
{
background-color: #1e8375 !important;
border-color: #0e6b5e !important;
}
.btn-warning {
color: #fff;
background-color: #d17330;
border-color: #aa5417;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning.focus, .btn-warning:active, .btn-warning.active, .open>.dropdown-toggle.btn-warning
{
color: #fff;
background-color: #aa5417;
border-color: #aa5417;
}
.forum-logo { padding-right: 10px; }
/*input:focus, select:focus, textarea:focus
{
border-color: #a22531 !important;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(165, 22, 36, 0.6) !important;
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(165, 22, 36, 0.6) !important;
}*/
.mobile-navbar { background: #ca2e3d !important; }
.navbar-default { background-color: #ca2e3d; border-color: #a51624; }
.navbar-default .navbar-nav>li>a, .navbar-nav>li, .navbar-default .navbar-nav>li>a:focus { color: #fff; }
.navbar-default .navbar-nav>li>a:hover
{
background: #a51624;
color: #fff;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus
{
background: #a51624;
color: #fff;
}
.navbar-default .btn-link, .navbar-default .btn-link:focus
{
color: #fff;
}
.navbar-default .btn-link:hover
{
background: #a51624;
color: #fff;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
background: #a51624;
color: #fff;
}
.navbar-default .navbar-toggle { border-color: #a22531; }
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background: #a22531;
color: #fff;
}
.navbar-default .navbar-toggle .icon-bar { background: #fff; }
.navbar-default .navbar-brand {
color: #fff;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus
{
background: #b4103a;
color: #fff;
}
.panel-info>.panel-heading
{
color: #ffffff;
background-color: #ca2e3d;
border-color: #a51624;
}
.topic .pagination-block { background-color: #a51624; }
.topic .pagination-block .progress-bar { background-color: #ca2e3d; }
.wrapper { color: #fff; }
#menu .notification-list li a, .header .notification-list li a { color: #4a4a4a; }
#menu .notification-list li.unread, .header .notification-list li.unread { background: #eeeeee; }
#nprogress .bar { background: #fff; }
#nprogress .spinner-icon { border-top-color: #fff; border-left-color: #fff; }
This code is for: https://www.jenkler.se (If you want to see it live)
I am looking forward to install this plugin when its more playable. Would be cool to have a game on out community site.
Keep up the good work! @psychobunny
I my opinion Nodejs and Nodebb is the best thing that has happened for a long time!
I myself have the LAMP skills and i feel that everything i know is a temporary waste, but i feel the need to evolve and learn something new and better. At the moment i use Nodebb and PHPBB as forum software and if it weren't for the migration hassle i would migrate all my forums to NodeBB. (I use phpbb 3.1)
I feel that NodeBB is in the baby stage ie 0.x.x and not even a 1.0. yet. But i really like it and it has a lot of promise in my mind. My project at the moment is to build a "package" that i can use for all my customer instead of Wordpress (BTW Wordpress sucks but i dont have time to setup systems fast when writing everything from scratch for customers)
Here is my temporary dev: http://dev.web.nodebb.se/ (As you can see, it works great for webpage usage)
What I looking for is
At the moment I have everything that i need except the smtp and mail stuff and maybe the question on stability for production use
I just want to say, thanks to all the people making this possible
Here are some tips!
@Apple-Pro Where does it say that we have free support? Nowhere, thats why we don't have it. Note that you have the option to pay https://nodebb.org/pricing, its right there in plain site. If you support us you CAN complain. Otherwise NO!
BTW, it cost a lot to have support for a produkt. In my eyes i cant understand that this product is free at all and no money banners at all. I try to do my best to support the community even if it's not much. Nothing is free in life.
Complain is the last thing you do if something is free! Just state you point why this platform is not for you and move on with your life.
For all the active developers in this community
Is it possible to set viewable for non guests for posts or threads?
How is the data for post history stored, any tips on making this manual query?
Using mongodb, but its kinda dangerous with raw queries. Need to make backup first.
Maybe add a low prio TODO for a "cleanup" admin page
Is there a safe way to clear the post history for db optimize. I know I can disable post history but its nice to have it enabled.
A clear function would be nice or "clear all except x posts"
Nice one @baris. Fun to learn something new everyday
I was trying to troubleshoot this issue but did not find any way for a more verbose nodebb build. Is it possible to see what the build script is doing step by step.
Like bash -x does as an example?
@gotwf said in Nodebb with alpine node that uses musl:
SmartOS
But "SmartOS is a free and open-source SVR4 hypervisor based on the UNIX operating system". That has nothing todo with musl. I get that its better to run what everyone else is running but Alpine linux is big and have good compability with glibc.
@julian Have you noticed any issue with Nodebb and musl? We can always patch the bugs if there are any
Is there any issues with nodebb on musl (no glibc). It there anyone that use alpine linux and node? Any bugs?
I am going to change from Gentoo to Alpine!
Is it possible to add an composer button to att this
|==========>
Rating:
Count:
First:
Last:
Comment:
<==========|
This plugin works as it should but I need a file organizer for blob storage too. Any tip, if there are no plugin for this maybe there are som other standalone projekt for file organizer for azure blobs.
I found this:
https://github.com/sebagomez/azurestorageexplorer/blob/master/README.md
But it would be nice with some more options.