[nodebb-plugin-soundcloud] SoundCloud embed plugin
-
@rbeer i have It does not work:
npm update templates.js
npm http GET https://registry.npmjs.org/templates.js
npm http 200 https://registry.npmjs.org/templates.js
npm http GET https://registry.npmjs.org/templates.js/-/templates.js-0.2.7.tgz
npm http 200 https://registry.npmjs.org/templates.js/-/templates.js-0.2.7.tgz
npm http GET https://registry.npmjs.org/templates.js/0.2.7
npm http 200 https://registry.npmjs.org/templates.js/0.2.7
npm http GET https://registry.npmjs.org/templates.js/-/templates.js-0.2.7.tgz
npm http 200 https://registry.npmjs.org/templates.js/-/templates.js-0.2.7.tgzSoundCloud embed plugin is not work =(
-
@Kalbaskin
Well, that's odd.
Does your browser's JS log show errors/warnings?
Does the post with the soundcloud link look like the screenshots?Just to be sure: What does the
"version"
field in/yourNodeBB/node_modules/templates.js/package.json
say? -
-
Console.log('soundcloud')
Add that to line 8 of library.js.
Then post a soundcloud link and look in console for that text as a log. I'm on a mobile so can't check myself just yet. But will do shortly.
I don't think it's the sound cloud plugin. But need to rule it out.
-
@Kalbaskin
Did you look for it in the nodeBB output? (./nodebb start
, then./nodebb log
; or./nodebb dev
; I would suggest the later for debuging.)
If you add the line as @a_5mith asked you to, the text does not show up in your browser's console, but rather in the log output of your server, since the file in question is executed on server, not client side.I tested both plugins against nodeBB 0.7 and they work as expected.
@Kalbaskin said:
Content: "link text" - instead of player soundcloud.
This looks like none of the plugins (soundcloud, soundcloud-35hz) are activated.
What does your ACP under Extend -> Plugins show? I imagine that having both plugins (soundcloud and soundcloud-35hz) active at the same time could cause some hickups.
When you start your nodeBB with./nodebb dev
, do you see any errors or a line that says:24/6 07:35 [18969] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundcloud
or
24/6 07:35 [18969] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundcloud-35hz
respectively.Which of the two plugins do you want to use, anyway?
I'm quite sure that this is not a bug in either of the plugins you're facing now. -
Well, again: that's odd.
Try to
- run
./nodebb dev
, - visit the ACP and deactivate both soundcloud plugins
- restart nodeBB (click the little popup in upper right corner, after disabling plugins)
- wait for nodeBB to be up again
- enable only one of the soundcloud plugins.
If that still doesn't do the trick, you might want to update all plugins with the "update" button in the ACP. You have a lot warnings, regarding outdated plugins. If that again does nothing, my last two cents would be to deactivate those outdated plugins to see if they cause any trouble.
- run