This became a global privilege so you can find it on that page. Seems like the language key wasn't removed from the settings page so it is still showing up in ACP search.
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"
]
} -
You could try including them in the Custom Header at ACP -> Appearance --> Custom Content