I have several number and string fields in my plugin-rendered page through a custom template edit_info.tpl.
Everything is working fine and wanted to add some validations for the fields before submitting.
What would be the best way to achieve this?
hey Guys! i need help, if anyone can put me to a right direction on creating a sidebar form that could send to an API with JSON format?
parts of the things it could send is:
responses from the API
if the user is logged in
show only in:
pages that i need it to show
git rev-parse HEAD returns aa116e6b4d2f42731729db01f28875494988a684
I've looked through the Chrome dev console in the network section and it seems that ajaxify is receiving 304: Not modified responses, and gets stuck on opacity:0. A very weird functionality. All of the elements are loaded in, but they are all invisible. Very odd.
There is an Uncaught Error: Mismatched anonymous define() module error that occurs on page load in ajaxify.
Okay, I guess never mind. One of the external sources I was including was causing the problem. I removed the define call and now it's working.
@julian And where is /auth/yourplugin/callback handled? Because in the case of nodebb-plugin-sso-oauth it takes to the homepage of the forum. But i want to change that behaviour and i don't know where or how.
I want to use the SSO plugins for Twitter and Facebook, but I don't like it the plugins pick the real names from Facebook and Twitter for NodeBB forum. I don't want to enable username changes, but I want the users if they use SSO plugins that they can set their username, and not forced to use the real name of facebook/twitter.
People of my forum complained, because they didn't want their full name was their username on my forum.