Why is there a difference between the version on github (v1.1.6) and the one indicated in the admin (0.2.1)?
EDIT: ok, in fact we need to install it using npm install nodebb-plugin-imgbed
instead of ACP.
Why is there a difference between the version on github (v1.1.6) and the one indicated in the admin (0.2.1)?
EDIT: ok, in fact we need to install it using npm install nodebb-plugin-imgbed
instead of ACP.
@baris works like a charm. Thank you
I use V7 too on a Debian 11 with no problem.
Hi,
It's not a bug. I'm trying to update my nodebb from 1.19.0 to 3.6.1.
To do this, I completely delete my installation directory, then install the new version, restore the config file and the upload directory.
After the rebuild, there are a few plugin adjustments to be made (normal) but this time the dbsearch plugin is giving me trouble. I get the following error:
2023-12-29T22:13:01.247Z [4567/28038] - error: [plugins] Error executing 'static:app.load' in plugin 'nodebb-plugin-dbsearch'
MongoServerError: An equivalent index already exists with the same name but different options. Requested index: { v: 2, key: { _fts: "text", _ftsx: 1, roomId: 1, uid: 1 }, name: "content_text_roomId_1_uid_1", background: true, default_language: "fr", weights: { content: 1 }, language_override: "language", textIndexVersion: 3 }, existing index: { v: 2, key: { _fts: "text", _ftsx: 1, roomId: 1, uid: 1 }, name: "content_text_roomId_1_uid_1", background: true, weights: { content: 1 }, default_language: "english", language_override: "language", textIndexVersion: 3 }
at Connection.onMessage (/var/www/nodebb/node_modules/mongodb/lib/cmap/connection.js:205:26)
at MessageStream.<anonymous> (/var/www/nodebb/node_modules/mongodb/lib/cmap/connection.js:64:60)
at MessageStream.emit (node:events:514:28)
at processIncomingData (/var/www/nodebb/node_modules/mongodb/lib/cmap/message_stream.js:117:16)
at MessageStream._write (/var/www/nodebb/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:556:12)
at _write (node:internal/streams/writable:490:10)
at Writable.write (node:internal/streams/writable:494:10)
at Socket.ondata (node:internal/streams/readable:985:22)
at Socket.emit (node:events:514:28)
I tried to re-install the plugin, but the message persists.
Does anyone have an idea how to solve this problem?
@baris Ok seems to solve the problem. But during build/restart I got this warning, that not appear on the first run :
2022-09-15T16:15:11.975Z [6699/3369287] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
* nodebb-rewards-essentials
* nodebb-plugin-youtube-embed
* nodebb-plugin-dbsearch
* nodebb-plugin-alignment
* nodebb-plugin-imgbed
2022-09-15T16:15:11.981Z [6699/3369287] - warn: [helpers.setupAdminPageRoute(/admin/plugins/mentions)] passing `middleware` as the third param is deprecated, it can now be safely removed
2022-09-15T16:15:11.995Z [6699/3369287] - warn: [helpers.setupAdminPageRoute(/admin/plugins/customize)] passing `middleware` as the third param is deprecated, it can now be safely removed
2022-09-15T16:15:11.996Z [6699/3369287] - warn: [helpers.setupAdminPageRoute(/admin/plugins/emoji)] passing `middleware` as the third param is deprecated, it can now be safely removed
@baris Something like this ?
./nodebb build plugin node_modules/nodebb-plugin-emoji
Hello,
I tried to upgrade my 1.19.0 to 2.5.2 installation.
I created a fresh new install with 2.5.2, restore my database, uploads/files and re-installed my plugins :
But now my emoji box is empty, and emoji replacement in post does not work any more.
I've searched on this forum but it seems i'm the only one with this problem
Thanks to @julian we finaly found the problem.
Here is the pull request.
In fact, this bug only occurs when an administrator update a member profile.
@crazycells Not all, but several members with city information entered do not appear in the list. Also, during my tests, I tried to put the same city name between a user that was already displayed and one that was not, and the last one still does not appear.
Also, between my dev environment and my prod environment, for the same data, I don't have the same result...
Hi everyone.
I'm currently using @julian 's excellent nodebb-plugin-osm-map
plugin to have a map of my forum members. In practice, it seemed that some users never appeared on this famous map. At first, I thought it was related to a geocoding problem, but after several tests it turns out that the problem comes from ajaxify.data.users
which does not contain all my users (only 56 out of 150 registered).
Is there a particular limitation on this list? And if so, can it be set somewhere in the ACP?
If not, is there any other way to get the list of forum users with their info?
Is there any plugins to add image size in markdown ?
Like in this topic
Hi there,
I'm working on a script that interact with NodeBB using API. I need to create a new chat room between 2 users and post content in it. In the API documentation, there's some data concerning "Accessing a chat room" and "Getting a chat room", but in write api there's nothing at all.
Is it currently impossible to post content in the chat room from the api?
I'm using NodeBB v1.17.0.
Api key created in admin panel. No problem to read chat room but writing failed.
{
"status": {
"code": "not-found",
"message": "Invalid API call"
},
"response": {}
}
It's in ACP admin/settings/general
I've just done it recently.
/api/topic/pagination/<tid>
to get pagination list/api/topic/<tid>?<qs>
It will be nice to have an option like ?page=all
...
Hi there,
I have a strange behaviour on a topic created by one of my users. He started the topic, then added replies (it's a topic where he presents his work by making a kind of summary in his first post). But, it turns out that the posts are not in the right order. The ids don't follow each other ... post 1742, followed by 1744, followed by 1731 ... and indeed, the post timestamp confirms the wrong posting order.
Strange, isn't it?
@anirban-dutta I use command like this npm install git+https://github.com/me-cooper/nodebb-plugin-makesmart-gallery.git
when repo is not recognized by npm install
Just remember to add .git
at the end of github repo url.
First of all, thanks for this great plugins @Nicolas
I've just run the upgrade nodeBB to 1.17.1 and here is the warning after restart :
2021-05-27T08:23:34.125Z [6699/29929] - warn: [plugins/nodebb-plugin-ns-likes] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.
2021-05-27T08:23:34.137Z [6699/29929] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
* nodebb-plugin-ns-likes
Any fix planned for this ?
Thanks
@dogs thank for this plugin
Here is the way i installed it :
npm install git+https://github.com/me-cooper/nodebb-plugin-makesmart-gallery.git
Hope this help.