[nodebb-plugin-custom-pages] Custom Static pages for NodeBB
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?
1.4.0 at least appears to just work.
Should be good now as of 1.4.0, apologies for the late reply.
Hi, I just installed the plugin via the admin control panel in v1.4.3. I activated the plugin and restarted, but it doesn't show in the drop down plugin list, although it appears in the list of all plugins from the extend menu.
I'm not sure If i have done something wrong with the installation or have misunderstood how to use the plugin. Any help would be appreciated, thank you!