Yes you can use them inside the AMD module but keep in mind once you add an event listener on the window object it will be called everytime there is an action:ajaxify.end. If you don't want it triggered after you leave that page you need to turn it off with $(window).off('eventName', myMethod)
[nodebb-plugin-custom-pages] Custom Static pages for NodeBB
0.3.xversions of this plugin seem to require an unstable branch of NodeBB. You should stay with
0.2.xversions until NodeBB
Yes ! It is help ! Master 1.0.3
Who know how use internal variable of nodebb or redis field?
Need transfer username and e-mail to external form ..
I use html widget inside custom-pages ! All work and JS so ..
How put inside form fields that have default with username e-mail and another fields ?
@vitasllc For user fields, you can use the
app.userglobal. For example, in an HTML widget, this would work...
<form> User: <input name="username" type="text"><br> Email: <input name="email" type="text"> </form> <script> $('[name="username"]').val(app.user.username); $('[name="email"]').val(app.user.email); </script>
May be u know how do after post form write to redis database..?
When we submit external form and callback to nodebb from PayMent gateway need write PayMent ID and some other parameters to redis nodebb user
I begin write nodebb-plugin-callback
In what place add route ?
and to look at the source of plugins that do something similar to what you want to do:
(this one is very basic) https://github.com/NodeBB/nodebb-plugin-quickstart
(maybe search npm) https://www.npmjs.com/search?q=nodebb-plugin-
and finally to ask questions to the wonderful community here when you aren't able to find answers:
im trying to delete an item, i already deleted it via the options page for the custom page, but its still showing up in the header, any ideas?
mudmanc4 last edited by
This plugin could use some documentation.
Any links google is hiding from me?
Such as bbcode images, html formatting images, even the gallery lightbox plugin with this.
Tahru last edited by
I absolutely love this plugin. It was a real game changer for me. Thank you very much!
I think I'm having issues related to this plugin after update to very latest 1.2.1. Node restart crashes with:
error: Error: ENOTEMPTY: directory not empty, rmdir '/root/nodebb/public/templates'
That directory contains .tpl files for static pages.
MJ last edited by
After upgrading to 1.3.0 this plugin makes NodeBB crash.
After enable this plugin the forum won't restart anymore. After using
./nodebb reset -p nodebb-plugin-custom-pagesNodeBB can start again.
Have more people this problem?
Yes, it's an upgrade blocker for us but then we don't really need upgrading.
absurdsmash last edited by
Hopefully you can update this soon. Thanks
This plugin works fine on master branch.
Nothing seams to be updated on nodebb-plugin-custom-pages plugin. Is the core patched and does v.1.3.0 work now?