[nodebb-plugin-custom-pages] Custom Static pages for 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.user
global. 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>
-
-
@vitasllc The best place to learn about customizing NodeBB is to start with the docs:
https://docs.nodebb.org/en/latest/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:
https://community.nodebb.org/category/7/nodebb-plugins -
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?
-
@psychobunny
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.
Thanks much! -
-
Hopefully you can update this soon. Thanks
-
Nothing seams to be updated on nodebb-plugin-custom-pages plugin. Is the core patched and does v.1.3.0 work now?
-
Should be good now as of 1.4.0, apologies for the late reply.