Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Plugin creation questions

qwertybobqwertybob New
edited August 2012 in Vanilla 2.0 - 2.8

Hi,
I'm trying to develop a plugin that will call a remote API to validate a user, however the documentation is rather sparse (to put it politely). After hrs of struggling I can now toggle my plugin enabled/disabled, and also to have its own settings page which sets settings into the config file.
However, I'm now stuck and have a few questions.

(a) How do I implement a button on my plugins settings page which the user can click and have it test run some validation of what the user has input (i.e. to check the API key they've used). I imagine this is using the Forms class (which I've used to create the form) and anchor creation and what-not, but don't know the specifics. Any suggestions?

(b) Once I've been able to confirm the API I should be able to get to the meat of it. What would the plugin class etc be that I'd want to call if I wanted to intercept a user registration and add a box to it for their product key?

Thanks

Sign In or Register to comment.