Xen API or XenPorta? Coming from SMF SSI API (Wants to go for XenForo)


Hi guys,

I have an website of that is almost everything integrated by using SMF SSI.

When I try to find some topic about this over here on xenforo.
I have found some old posts from 2010 and 2013, and maybe these days we have something better.

The most needed function is something like this:

require_once($_SERVER['DOCUMENT_ROOT']. "/forum/SSI.php");
And reply is:
array(31) { ["groups"]=> array(2) { [0]=> int(1) [1]=> int(5) } ["possibly_robot"]=> bool(false) ["id"]=> string(1) "1" ["username"]=> string(8) "loginname" ["name"]=> string(5) "ForumName" ["email"]=> string(14) "admin@email.com" ["passwd"]=> string(40) "129f625fe159dkg9d8gjf6aba69803c2cb253938" ["language"]=> string(7) "english" ["is_guest"]=> &bool(false) ["is_admin"]=> &bool(true) ["theme"]=> string(1) "4" ["last_login"]=> string(10) "1474555281" ["ip"]=> string(9) "" ["ip2"]=> string(9) "" ["posts"]=> string(2) "76" ["time_format"]=> string(14) "%B %d, %Y - %R" ["time_offset"]=> int(0) ["avatar"]=> array(4) { ["url"]=> string(0) "" ["filename"]=> string(0) "" ["custom_dir"]=> bool(false) ["id_attach"]=> string(1) "0" } ["smiley_set"]=> string(7) "default" ["messages"]=> &string(1) "8" ["unread_messages"]=> &int(0) ["total_time_logged_in"]=> string(6) "516927" ["buddies"]=> array(0) { } ["ignoreboards"]=> array(0) { } ["ignoreusers"]=> array(0) { } ["warning"]=> string(1) "0" ["permissions"]=> array(0) { } ["query_see_board"]=> string(3) "1=1" ["query_wanna_see_board"]=> string(3) "1=1" ["mod_cache"]=> array(7) { ["time"]=> int(1474537412) ["id"]=> string(1) "1" ["gq"]=> string(3) "1=1" ["bq"]=> string(3) "1=1" ["ap"]=> array(1) { [0]=> int(0) } ["mb"]=> array(0) { } ["mq"]=> string(3) "0=1" } ["is_mod"]=> &NULL }

Another needed function is shared Login! Where i can put username and password in my website and users able to login without enter inside forum or get redirected to the forum after login.

I love it, and I'm SURE of XenForo can do it like this or much better.
I just need to know what is the best way on these days (2016),
because like I said, i have found only posts from 2010 and 2013 with something like this.