File Name: (IM) IPB SDK V3
File Submitter: Vince
File Submitted: 29 Jul 2009
File Category: IP.Board v3.0.x Mods
Resource Type: Application
Version: 3.0Alpha

This is just an alpha version of the IPB SDK for IPB 3. Currently it supports:

  • Login
    • Check Email address
    • Login
    • Logout
    • Delete Board Cookies
    • Check email exists
    • Change member email
    • Change member password
    • Change member name/display name
    • Check to see if member is logged in
  • Register
    • Create Account
  • General
    • Get member information
    • Get board settings, caches


Simple to use interface.

Examples included, documentation and class reference.

Demo:

<?php

require_once('../SDK/IPBSDK.php');
$sdk = IPBSDK::instance();
$login = $sdk->getClass('login');
$self = $_SERVER['PHP_SELF'];

if( $sdk->request['dologin'] )
{
    $login->authLogin( 'admin', '123' );
    header('Location: ' . $self);
}

if( $sdk->request['logout'] )
{
    $login->logOut();
    header('Location: ' . $self);
}

if( !$login->isLoggedIn() )
{
    
    echo "You are not logged in.<Br/>";
    echo "Please <a href='{$self}?dologin=1'>Here</a> to login as admin.";
}
else
{
    echo "Welcome, {$sdk->memberData['members_display_name']} <Br/>";
    echo "Please <a href='{$self}?logout=1'>Here</a> to logout.";
}



Bug reporting and feature requests please reffer to the bug tracker (link available at the top of the page).
We will be updating it with new features and options within time.



Click here to download this file View the full article