Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. Excl
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Groups 0

    Excl

    @Excl

    0
    Reputation
    367
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website casualbananas.com/

    Excl Follow

    Latest posts made by Excl

    • RE: Who is using NodeBB?

      I've been using NodeBB for a few months now at community.casualbananas.com

      posted in General Discussion
      Excl
      Excl
    • RE: Load clientside script depending on route

      See: https://github.com/kurt-stolle/nodebb-plugin-exclserver/blob/master/templates/exclserver/servers.tpl

      Why does the <script> tag sometimes not load after rendering the page?

      posted in Plugin Development
      Excl
      Excl
    • RE: Load clientside script depending on route

      It would be easiest to simply add a <script> tag to the .tpl file for each page, but sometimes the <script> tag is mysteriously removed when the page is served, not running the code in it.

      posted in Plugin Development
      Excl
      Excl
    • Load clientside script depending on route

      I'm working on a public plugin for integrating the ExclServer game management system into NodeBB.
      The plugin has a number of different custom pages, e.g.: rules, servers, chat.

      How would I load a different clientside javascript script depending on what route the user is requesting?
      For example, if the user requests URI /exclserver-rules I want to load a different script than when the user requests URI /exclserver-chat. Just putting the scripts in the 'scripts' array of my plugin.json file doesn't do what I want it to, because that will load all scripts on any of the custom routes.

      posted in Plugin Development
      Excl
      Excl