IPS BridgeA bridge to connect your IPS forum with your website!
Disclaimer: This is for developers. Meaning you are to setup this yourself. Help will not be provided unless it's absolutely not functioning.
Compatible versions: 4.3.x, 4.4.x
A php library for integrating your website with your forum. Supports topics, posts, logging in, and logging out, and getting various member information.
Requires at least PHP version 5.6. No other libraries required.
o make use of this library, first define your forum path:
// Change to your forum directory, include the trailing slash
Then include the api, and create a variable with the InvisionAPI instance:
$api = InvisionAPI::getInstance();
You can now use the API! Call $api->login("username", "password") to login, obviously...
Then to logout, call $api->logout();
Easy to get member information...
just create a new variable like so:
$member = $api->getCachedMember();
$username = $member->name;
$group_id = $member->member_group_id;
If you want to know what you can pull, just refer to your forum database, and look in the core_members table. You should be able to reference each column by their name.
Also don't forget to check if they're logged in!
$isGuest = $api->isGuest($member);
Contact the Author
If you need support with this product, or any other, you can contact me directly via discord.