• 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. ailion
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 8
    • Best 1
    • Controversial 0
    • Groups 0

    ailion

    @ailion

    1
    Reputation
    369
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website www.mustu.cn

    ailion Unfollow Follow

    Best posts made by ailion

    • [Bug report] json parse error

      Settings——General——Site Settings——Set Title

      If you set title with special characters such as \b, NodeBB will crash.
      0_1492072964902_8B2BFE7B-A6BB-4394-B9DA-285C8066EFF2.png

      Home page:
      2_1492072964903_88BC4E45-F9FA-4BC6-BE7C-64D3EBDFDF41.png

      Admin Panel:
      1_1492072964903_75EBD976-A50A-49A3-89E9-D60ABAB98653.png

      posted in NodeBB Development
      A
      ailion

    Latest posts made by ailion

    • Unable to purge posts -- Invalid Date

      Hey guys,

      I have encountered some weird issues.

      NodeBB Version: 1.4.5 (then upgraded to 1.4.6)
      Theme: Persona
      Issue: Can't purge posts.

      Delete:
      0_1492919749524_A8CFF4476BB017F083175E3F1B7FFD2E.png

      Purge:
      0_1492919764039_EE6A23ED79A6E323BCE16688B01C43AD.jpg

      Restore:
      0_1492919724549_8A73009D272CDC6B4915AC1CEEFFD6F8.png

      No errors or warnings in ./nodebb log

      What I have tried but failed:

      1. reboot NodeBB
      2. disable all plugins
      3. restart mondodb
      4. reboot VPS
      5. git pull && ./nodebb upgrade (from 1.4.5 to 1.4.6)
      6. git fetch && git reset --hard origin/v1.x.x

      What I have tried but just a workaround:
      I found this reply

      1. Use Vanilla theme. Now I can delete and purge themes. 😄
      2. Uninstall and then reinstall Persona theme.
      3. Use Persona theme. The issue remains. 😢

      Another issue with Persona theme:
      0_1492921694537_Snip20170423_9.png

      Another bug found when writing this post:
      0_1492921949468_Snip20170423_10.png
      0_1492922040771_Snip20170423_11.png

      posted in NodeBB Development
      A
      ailion
    • RE: Separate theme from plugin

      fine

      Thanks for GPL license

      posted in Feature Requests
      A
      ailion
    • RE: Separate theme from plugin
      1. Themes are plugins in NodeBB so I have to install themes as a plugin. I cannot install themes via ACP -> Customize -> Themes -> Install
      2. The preview we have is just a picture uploaded by theme creator.We cannot see the real one until we activate the theme then reboot NodeBB.

      My suggestion:

      1. Separate theme and plugin pages.
        ACP -> Customize -> Themes -> Install
        ACP -> Customize -> Themes -> Uninstall
        ACP -> Customize -> Themes -> Preview
        ACP -> Customize -> Themes -> Apply Theme

      2. Real preview without rebooting or waiting for over 5 seconds/theme.

      3. Provide filters(style, color, etc)

      posted in Feature Requests
      A
      ailion
    • Separate theme from plugin

      Is it possible to have a separate theme menu in ACP like WP?

      It would be nice if we can preview themes in advance.

      posted in Feature Requests
      A
      ailion
    • string escape bug

      How to reproduce:

      1. register a normal user account. Let's say the email is [email protected]
      2. insert \b at the beginning of the email string: \[email protected]

      In homepage, there is a piece of javascript :
      <script>
      var RELATIVE_PATH = "";
      var config = JSON.parse('{"relative_path":"","version":"1.4.5","siteTitle":"NodeBB","browserTitle":"NodeBB","titleLayout":"{pageTitle} JSON.parse('{"username":"xxxx","userslug":"xxxx","email":"\[email protected]", ...
      };
      </script>

      \b won't pass json validator and will cause unexpected behaviors.

      See also:
      https://community.nodebb.org/topic/10524/bug-report-json-parse-error

      posted in Bug Reports
      A
      ailion
    • [Bug report] json parse error

      Settings——General——Site Settings——Set Title

      If you set title with special characters such as \b, NodeBB will crash.
      0_1492072964902_8B2BFE7B-A6BB-4394-B9DA-285C8066EFF2.png

      Home page:
      2_1492072964903_88BC4E45-F9FA-4BC6-BE7C-64D3EBDFDF41.png

      Admin Panel:
      1_1492072964903_75EBD976-A50A-49A3-89E9-D60ABAB98653.png

      posted in NodeBB Development
      A
      ailion
    • error when resetting plugin

      ./nodebb reset plugin

      /opt/nodebb/node_modules/mongodb/lib/utils.js:98
      process.nextTick(function() { throw err; });
      ^

      TypeError: invalid data
      at WriteStream.Socket.write (net.js:617:11)
      at /opt/nodebb/src/reset.js:57:19
      at /opt/nodebb/src/database/mongo.js:108:6
      at /opt/nodebb/node_modules/mongodb/lib/db.js:1553:5
      at handleCallback (/opt/nodebb/node_modules/mongodb/lib/utils.js:95:56)
      at _callback (/opt/nodebb/node_modules/mongodb/lib/db.js:1469:5)
      at /opt/nodebb/node_modules/mongodb/lib/db.js:1512:7
      at /opt/nodebb/node_modules/mongodb-core/lib/connection/pool.js:724:7
      at /opt/nodebb/node_modules/mongodb-core/lib/connection/pool.js:702:11
      at finish (/opt/nodebb/node_modules/mongodb-core/lib/auth/scram.js:160:16)

      posted in General Discussion
      A
      ailion
    • lacking https support

      Hello,

      I know NodeBB itself doesn't handle any https stuff, so the url we set in nginx is http://www.example.com:4567 rather than https://www.example.com:xxxx

      Here is the problem: Any image url starts with http will break https ℹ , but I want my green lock 🔒 back.

      Will NodeBB add https support in core?

      Cheers
      Andy

      posted in General Discussion
      A
      ailion

    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