Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Qartvela™

Сделал для своего форума Inline Uploader

Recommended Posts

Этот код работает на 3.1.4

Вы забыли определить константу FORUM_PATH в начале скрипта

define( 'FORUM_PATH', '/home/www/domains/site/public_html/');

require_once( FORUM_PATH . 'admin/api/member/api_member_login.php' );

$ipbMemberLoginApi = new apiMemberLogin();

$ipbMemberLoginApi->init();

$member = $ipbMemberLoginApi->getMember();

$id = ($member['member_id']);

  • Upvote 1

Share this post


Link to post
Share on other sites

Не, не забыл :)

 

-------------------

 

Из какого файла я могу брать эту информацию?

IPB 3.4.9

$ipbMemberLoginApi = new apiMemberLogin();
$ipbMemberLoginApi->init();
$member = $ipbMemberLoginApi->getMember();
$id = ($member['member_id']); 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...