Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. xinshouke
    3. Topics
    • Profile
    • Following 1
    • Followers 0
    • Topics 9
    • Posts 12
    • Best 0
    • Groups 0

    Topics created by xinshouke

    • xinshouke

      Is there api to new topic using nodejs code?
      NodeBB Development • • xinshouke

      2
      0
      Votes
      2
      Posts
      1028
      Views

      C

      I'm not sure if I understand your question exactly, but you can write a plugin to listen to a new route (URL endpoint) or interprocess communication and load and call NodeBB libraries.
      You may consider using this plugin Git repo as a bootstrap to get you started quickly. Remember that the plugin.json, package.json, and library.js are the first files to work with. The plugin repo name / directory name will need to match the glob nodebb-plugin-* and it needs to be directly under the node_modules/ directory which is at the root of your NodeBB directory.

    • xinshouke

      May the user only delete the topic in one category?
      General Discussion • • xinshouke

      2
      0
      Votes
      2
      Posts
      866
      Views

      Kowlin

      Its possible to assign a group the moderating power on just one category, However be aware that this will also include other moderation powers such as Forking, Closing and Moving topics.

    • xinshouke

      file tpl were recovered after restart nodebb server
      NodeBB Development • • xinshouke

      3
      0
      Votes
      3
      Posts
      1071
      Views

      xinshouke

      Yes, It work as what you told. Thanks a lot!

    • xinshouke

      Where I get the data defining of redis database
      NodeBB Development • • xinshouke

      2
      0
      Votes
      2
      Posts
      864
      Views

      baris

      It is in the root folder of your installation in a file called config.json.

    • xinshouke

      It couldn't new topic after I reinstall nodeBB v0.7.0
      General Discussion • new topic • • xinshouke

      2
      0
      Votes
      2
      Posts
      1927
      Views

      codejet

      Will offer my way of fixing.. probably something went wrong in the themes, aside from css, probably version mismatches with the core nodebb version your using. The below will revert to working vanilla and lavender theme versions that match w/ your core nodebb install version. (probably need to stick with whatever theme versions it reinstalls, because I've always had problems w/ updating themes, I don't upgrade them anymore) Stick with what came with the nodebb install originally. This will revert back to originals:

      ./nodebb stop (close nodebb) npm uninstall nodebb-theme-lavender npm uninstall nodebb-theme-vanilla npm install nodebb-theme-vanilla npm install nodebb-theme-lavender

      ./nodebb start. try avoid editing too much .less and .tpl in the theme files and stick as much as possible in the Custom css area in your ACP

    • xinshouke

      How to debug a plugin in nodebb
      Plugin Development • • xinshouke

      3
      0
      Votes
      3
      Posts
      1881
      Views

      xinshouke

      https://github.com/justmepzy/nodebb-plugin-aliyun-oss, this plugin doesn't work totally.

    • xinshouke

      the admin console doesn't work with plugin nodebb-plugin-aliyun-oss
      NodeBB Plugins • • xinshouke

      3
      0
      Votes
      3
      Posts
      1303
      Views

      julian

      As @a_5mith says, You'll need to contact the author to have them update it.

    • xinshouke

      It was unable to login NODEBB as admin account
      Technical Support • • xinshouke

      5
      0
      Votes
      5
      Posts
      2096
      Views

      julian

      Did you try updating Redis?