official paid membership plugin

Unsolved NodeBB Plugins

Suggested Topics


  • 3 Votes
    1 Posts
    144 Views

    GitHub - NodeBB/nodebb-plugin-debug-hook: A plugin to see parameters passed to hooks in real time

    A plugin to see parameters passed to hooks in real time - GitHub - NodeBB/nodebb-plugin-debug-hook: A plugin to see parameters passed to hooks in real time

    favicon

    GitHub (github.com)

    Sometimes you need to see the result of some filter/action on a live/prod instance and it is not easy to add a console.log and restart.

    This plugin allows you to select a plugin hook and see the resulting data after all plugins are done executing their hooks.

    Here is a sample from running it against filter:search.query

    d0347032-02ff-4dcc-83a8-8bc039b4b297-image.png

    The output is updated automatically every time you trigger the hook.

  • katex plugin problem

    NodeBB Plugins
    2
    0 Votes
    2 Posts
    846 Views

    Another way is to put the following into your custom header:

    <script type="text/x-mathjax-config"> MathJax.Hub.Config ({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], skipTags: ["<pre>","<span>"] }, TeX: {equationNumbers: {autoNumber: "AMS"}, extensions: ["color.js"], Macros: {ra: "{\\rm a}", rb: "{\\rm b}", rgh: "{\\rm rgh}", rD: "{\\rm D}", cell: "{\\rm cell}", drag: "{\\rm drag}", lift: "{\\rm lift}", rd: "{\\rm d}", Kd: "{\\rm Kd}", rc: "{\\rm c}",rN: "{\\rm N}",tr: "{\\rm tr}",dev: "{\\rm dev}",mag: "{\\rm mag}",max: "{\\rm max}",min: "{\\rm min}",exp: "{\\rm exp}", rq: "{\\rm q}", rE: "{\\rm E}", dpm: "{\\rm dpm}", rT: "{\\rm T}",rP: "{\\rm P}", rW: "{\\rm W}", bfU: "{\\bf U}", bfHbyA: "{\\bf HbyA}", bfS: "{\\bf S}", bfg: "{\\bf g}", bfh: "{\\bf h}", bfT: "{\\bf T}", bfV: "{\\bf V}", bfd: "{\\bf d}", bfI: "{\\bf I}", bfK: "{\\bf K}", bfA: "{\\bf A}", bfn: "{\\bf n}", bfR: "{\\bf R}", bfM: "{\\bf M}", bfx: "{\\bf x}",bfF: "{\\bf F}", p: "{\\partial}" } } } ); </script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script> <script> $(window).on('action:posts.loaded action:ajaxify.end', function () { MathJax.Hub.Queue(["Typeset", MathJax.Hub, "content"]); }); </script>

    then you can use MathJax.

  • 17 Votes
    34 Posts
    8k Views

    @q16marvin use [email protected], The latest version 3.1.0 is meant for nodebb 3.2.0 which isn't released yet.

  • 0 Votes
    2 Posts
    2k Views

    Depends, if you're doing largely front-end code (like embedding an iFrame to some chat application) then a widget works best. If you want to modify the API or save things into the database, then a plugin is right for you.

    I think your best bet is to figure out what you need to do, and then find a plugin that does something similar, and modify that plugin, or take code from it (it's open source afterall ;))

  • 4 Votes
    9 Posts
    4k Views

    @meetdilip It allows developers to create code snippets for demo purposes without needing to create a full webpage.

    This is the jsfiddle demonstrating nodebbs new badges and what they could look like.

    Edit fiddle - JSFiddle - Code Playground

    Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.

    favicon

    (jsfiddle.net)