@mschwartz said in Feedback from my users:
Is there a way to have them show on every post all the time?
[component="post/actions"] {
opacity: 1 !important
}
@mschwartz said in Feedback from my users:
Is there a way to have them show on every post all the time?
[component="post/actions"] {
opacity: 1 !important
}
I fixed and improved all kinds of things in this plugin, and it is now fully compatible with nodebb v3!
https://github.com/NodeBB-Community/nodebb-plugin-reactions
@DownPW said in Upgrade - nodebb-plugin-topic-ratings:
But I wonder if the parameters remain in the TPL file after an update or if it has to be redone every time?
@julian Thanks, now working
I translated a string and was able to pull it right away!
@julian It's quite confusing that clicking on the image opens the image in a new tab, instead of the link itself...
I don't think this is expected behavior, the expected behavior is that clicking on the image opens the link, and those who want to view the image enlarged will right-click > open image in a new tab
@DownPW It should be noted that this only keeps the change in the updates so that you don't have to edit manually files after each upgrade, but does not update the rest of the template if it is changed in GitHub for any correction or change.
So you will have to keep track of the files you edited after needed fixes and apply them manually
see https://github.com/NodeBB/nodebb-plugin-customize/issues/10
Peace
I want to upload a youtube video that will be embedded in my site
And that it will be possible to enlarge the video
Because with a plugin I tried before it was not possible to increase
Thank you
@baris Thank you!
It just works!
Now I can hide objects from guests
I tried to install a local nodebb site (on a computer with Windows).
I downloaded the latest version of NodeBB from github:
git clone https://github.com/NodeBB/NodeBB NodeBB22
and then:
cd Nodebb22
Then the installation command:
nodebb
But the installation fails ...
Here is the full error log:
C:\Users\Administrator\NodeBB22>nodebb
package.json not found.
Populating package.json...
OK
Dependencies outdated or not yet installed.
Installing them now...
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
> [email protected] install C:\Users\Administrator\NodeBB22\node_modules\sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
sharp: Using cached C:\Users\Administrator\AppData\Roaming\npm-cache\_libvips\libvips-8.11.3-win32-x64.tar.br
sharp: Creating C:\Users\Administrator\NodeBB22\node_modules\sharp\build\Release
sharp: Copying DLLs from C:\Users\Administrator\NodeBB22\node_modules\sharp\vendor\8.11.3\win32-x64\lib to C:\Users\Administrator\NodeBB22\node_modules\sharp\build\Release
> [email protected] postinstall C:\Users\Administrator\NodeBB22\node_modules\core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js:
> https://opencollective.com/core-js
> https://patreon.com/zloirock
> https://paypal.me/zloirock
> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] requires a peer of textcomplete@^0.14.2 but none is installed. You must install peer dependencies yourself.
npm WARN @apidevtools/[email protected] requires a peer of openapi-types@>=7 but none is installed. You must install peer dependencies yourself.
added 612 packages from 947 contributors and audited 1166 packages in 42.415s
40 packages are looking for funding
run `npm fund` for details
found 1 moderate severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
OK
2021-11-29T19:00:17.141Z [7072] - error: uncaughtException: require(...).webInstall is not a function
TypeError: require(...).webInstall is not a function
at Object.<anonymous> (C:\Users\Administrator\NodeBB22\src\cli\index.js:110:21)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (C:\Users\Administrator\NodeBB22\nodebb:5:1)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) {"date":"Mon Nov 29 2021 19:00:17 GMT+0000 (GMT)","error":{},"exception":true,"os":{"loadavg":[0,0,0],"uptime":91341},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\Administrator\\NodeBB22\\nodebb"],"cwd":"C:\\Users\\Administrator\\NodeBB22","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":1168068,"external":3717229,"heapTotal":26152960,"heapUsed":18380200,"rss":72265728},"pid":7072,"uid":null,"version":"v14.16.1"},"stack":"TypeError: require(...).webInstall is not a function\n at Object.<anonymous> (C:\\Users\\Administrator\\NodeBB22\\src\\cli\\index.js:110:21)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Module.require (internal/modules/cjs/loader.js:952:19)\n at require (internal/modules/cjs/helpers.js:88:18)\n at Object.<anonymous> (C:\\Users\\Administrator\\NodeBB22\\nodebb:5:1)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)","trace":[{"column":21,"file":"C:\\Users\\Administrator\\NodeBB22\\src\\cli\\index.js","function":null,"line":110,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1063,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1092,"method":".js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":928,"method":"load","native":false},{"column":14,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":769,"method":"_load","native":false},{"column":19,"file":"internal/modules/cjs/loader.js","function":"Module.require","line":952,"method":"require","native":false},{"column":18,"file":"internal/modules/cjs/helpers.js","function":"require","line":88,"method":null,"native":false},{"column":1,"file":"C:\\Users\\Administrator\\NodeBB22\\nodebb","function":null,"line":5,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1063,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1092,"method":".js","native":false}]}
2021-11-29T19:00:17.147Z [7072] - error: uncaughtException: require(...).webInstall is not a function
TypeError: require(...).webInstall is not a function
at Object.<anonymous> (C:\Users\Administrator\NodeBB22\src\cli\index.js:110:21)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (C:\Users\Administrator\NodeBB22\nodebb:5:1)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) {"date":"Mon Nov 29 2021 19:00:17 GMT+0000 (GMT)","error":{},"exception":true,"os":{"loadavg":[0,0,0],"uptime":91341},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\Administrator\\NodeBB22\\nodebb"],"cwd":"C:\\Users\\Administrator\\NodeBB22","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":1168092,"external":3717293,"heapTotal":26152960,"heapUsed":18511488,"rss":73388032},"pid":7072,"uid":null,"version":"v14.16.1"},"stack":"TypeError: require(...).webInstall is not a function\n at Object.<anonymous> (C:\\Users\\Administrator\\NodeBB22\\src\\cli\\index.js:110:21)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Module.require (internal/modules/cjs/loader.js:952:19)\n at require (internal/modules/cjs/helpers.js:88:18)\n at Object.<anonymous> (C:\\Users\\Administrator\\NodeBB22\\nodebb:5:1)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)","trace":[{"column":21,"file":"C:\\Users\\Administrator\\NodeBB22\\src\\cli\\index.js","function":null,"line":110,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1063,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1092,"method":".js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":928,"method":"load","native":false},{"column":14,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":769,"method":"_load","native":false},{"column":19,"file":"internal/modules/cjs/loader.js","function":"Module.require","line":952,"method":"require","native":false},{"column":18,"file":"internal/modules/cjs/helpers.js","function":"require","line":88,"method":null,"native":false},{"column":1,"file":"C:\\Users\\Administrator\\NodeBB22\\nodebb","function":null,"line":5,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1063,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1092,"method":".js","native":false}]}
C:\Users\Administrator\NodeBB22>
Thank you so much for all the support!
Thanks to everyone who helped!
While implementing the solution provided by @FrankM I noticed that the file being loaded is loader.js
and not app.js
, and when I ran loader.js
with pm2
(pm2 start loader.js --name "nodebb"
), restarting from ACP works great!
So maybe on another occasion I'll try the clean systemd
method
At the moment I prefer to continue using pm2 as a central tool for all the apps on my server, including nodebb
Thanks again
@brazzerstop A temporary solution is to pin all topics in a category, then you can hover over the topic to move it up/down and it stays that way for everyone.
I don't know if it's also in Harmoni, I didn't check. But in Persona it's like that.
@baris By the way, is there perhaps a way to locally run a download of the latest language files from transifex? Many times there are strings that are hard to understand without the context, so you have to translate and wait for the next version to see...
I have a forum with directories with no option to subscribe
Is it possible to let guests vote for posts like 'liked' or 'disliked'
@julian said in Software version in nodeinfo:
The other line of thinking is that relying on security by obscurity is fallacious, but since it's only one facet of a broader security posture (the rest of it being keeping up with updates, writing as secure code as you can, reporting/bounty systems, audits, etc.), I honestly don't see a problem with transmitting as little information as I can.
The only thing in all of this that is relevant to the software operator (i.e. not nodebb developers but those using it as self-hosting) is tracking updates and applying them quickly, so I'm against exposing the version number in a way that would allow bots to easily identify which nodebb installations around the world are still vulnerable
@julian It should not be determined by Is there access to spiders?
Useful feature!
It would be very nice if there were emoji reactions, like in Slack, WhatsApp, Telegram, Skype, Google Chat, Discord, and basically any platform...
Hi
I want to change the icons in my forum.
For example, the icon that indicates that the post was edited:
Change to another mark for example to the mark marked here https://fontawesome.com in the following code: 1f58c
What is the appropriate universal CSS code that only needs to be renamed (in my case: .edit-icon
or .fa-pencil-square
)
@NodeHam try run ./nodebb build
@saikarthikp9 Use the posts queue, and your plugin will inject the custom fields there
@yehonatan-albert
I do not find any suitable symbol there.
Is there another place from which symbols can be selected and will they be supported?