@picasso-shief @baris hi ~buddy,can you help me
Picasso shief
Posts
-
help! help!Replace the url of the image before rendering the page. -
help! help!Replace the url of the image before rendering the page.How replace the url of the image before rendering the page.
because post image need to be authenticated, I need to add signature params to all image url before the page is rendered
Which methods should I hook for replacement?
Such as:
<img src="http://xxxxi.oss-cn-beijing.aliyuncs.com/1.png" alt="" class="img-responsive img-markdown">become below
<img src="http://xxxxi.oss-cn-beijing.aliyuncs.com/1.png?OSSAccessKeyId=LTAssI5t6ssGs9fbWvsmPsniBhbs& Expires=1635303254& Signature=Y%2Fj4pKRFqdxR%2B8i8n2hZ5urVuSQ%3D" alt="" class="img-responsive img-markdown">
-
how change post quick reply component become editor?how change post quick reply component become editor?
-
what this plugin ? for quote -
Uncaught Error: Script error for "timeago/jquery.timeago"@baris thanks very very much! it works!
my nodeBB version is tag:V1.18.4 -
setup error: TypeError: Invalid Version: upgrades@pitaj thanks,it works~
-
Uncaught Error: Script error for "timeago/jquery.timeago"My nodeBB install Success,and build well,bug I catch many JS Error:
coolningdeMacBook-Pro:NodeBB coolning$ ./nodebb build
2021-10-23T13:36:16.142Z [4567/3883] - verbose: [minifier] utilizing a maximum of 7 additional threads
2021-10-23T13:36:16.614Z [4567/3883] - verbose: [build] Querying CPU core count for build strategy
2021-10-23T13:36:16.614Z [4567/3883] - verbose: [build] System returned 8 cores, opting for parallel build strategy
2021-10-23T13:36:16.615Z [4567/3883] - verbose: [build] building the following targets: plugin static dirs, requirejs modules, client js bundle, admin js bundle, client side styles, admin control panel styles, templates, languages
started
2021-10-23T13:36:17.346Z [4567/3883] - verbose: [plugins] loading the following fields from plugin data: staticDirs, modules, clientScripts, acpScripts, cssFiles, lessFiles, acpLessFiles, languageData
2021-10-23T13:36:17.415Z [4567/3883] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-composer-default
2021-10-23T13:36:17.416Z [4567/3883] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-markdown
2021-10-23T13:36:17.416Z [4567/3883] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-essentials
2021-10-23T13:36:17.417Z [4567/3883] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-emoji
2021-10-23T13:36:17.417Z [4567/3883] - verbose: [plugins] Found 1 acpLess file(s) for plugin nodebb-plugin-emoji
2021-10-23T13:36:17.418Z [4567/3883] - verbose: [plugins] Found 11 AMD-style module(s) for plugin nodebb-plugin-composer-default
2021-10-23T13:36:17.418Z [4567/3883] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-composer-default
2021-10-23T13:36:17.419Z [4567/3883] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-theme-persona
2021-10-23T13:36:17.419Z [4567/3883] - verbose: [plugins] found 2 static directories for nodebb-plugin-markdown
2021-10-23T13:36:17.419Z [4567/3883] - verbose: [plugins] Found 2 AMD-style module(s) for plugin nodebb-plugin-markdown
2021-10-23T13:36:17.419Z [4567/3883] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-markdown
2021-10-23T13:36:17.419Z [4567/3883] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-markdown
2021-10-23T13:36:17.420Z [4567/3883] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions
2021-10-23T13:36:17.420Z [4567/3883] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions
2021-10-23T13:36:17.420Z [4567/3883] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-rewards-essentials
2021-10-23T13:36:17.421Z [4567/3883] - verbose: [plugins] found 1 static directories for nodebb-rewards-essentials
2021-10-23T13:36:17.421Z [4567/3883] - verbose: [plugins] found 1 static directories for nodebb-plugin-emoji
2021-10-23T13:36:17.421Z [4567/3883] - verbose: [plugins] Found 3 AMD-style module(s) for plugin nodebb-plugin-emoji
2021-10-23T13:36:17.422Z [4567/3883] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-emoji
2021-10-23T13:36:17.422Z [4567/3883] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-emoji
2021-10-23T13:36:17.423Z [4567/3883] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-theme-persona
2021-10-23T13:36:17.423Z [4567/3883] - verbose: [plugins] Found 3 js file(s) for plugin nodebb-theme-persona
2021-10-23T13:36:17.425Z [4567/3883] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-composer-default
2021-10-23T13:36:17.429Z [4567/3883] - info: [build] Building in parallel mode
2021-10-23T13:36:17.430Z [4567/3883] - info: [build] plugin static dirs build started
2021-10-23T13:36:17.432Z [4567/3883] - info: [build] requirejs modules build started
2021-10-23T13:36:17.433Z [4567/3883] - info: [build] client js bundle build started
2021-10-23T13:36:17.460Z [4567/3883] - info: [build] admin js bundle build started
2021-10-23T13:36:17.460Z [4567/3883] - info: [build] client side styles build started
2021-10-23T13:36:17.461Z [4567/3883] - info: [build] admin control panel styles build started
2021-10-23T13:36:17.461Z [4567/3883] - info: [build] templates build started
2021-10-23T13:36:17.462Z [4567/3883] - info: [build] languages build started
2021-10-23T13:36:18.747Z [4567/3883] - info: [build] plugin static dirs build completed in 1.317sec
2021-10-23T13:36:22.219Z [4567/3883] - info: [build] languages build completed in 4.757sec
2021-10-23T13:36:23.479Z [4567/3883] - verbose: [meta/templates] Successfully compiled templates.
2021-10-23T13:36:23.479Z [4567/3883] - info: [build] templates build completed in 6.018sec
2021-10-23T13:36:25.489Z [4567/3883] - info: [build] admin js bundle build completed in 8.029sec
2021-10-23T13:36:26.092Z [4567/3883] - info: [build] client js bundle build completed in 8.659sec
2021-10-23T13:36:27.457Z [4567/3883] - info: [build] client side styles build completed in 9.997sec
2021-10-23T13:36:27.835Z [4567/3883] - info: [build] admin control panel styles build completed in 10.374sec
2021-10-23T13:36:29.207Z [4567/3883] - info: [build] requirejs modules build completed in 11.775sec
2021-10-23T13:36:29.208Z [4567/3883] - info: [build] Asset compilation successful. Completed in 11.778sec.
coolningdeMacBook-Pro:NodeBB coolning$ ./nodebb startStarting NodeBB
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
"./nodebb help" for more commands -
setup error: TypeError: Invalid Version: upgrades@pitaj but It is new installer , not upgrade
-
setup error: TypeError: Invalid Version: upgradescoolningdeMacBook-Pro:NodeBB coolning$ ./nodebb setup Dependencies outdated or not yet installed. Installing them now... 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. npm WARN deprecated [email protected]: support for ECMAScript is superseded by `uglify-js` as of v3.13.0 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]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 added 620 packages, and audited 621 packages in 26m 39 packages are looking for funding run `npm fund` for details 1 moderate severity vulnerability Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. OK 2021-10-23T10:19:54.403Z [92185] - info: NodeBB Setup Triggered via Command Line Welcome to NodeBB v1.18.4! This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed. Press enter to accept the default setting (shown in brackets). 2021-10-23T10:19:54.533Z [92185] - info: Now configuring mongo database: 2021-10-23T10:19:54.757Z [92185] - info: [database] Checking database indices. 2021-10-23T10:19:54.763Z [92185] - info: [database] Checking database indices done! 2021-10-23T10:19:55.966Z [92185] - verbose: [minifier] utilizing a maximum of 7 additional threads Configuration Saved OK Populating database with default configs, if not already set... Previous theme detected, skipping enabling default theme Categories OK. Found 12 categories. Administrator found, skipping Admin setup 2021-10-23T10:19:55.997Z [92185] - info: Global Moderators group found, skipping creation! Enabling default plugins 2021-10-23T10:19:56.017Z [92185] - info: [install/defaultPlugins] customDefaults 2021-10-23T10:19:56.018Z [92185] - info: [install/enableDefaultPlugins] activating default plugins {"0":"nodebb-plugin-composer-default","1":"nodebb-plugin-markdown","2":"nodebb-plugin-mentions","3":"nodebb-widget-essentials","4":"nodebb-rewards-essentials","5":"nodebb-plugin-emoji","6":"nodebb-plugin-emoji-android"} 2021-10-23T10:19:56.029Z [92185] - warn: NodeBB Setup Aborted. TypeError: Invalid Version: upgrades at new SemVer (/Users/coolning/Documents/myWeb/NodeBB/node_modules/semver/classes/semver.js:38:13) at Object.compare (/Users/coolning/Documents/myWeb/NodeBB/node_modules/semver/functions/compare.js:3:32) at /Users/coolning/Documents/myWeb/NodeBB/src/upgrade.js:32:32 at Array.sort (<anonymous>) at Upgrade.getAll (/Users/coolning/Documents/myWeb/NodeBB/src/upgrade.js:29:67) at async Upgrade.check (/Users/coolning/Documents/myWeb/NodeBB/src/upgrade.js:84:16) at async checkUpgrade (/Users/coolning/Documents/myWeb/NodeBB/src/install.js:483:3) at async Object.install.setup (/Users/coolning/Documents/myWeb/NodeBB/src/install.js:509:3) at async async.series.data (/Users/coolning/Documents/myWeb/NodeBB/src/cli/setup.js:27:11) You have new mail in /var/mail/coolning