Completed

Wordpress Custom Plugin from my site to a Job Board Site

Published on the May 21, 2019 in IT & Programming

About this project

Open

REQUIREMENTS: Have knowledge with Wordpress, php, infusionsoft, wpfusion, api, and webhooks.

Due date: Thursday but no later than Friday of this week

Need to create a plugin that validates a membership via a third-party job board website.

Essentially, when somebody is signing up for the first time in the job board website, they will be filling out a form with their membership credentials that were created on our Wordpress site. Your plugin will need to take that information and query our membership database in Wordpress to see if a match exists. In order to set this up, the job board site will require a URL to send the membership information to.


This URL should connect to the membership database for the verification. Jobtarget can supply the data to the member validation url with post and get request methods.

These could be the options and way of setting them up:

Setting up using a POST request

The POST method is simply a data submission in which the plugin should do. The post request for member validation will act the same as if a form was posted to the member validation url with the form fields “name” and “id”. These are job board sites default field names for the POST method.


It is important to note that while these fields will be named “name” and “id”, the data that is passed over can be any field in our membership database that is easily obtainable by the member. For example; name could map to the users last name and id could map to their member number; or name could map to the email address and id could map to a value that represents the user’s password. In this case, the job board website will send over the email value in name and the password value in id.




To set up member validation using POST, the following steps should be taken:

You will need to create a Wordpress plugin on our server that receives two form variables:
name
id
and maybe accesskey since we use wpfusion as an intermediate for wordpress and infusionsoft

your plugin will take these variables and run them in a query against our database.
If a match is found, then output the word YES in the plugin. If there is no match, output the word NO in the plugin.


Once this is set up, we will send to the job board site the new url of the page that will be created by the plugin or webhook (if it's needed).

Once the job board website is able to test and confirm that the validation is working, they will then implement the member validation on the live job board for users to use.

OR

Setting up using a GET request

The GET method is a way of requesting data from a specified resource. The idea with a get request is to use name/value pairs in the url itself instead of in a form submission as we would use in a post request. An example of this would be a URL that looks like:
http://this.test.domain/test/demo_form.asp?name1=value1&name2=value2

Notice the name/value pairs in the URL as name1=value1 and name2=value2.


These relate to the data fields that are being sent over to the URL http://this.test.domain/test/demo_form.asp

Job board website allows a site to use the get method for member validation in the same sense as the post request. The difference is that the data is embedded into the URL instead of in a form submission. Because the data is in the URL, the name of the fields can be set up with more flexibility.


As in the post request, there should still be two main data fields, but instead of naming them name and id, they can be labeled username and userid or whatever works best for you.

To set up member validation using GET, the following steps should be taken:

You will need to create a plugin on our server that receives two URL variables. These parameters can be named as needed.

When we provide the url string to the job board website, please specify which field maps to which url parameter so they can set up the integration correctly.

Your plugin will take the URL parameters and run them in a query against our membership database.

If a match is found, then output the word YES in the plugin. If there is no match, output the word NO in the plugin.

Once this is set up, we will send to the job board website the URL of the page that the plugin created.

Once the job board website is able to test and confirm that the validation is working, they will then implement the member validation on the live job board for users to use.

Category IT & Programming
Subcategory Web development
What is the scope of the project? Medium-sized change
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed
Experience in this type of projects No (I haven’t managed this kind of project before)
API Integrations Other (Other APIs)
Roles needed Developer

Delivery term: May 24, 2019

Skills needed

Other projects posted by W. L.