How to remove the "create gist" and "view archives" buttons at the button? I am running latest npm release 0.3.4 (should I use something else? strangely, I seem to remember a few years ago this was possible.)
Thank you!
How to remove the "create gist" and "view archives" buttons at the button? I am running latest npm release 0.3.4 (should I use something else? strangely, I seem to remember a few years ago this was possible.)
Thank you!
Hi all,
First of all, thank you for this great piece of software and solid adherence to legislative compliance.
My question / request is:
What is the (currently) best way to customize the registration process?
What I am interested in is moving all the personal information consent related text in the "Registration complete" page to the main registration page (with smaller text.) Removing the checkboxes and instead stating something among the lines of "By clicking 'Submit' I consent to the collection and processing of my personal information on this website"
Thank you!
@PitaJ Perfect, thanks a ton!
Finally, regardless of grunt, according to this:
https://docs.nodebb.org/development/#selective-building-of-assets
./nodebb build
does support selective building, but the link in the doc above "The full list is can be found in the codebase itself." is not helpful Is there a better link for a full list?
Thank you!
I would use npm link but as I mentioned I work with a separate repo, which includes other code and is organized differently than a nodebb-plugin npm module. So my script is a bit more complex than just "copy a directory" over.
However, npm link essentially does symlinks so it would make sense to convert my script to symlink everything instead of copy. So thank you for this!
Last question about grunt, going back to the original topic, would it just:
run
grunt
which will both build stuff whenever anything changes, and run and restart the NodeBB server automatically.
or would it actually trigger only "sub-builds" (ie, only build a certain plugin and nothing else) ?
Thanks
Nope, here is what I found googling "nodebb grunt flow":
https://github.com/NodeBB-Community/nodebb-grunt/wiki/Workflow
I'm a little bit lost there too, so could use a bit more documentation if available
With that node-grunt
repo, do I clone it inside NodeBB repo? Also, what is a g
module? I suppose it is a grunt-like module (which decides which files to keep track of for you basically?)
Anyway, if possible please point me to some more docs.
Here is my workflow: I do my NodeBB plugin work in another repo, whenever I wonna test, I simply run a script that copies everything to nodebb/node_modules/nodebb-plugin-my-plugin
and runs a ./nodebb build
This honestly serves me well, I just wonder if its possible (or even feasible) to do something like ./nodebb build plugin my-plugin
Is there a way to have ./nodebb build
only build a specific plugin's content and inject its JS library into NodeBB?
(and better yet, separate those two out, one build task to only build content (which case does not even need NodeBB restart) and another to inject JS library)
I don't know if this a lot to ask for, but it would greatly accelerate my cycles, build is something I can run a couple times per minute when iterating quickly, even shaving 4-5 seconds off it would actually mean a lot to me.
@PitaJ Worked great. Thank you!
Apologies for the evil resurrection, just got back into NodeBB after a loooong break
The way I render my widget is as such:
plugin.renderGlobalStats = function (widget, callback) {
...
widget.req.app.render('widgets/globalstats', renderData, callback);
This throws the warning this thread is about.
How should I go about fixing this? I assume reading my template file (widgets/globalstats.tpl
) and assigning it as string to data.html
(in this case, widget.html
?) is not pretty
How should I render a widget html template?
that all depends on how many millions of posts you plan to get
that leads me to wonder, are there any benchmark posts on performance and resource utilization? that would be nice. nodebb team? ^_^ @administrators
@julian unit types are hidden until they fight. the scout needs to know which unit is the actual enemy's base, and if it makes a mistake, it will die. Also, yes the base can be simply covered by any other unit. Scouts only move in a straight line.
Zone of Control is a GREAT idea, I will look into that. It may come into upcoming versions of the game, but it will need to be play tested first.
The current rule-set has been play tested with a couple friends for over 250 games and was designed with balance in mind. Try a few games, play a best out of 7 with someone! (like me)
I noticed this issue too. Just curious, is there any reason why this was merged into the v1.x.x branch instead of master?
@psychobunny i originally developed the game component as a standalone , and then just baked it into nodebb as a plugin.
By the way, I have an official website up for it now: tactiqo.com
I see you guys joined on the heroku up, thank you for checking it out! Lets play some games on tactiqo.com now
@yariplus that was it, amazing troubleshooting. once again thank you, you are awesome.
May I please get some help, I am getting this browser warning:
Mixed Content: The page at 'https://www.tactiqo.com/topic/4/tactiqo-is-born' was loaded over HTTPS, but requested an insecure image 'http://www.tactiqo.com/plugins/nodebb-plugin-emoji-one/static/images/1f600.svg'. This content should also be served over HTTPS.
I am using this nginx conf (stripped down to relevant info, i tested without nginx static content serving, same issue):
server {
listen 80;
return 302 https://$server_name$request_uri;
}
server {
listen 443 ssl spdy;
#SSL cert stuff
#proxy header stuff
location / {
proxy_pass http://127.0.0.1:4567;
}
}
It looks like this error only happens with static content served from the emoji plugin, where looking at the network traffic, the initiator for the emoji images is a full http://... address while for all other static files it is nodebb.min.js
@yariplus thank you, that brought the missing slash back
@baris damn that was fast... did you test? hahaha jk
Hi, it seems that src/sitemap.js is hardcoded to fill pages.xml with 4 specific URLs:
https://github.com/NodeBB/NodeBB/blob/master/src/sitemap.js#L56
Is there a way/feature to override this URL list without patching the nodebb source code itself?
Thank you!
Hi, I got a website getting ready to launch, trying to iron out few little quirks:
I am using persona with the slate skin, the skin is causing an issue on small screens (mobile) when browsing topics, the topic path on top is missing a slash, it looks like so:
All I really want to do is make it look the same as in the default style (without slate skin):
May I get a pointer to the custom CSS I should modify? I was poking around but I really suck at this kind of stuff.
By the way, here is my test website (with a multiplayer board game ready to be played): https://limitless-fjord-25395.herokuapp.com