• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. vanlong441
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 1
    • Controversial 0
    • Groups 0

    vanlong441

    @vanlong441

    1
    Reputation
    216
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    vanlong441 Unfollow Follow

    Best posts made by vanlong441

    • Having fun with nodebb

      Still under construction: http://sinhvien3mien.com/topic/7/1-3

      0_1514315500958_Screenshot_2017-12-27_02-11-22.png

      0_1514315669624_Screenshot_2017-12-27_02-14-16.png

      posted in General Discussion
      vanlong441
      vanlong441

    Latest posts made by vanlong441

    • Need help include downloaded js files

      I need to include a dictionary into my nodebb forum and this is the provided code

      <script language="JavaScript">
      <!--
      var dictionaries = "ev_ve";
      // -->
      </script>
      <script language="JavaScript1.2" src="http://vndic.net/js/vndic.js" type='text/javascript'></script>
      

      Currently, I have to copy exactly the above lines into this file /root/nodebb/node_modules/nodebb-theme-persona/templates/footer.tpl/

      How do I safely and correctly include external scripts?

      **Update: I tried including it in this file /root/nodebb/node_modules/nodebb-theme-persona/plugin.json but apparently, the script tag needs to have these attributes in order for it to work language="JavaScript1.2" type='text/javascript'
      {
      "id": "nodebb-theme-persona",
      "library": "library.js",
      "hooks": [
      { "hook": "filter:teasers.get", "method": "getTeasers" },
      { "hook": "filter:widgets.getAreas", "method": "defineWidgetAreas" },
      { "hook": "filter:config.get", "method": "getThemeConfig" },
      { "hook": "static:app.load", "method": "init" },
      { "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
      { "hook": "filter:topic.build", "method": "addUserToTopic" },
      { "hook": "filter:meta.getLinkTags", "method": "getLinkTags"}
      ],
      "scripts": [
      "lib/persona.js",
      "lib/modules/nprogress.js",
      "lib/modules/autohidingnavbar.min.js",
      "lib/modules/quickreply.js"
      ],
      "modules": {
      "pulling.js": "node_modules/pulling/build/pulling-drawer.js"
      },
      "acpScripts": [
      "lib/admin.js"
      ]
      }

      posted in Technical Support
      vanlong441
      vanlong441
    • Having fun with nodebb

      Still under construction: http://sinhvien3mien.com/topic/7/1-3

      0_1514315500958_Screenshot_2017-12-27_02-11-22.png

      0_1514315669624_Screenshot_2017-12-27_02-14-16.png

      posted in General Discussion
      vanlong441
      vanlong441

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact