How to add </br> between <p> in composer

Moved Technical Support

Suggested Topics

  • 1 Votes
    6 Posts

    @Rektalizer Evidently you have a mish mash of "names" here: - as noted above, this one resolves to IP address -- this one also resolves to IP address -- this one resolves to ... same as before.

    Which are you actually using? If you intend to use more than one of the above then which will be your nodebb forums URL?

    Or is it your intention to have ALL of the above point to your nodebb forums? Note that this can create issues on down the road if, for e.g., you decide to "spin off" www for e.g. a blog or other purposes.

    As for your nginx logs immediately up post, have you adjusted your nginx server_name config to jive with your nodebb config.json yet?

  • /api/search

    Technical Support
    0 Votes
    1 Posts

    new nodebb user here, running v1.16.1 locally with redis. I can't figure out how to use the search api, keep getting denied:

    using the /admin/settings/api token i get 401 "A valid login session was not found.": curl -v -H 'Authentication: Bearer 633d1f38-8576-4ce1-bd2c-c799a474b763' -H 'Authorization: Bearer 633d1f38-8576-4ce1-bd2c-c799a474b763' 'localhost:4567/api/search?term=restless&in=categories&uid=2' using the write-api token i get 403 forbidden 'You are not authorised to make this call": curl -v -H 'Authentication: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' -H 'Authorization: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' 'localhost:4567/api/search?term=restless&in=categories&uid=1'

    interestingly without the 'in=categories' it return 200 but no search results: curl -v -H 'Authentication: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' -H 'Authorization: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' 'localhost:4567/api/search?term=restless&uid=1'

    So what's the correct way to use the search api? and why does it require a token at all? Is it possible to open the search api for non authenticated users and then search just the public categories?

  • 0 Votes
    7 Posts


    No sorry, that didn't solve. But following worked:

    After importing mybb, upgrade it to v1.16.0 which produces "Error: ENOENT: no such file or directory, open '/nodebb/node_modules/nodebb-plugin-require/plugin.json' " as mentioned above. Back up both database and any image files imported from mybb under public/uploads/files Delete whole nodebb files and database Install original v1.16.0 (git clone -b v1.16.x Remove only the database, then restore database and image files using backups Works well, it doesn't produce any error even after installing quickstart plugin.

    Additionally, doesn't work on v1.16.0.
    It shows following error on Chrome and the page got frozen while loading:
    colorpicker.js:11 Uncaught TypeError: n.ColorPicker is not a function
    at HTMLInputElement.<anonymous> (colorpicker.js:11)
    at Function.each (jquery.js:381)
    at C.fn.init.each (jquery.js:203)
    at Object.n.enable (colorpicker.js:8)
    at o (admin.js:31)
    at Object.i.init (admin.js:9)
    at ajaxify.js:336
    at Object.execCb (require.js:1696)
    at n.check (require.js:883)
    at n.<anonymous> (require.js:1139)

    Anyways, it's not to be discussed here I guess.
    Thank you very much!

  • 0 Votes
    2 Posts

    Do this for the hook as well

  • 0 Votes
    3 Posts