Heh, I was trying this exact same thing almost two years ago on NodeBB: http://stackoverflow.com/questions/21624503/load-external-scripts-with-requirejs-without-access-to-config
Importing Categories
-
Is there any way to import a large amount of categories instead of adding each one individually?
-
@William said:
Is there any way to import a large amount of categories instead of adding each one individually?
just the names?
-
@exo-do
Just their names and their respective parent categories -
@William Take a look at the write-api plugin. It will let you programmatically create categories
-
@julian Thanks Julian this looks promising but I have had a problem generating a API token. I know that the write-api is compatible with v0.7 but do you know if it is compatible with v0.8.0.
-
Sure is. If you're having trouble, paste the call you're trying to make in the form of a cURL command.
-
@julian On the git page it says that you must generate the first token by going to admin/plugins/write-api which I have tried but the page was not found I have also tried admin/extend/plugins/write-api. Any pointers?
-
You might have done this already, but you need to activate the plugin then restart the forum
-
Thanks for all the help, turns out it was because I hadn't installed the dependencies for write-api