Thanks @psychobunny!
Best posts made by overlawled
Latest posts made by overlawled
-
RE: [nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)
@Hưng-Thành-Nguyễn are you using Wordpress or Ghost?
-
RE: [nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)
Just a heads up for anyone else using this with Wordpress. After the latest update the categoryID variable in comments.php of your theme isn't optional. If it isn't defined publishing doesn't work.
-
RE: [nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)
Experiencing this issue on Wordpress as well.
-
RE: Refresh Required when Posting to /login
Yep, and that's indeed what I've ended up doing. It doesn't feel as nice as it could be but it will do.
-
RE: Refresh Required when Posting to /login
If there is a hook to use during connection/cookie check on the server side I'll gladly use it. That hook though doesn't seem to fire on its own.
-
Refresh Required when Posting to /login
When a player accesses our forums we're checking if a cookie exists on the client and if it does we send a post to /login to log the player in using our existing accounts system. The login works but it requires a refresh to show the player as logged in. Is there some event I should be listening for, or some signal I should be sending to the client to force it to update?
-
RE: Trying to use the "action:connected" hook
Likely going to take an existing one and modify it for now. Hitting Greenlight on Thursday with a show in Mississauga this weekend.
-
RE: Trying to use the "action:connected" hook
Seems to ignore the login override I have in place. Perhaps POST is better. To use POST I need CSRF included but no combination of require, define, etc with ['csrf'] as an argument is loading csrf.
require(['csrf'], function(csrf) { console.log(csrf); }
If anyone has a better suggestion I'm all ears. Looking for deep integration into our site/system without needing to login multiple times. Login will happen on our accounts page/main site. If someone visits the forums I want to grab their info (id/authkey) stored in a cookie and pass it onto the forums to verify their login without any user interaction. I'd like to use as much of the existing framework in nodebb as possible and simply plugin to our existing API to verify the info. I've managed to do the last part no problem using action:auth.overrideLogin.
-
RE: Trying to use the "action:connected" hook
Rather than send the required data via socket?