• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.4.3 Latest
Buy Hosting
A

ailion

@ailion
About
Posts
8
Topics
6
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    Unable to purge posts -- Invalid Date
  • A ailion

    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


  • Separate theme from plugin
  • A ailion

    fine

    Thanks for GPL license


  • Separate theme from plugin
  • A ailion
    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)


  • Separate theme from plugin
  • A ailion

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

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


  • string escape bug
  • A ailion

    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


  • [Bug report] json parse error
  • A ailion

    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


  • error when resetting plugin
  • A ailion

    ./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)


  • lacking https support
  • A ailion

    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

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.