Ditutup

Simple forum user integration (using API's)

Need someone write a connection script between Popux GPTEngine and Vanilla forum using their respective API's. Code must be secure, and written using best practices.

API documentation/files:

GPTEngine API docs - [url removed, login to view]

Plugin examples - [url removed, login to view]

Fully functional demo - [url removed, login to view]

Vanilla Forum - [url removed, login to view]

Single sign on docs - [url removed, login to view]

Vanilla Forums jsConnect library - [url removed, login to view]

This can be accomplished in a dozen lines of code, the Vanilla library provides a template. All you need to do is map the data tables from GPTEngine and create an SQL query that provides the needed information, set the variables, then fill in the blanks.

Existing code:

<?php
require_once dirname(__FILE__).'/functions.jsconnect.php';;

// 1. Get your client ID and secret here. These must match those in your jsConnect settings.
$clientID = "1234";
$secret = "1234";

// 2. Grab the current user from your session management system or database here.
$signedIn = true; // this is just a placeholder

// YOUR CODE HERE.

// 3. Fill in the user information in a way that Vanilla can understand.
$user = array();

if ($signedIn) {
// CHANGE THESE FOUR LINES.
$user['uniqueid'] = '123';
$user['name'] = 'John PHP';
$user['email'] = 'john.php@anonymous.com';
$user['photourl'] = '';
}

// 4. Generate the jsConnect string.

// This should be true unless you are testing.
// You can also use a hash name like md5, sha1 etc which must be the name as the connection settings in Vanilla.
$secure = true;
WriteJsConnect($user, $_GET, $clientID, $secret, $secure);

Kemahiran: Javascript, MySQL, PHP

Lihat lebih lanjut: vanilla forum jsconnect, jsconnectphp, gptengine, popux, simple php forum code, simple forum php script, javascript code library, forum php html, write api using php, write a simple php script, vanillaforums, using api, single sign on, secure api, API connection, integration php api, javascript connection, write user documentation, user integration, best php library, html javascript code simple, download github, simple connection, simple library, https demo

Tentang Majikan:
( 0 ulasan ) Wood River, United States

ID Projek: #1526538

3 pekerja bebas membida secara purata $200 untuk pekerjaan ini

toinnisfree

quick pro help. ftp and escrow required.

$150 USD dalam 2 hari
(559 Ulasan)
7.9
alvicreatives

Hi, Alvicreatives has been long into web application development & designing and development business. The last 5 years, we are working on web based ASP.net / C#, Sqlserver 2005/2008, Ajax, CSS, Flash,PHP,MySql,Wor Lagi

$200 USD dalam 7 hari
(1 Ulasan)
0.0
V1SI3jB2d

Check PMB please.

$250 USD dalam sehari
(0 Ulasan)
0.0