Yes that is very awesome and I really like that idea! Great job with thinking that up!!
Tenor GIF Plugin
-
Hi,
I will ask he as at times with NodeBB Forum I may win Lotto before I get a reply haha
Anyway I installed the Tenor GIF Plugin and created an API Key for use.
However I get this when I type in any word. Any ideas ? Thanks in advance.
-
@Sampo2910 Actually, it looks as though this works now - for me at least
I used the guide here in terms of setting up the API Key
-
@Sampo2910 Does anything appear in the browser console when you get this message ?
-
@Sampo2910 Also possibly a dumb question, but did you rebuild and restart NodeBB after you installed the plugin ?
-
Hi,
Yeah I did rebuild and restart. I see no messages in logs with errors etc.
I will uninstall and reinstall and try again.
##UPDATE#### Tried install from ACP and from Terminal but same results. Only thing I can see is this now.
2022-08-01T22:57:38.481Z [4567/18012] - [31merror[39m: [build] requirejs modules build failed 2022-08-01T22:57:38.481Z [4567/18012] - [31merror[39m: [build] Encountered error during build step Error: ENOENT: no such file or directory, stat '/home/smiley/nodebb/node_modules/nodebb-plugin-tenor-gif/static/lib/admin.js' 2022-08-01T22:57:38.481Z [4567/18012] - [31merror[39m: admin.reload Error: ENOENT: no such file or directory, stat '/home/smiley/nodebb/node_modules/nodebb-plugin-tenor-gif/static/lib/admin.js' [cluster] Restarting... 2022-08-01T22:59:17.636Z [4567/18012] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. Clustering enabled: Spinning up 1 process(es).
-
@Sampo2910 said in Tenor GIF Plugin:
2022-08-01T22:57:38.481Z [4567/18012] - [31merror[39m: [build] requirejs modules build failed
2022-08-01T22:57:38.481Z [4567/18012] - [31merror[39m: [build] Encountered error during build stepIs there anything else in the logs besides this ?
-
2022-08-01T22:55:48.007Z [4567/17914] - [31merror[39m: GET /admin/plugins/tenor-gif Error: Failed to lookup view "admin/plugins/tenor-gif" in views directory "/home/smiley/nodebb/build/public/templates" at Function.render (/home/smiley/nodebb/node_modules/express/lib/application.js:597:17) at ServerResponse.render (/home/smiley/nodebb/node_modules/express/lib/response.js:1039:7) at /home/smiley/nodebb/src/middleware/render.js:107:11 at new Promise (<anonymous>) at renderContent (/home/smiley/nodebb/src/middleware/render.js:106:10) at renderMethod (/home/smiley/nodebb/src/middleware/render.js:75:15) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async ServerResponse.renderOverride [as render] (/home/smiley/nodebb/src/middleware/render.js:96:5)
-
@Sampo2910 Do you get the same issue if you attempt to remove the
npm
version and replace withgit
?, sonpm install git+https://github.com/julianlam/nodebb-plugin-tenor-gif
-
Same result. I see this. Maybe API Key or something? I set up ok. Same as i did with YouTube Embed and that was all ok.
Error: ENOENT: no such file or directory, stat '/home/smiley/nodebb/node_modules/nodebb-plugin-tenor-gif/static/lib/admin.js' 2022-08-02T07:57:48.110Z [4567/18708] - [31merror[39m: admin.reload Error: ENOENT: no such file or directory, stat '/home/smiley/nodebb/node_modules/nodebb-plugin-tenor-gif/static/lib/admin.js' [cluster] Restarting... 2022-08-02T08:00:06.657Z [4567/18708] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. Clustering enabled: Spinning up 1 process(es).
-
@Sampo2910 Possibly. Can you PM me your site details plus a username/password (ideally admin) so I can have a look ?
-
@phenomlab Chat sent
-
@Sampo2910 Thanks
-
@Sampo2910 Just had a good look at this on your site, and you’ve done nothing wrong. It doesn’t work - there’s no callback, no JSON payload, nothing. For a test, I installed it on my DEV site and get the same experience as you
I think we need to wait for a response from this post
-
OK thank you so much for checking it out. I will see if we get a reply on there. Maybe you could add to that? Say you also tested or something like that.
-
@Sampo2910 just have
-
@Sampo2910 not sure if you’ve been checking the thread over at NodeBB, but I narrowed this down to an incorrect API call in the plugin. In fact, the NodeBB version which “works” on the official site is based on v1 - the development tools for a while now have been issuing v2 API keys which of course won’t work.
I’ve discussed this with Baris, so hopefully, there will be a fix soon.
-
Hi, yes I had seen the thread. Good Sherlock Holmes skills
Lets see if the plugin can be adapted.
-
@Sampo2910 Trying to get an update here
https://community.nodebb.org/topic/16590/tenor-gif/12?_=1660135787482
-
@Sampo2910 Actually, it looks as though this works now - for me at least
I used the guide here in terms of setting up the API Key
-
-
@phenomlab Also for me now Upgraded in ACP and all good . Thx.