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
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: [email protected]~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 [email protected]^0.14.2 but none is installed. You must install peer dependencies yourself.
npm WARN @apidevtools/[email protected] requires a peer of [email protected]>=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!
@julian It should not be determined by Is there access to spiders?
I have a forum with directories with no option to subscribe
Is it possible to let guests vote for posts like 'liked' or 'disliked'
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
)
@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?
@antosik
thanks for your help! This is exactly what I was looking for!
I tried to use the plugin with rss of some news sites, and also in this: https://ims.gov.il/sites/default/files/ims_data/rss/forecast_country/rssForecastCountry_en.xml But it only gives a link to the post and does not insert its content, although when I open the link in the browser (the rss) I do see the content of the post. Can it be changed? In this way it is not worth anything to me .... Thanks!
@baris
(I also opened a problem here https://github.com/barisusakli/nodebb-plugin-rss/issues/54 but I did not get an answer, so I opened here too - it is urgent for me, I want to open a new NODEBB site and want to incorporate it. )
This is a great idea!
I too often look for a particular hook, and such a thing can greatly help!
@baris Maybe you have an idea how to do such a thing?
Hey,
ACP User Management (/admin/manage/users
) currently offers the option to manually verify a user's email, but the process cannot be reversed,
for instance:
On my forum, I block email changes, and the management changes it to whomever asks. But even though it's a new email address, it stays verified ...
As another example, if I manually confirm an email in the wrong user, there is no way to undo it ...
it would be great if you could add that!
@julian @baris
@julian Maybe a new indicator to know this? So that inspectors can know this too, not just those who have access to ACP
@julian It should not be determined by Is there access to spiders?
Hi,
I'm looking for a server-side filter hook for loading a list of posts for a user - both the list of the latest and the list of the best:
I have already tried the following hooks:
filter:user.getFields
filter:user.whitelistFields
filter:helpers.getUserDataByUserSlug
They do not contain the information.
filter:privileges.posts.filter
is called and good, but only at the link entry - like https://community.nodebb.org/user/baris/posts, but when only the last ones are displayed on the profile page itself, it is not called.
@baris
@crazycells Thanks! I did not know it
But it seems to me that it should be simpler ... no? Maybe within the editorial history of the post or something similar
My forum is powered by NodeBB.
Is it possible to find out in a deleted post who deleted it? This information appears at the top of the deleted topic. But what if it was just one deleted post and not an entire topic?
If the user who wrote the post deleted it back, or it was one of the "global administrators" with the appropriate permission, I'd love to know.
nobody? This is very important for controlling the quality of the discourse in my forum
@baris
I wrote a small client-side script, which checks
$('write').val()
on a regular expression, and if it contains certain words, displays a recommendation to the user to avoid them.
The script is activated by clicking on the post button of the post / topic.
The question is is it possible to stop the publication of the post along with the presentation of the recommendation (I present the recommendation via app.alert)? Let there be a recommendation, and the post not be published? I want something on the client side, not a server side extension
Thank you!
@julian What do I call the boot methodØŸ