@gotwf I'm not sure it's been weeks ago I wrote this.
Maybe I did not find this or something didn't work for me. I can't tell you...
Greets
@gotwf I'm not sure it's been weeks ago I wrote this.
Maybe I did not find this or something didn't work for me. I can't tell you...
Greets
i installed the plugin, what i have to do after the installation? (i'm sorry about the english, cause i'm from israel... )
NodeBB Community (community.nodebb.org)
It was discussed here a few days ago.
@anodetobb If you often use pictures in your forum I would recommend my lil plugin
Hey! Today I want to share my newest plugin with you guys. Its called makesmart-image-gallery. Live Demo https://nodebb.development.fail/topic/3/image-gal...
NodeBB Community (community.nodebb.org)
Found this. Does it fix it?
This CSS will fix that li.col-md-3.col-sm-6.col-xs-12.recent-card-container { width: 290px !important; }
NodeBB Community (community.nodebb.org)
@esha This should help you.
Node.js based forum software built for the modern web - Releases 路 NodeBB/NodeBB
GitHub (github.com)
@chez Yes I meant this.
But I didn't know you are on windows.
Don't know the commands for windows.
@ab Probably to your website.
@thalix Apparently there is no possibility via the write API.
Maybe this will help you:
https://github.com/NodeBB/NodeBB/blob/728ac5ff72dfd2300ebb80039d41b35013ffab4d/src/notifications.js
I don't really know, if this will help you, but:
If you change e.g sorting inside recent-Page from All Topics
to New Topics
the page refreshes and the URL turns from
https://nodebb.development.fail/recent
to
https://nodebb.development.fail/recent?filter=new
Once the page reloads, your hook filter:topics.get
should be fired again. But in this case, with the filtering changed via dropdown. You have the get parameter ?filter=new
to work with serverside.
Maybe this is an option for you. You can use your template in combination with javascript to trigger an .change()
or .click()
-Event on your custom dropdown menu.
Here is a little snippet.
$(window).on('action:ajaxify.end', function(data) {
let currentUrl = $(location).attr('href');
$('div#content').prepend('<a href="#" id="reloadTrigger">This is a example</a>');
$('a#reloadTrigger').click(function(){
window.location.href = currentUrl + "?filter=true";
})
});
This prepends a a-Element before content-Div:
Once you click on This is a example
the url turns from
https://nodebb.development.fail/
to https://nodebb.development.fail/?filter=true
And your hook filter:topics.get
should be fired again. Now you could work with the GET-Parameter filter=true
.
Hope this helps and inspired you.
Cheers
@chez No I meant not DB-Version. I talk about NodeBB version.
Are there any erros if you run
./nodebb start && ./nodebb log
@chez what version of nodebb are you running?
And are there any errors on startup nodebb?
@chez any errors in your clientside console? (Chrome dev tools e.g) Or serverside as well?
@phenomlab use ajaxify end instead of document ready.
Document ready is only fired on a hard page load.
Ajaxify is fired on hard page load as well when navigating between pages after first visit / hard reload.
$(window).on('action:ajaxify.end', function(data) {
// it's fired everytime
});
@chez I had issues with thumbnails too.
I edited the database entries for that tumbnails.
Do you receive an error like "no valid file" or something other errors?
Hello Guys!
I was trying to get Apache2 to work as a proxy. Finally I did it but I have had a few issues:
HTTP
https://
in my config.json
I struggled about 3 hours to get it work. Now my NodeBB-instance is running under the hood of Apache2 - delivered by a subdomain. Everything is working. So I just want to share my Apache2 configuration so that you do not have to struggle with the same things.
Apache2 configuration:
<IfModule mod_proxy.c>
ProxyPass /.well-known/acme-challenge !
</IfModule>
Alias /.well-known/acme-challenge /home/dogs/www/.well-known/acme-challenge
ProxyPass / http://127.0.0.1:4567/
ProxyPassReverse / http://127.0.0.1:4567/
# Required for websockets
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
RewriteRule .* ws://localhost:4567%{REQUEST_URI} [P]
# Required to tell its external port
RequestHeader set X-Forwarded-Port "443"
RequestHeader set X-Forwarded-Proto "https"
Maybe you can remove
Alias /.well-known/acme-challenge /home/dogs/www/.well-known/acme-challenge
or change it to another path!
For SSL-Encryption you can simply use certbot or whatever. Apache2 is still fully customizable and only works as a reverse proxy.
Bye bye
@aleksei I read your topic: https://community.nodebb.org/topic/15252/execute-custom-js-on-infinite-scroll and saw you're dealing with C4D-Files.
Get responsive embed codes for YouTube, Vimeo, Instagram, SoundCloud, Giphy and over 1900 other domains
(iframely.com)
10 000 hits are on us during your first month.
But even if you self host it, it's very easy to install and run.
There are just a few steps:
git clone https://github.com/itteco/iframely.git
cd iframely
npm install
cp config.local.js.SAMPLE config.local.js
node server
And you are ready to go.
After that you can configure caching and whatever. But the basic server is installed and running within 2 minutes.
To close a topic use topic tools:
What plugin(s) should I use in order to add custom fileds (Sex, Date of Birth etc.) to user registration form?
Thats a really good question. I need that to. Is there anything available? Couldnt get https://github.com/NicolasSiver/nodebb-plugin-ns-custom-fields to work... Would be perfect.