Alex914

+Clients
  • Content count

    26
  • Joined

  • Last visited


About Alex914

  • Rank
    IPB Newbie
  • Birthday 08/05/1988

Recent Profile Visitors


966 profile views

Alex914's Activity

  1. Alex914 added a review on a file: Pack langage FR Suite IPS Communauté 4.0.0 / Forums / Calendar / Downloads / Gallery   

    Merci. Est-ce qu'il va y avoir le reste ? (Commerce, Pages)
    • 2 of 2 members found this review helpful
  2. Alex914 added a post in a topic: [Commerce] nexusApi ?   

    Thanks so much!
  3. Alex914 added a post in a topic: [Commerce] nexusApi ?   

    Hello,
    How generate an invoice with IPS 4 on a page outside IPS Commerce? Is that possible? Like IPS 3: https://www.invisionpower.com/support/guides/_/advanced-and-developers/ipnexus/how-to-interact-with-purchases-r113
     
  4. Alex914 added a comment: [Beta 7a] API does not work   

    You have try add a constant ?
    In /system/Request/Request.php (line 297)
    $path = mb_substr( \IPS\Settings::i()->base_url, mb_strpos( \IPS\Settings::i()->base_url, $_SERVER['SERVER_NAME'] ) + mb_strlen( $_SERVER['SERVER_NAME'] ) ); $path = mb_substr( $path, mb_strpos( $path, '/' ) ); Replace by
    $path = COOKIE_PATH; In your constants.php, add
    define( 'COOKIE_PATH', '/' ); Delete the cookies in your browser and try... It works perfect now for me.
  5. Alex914 added a comment: [Beta 7a] API does not work   

    The cookie path ‘member_id’ and ‘pass_hash’ is not root but IPS install directory. If your install is /forums/, the cookie path ‘member_id’ and ‘pass_hash’ is '/forums/'.
    What do you think IPS Staff ?
  6. Alex914 added a comment: [Beta 7a] API does not work   

    The solution 1 is simple and perfect for me
     
  7. Alex914 added a comment: [Beta 7a] API does not work   

    Yes, exactly.
     
  8. Alex914 added a comment: [Beta 7a] API does not work   

    Same for me, do you need a access of my test site ?
    I need this function for checking if member is logged or not in the menu of my site. It works perfect with IPS3 ( view this video ) but not with IPS4
  9. Alex914 added a post in a topic: Get user information ?   

    A solution? If no a bug, why doesn't it work?
     
    It works perfect with IPS3...
     
  10. Alex914 added a comment: [Beta 7a] API does not work   

    Thanks, but does not work :-/
     
     
  11. Alex914 added a bug in Bug Tracker   

    [Beta 7a] API does not work
    When I load the IPS4 Framework for checking if member is logged or not on my website, does not work.
     
    But if I place the file in forums directory, it works ?
     
    <?php // Initialize IPS4 Framework require_once( 'forums/init.php' ); // require_once( 'init.php' ); // Indicate that we should consider this a front-end session so we can obtain the currently logged in users information. \IPS\Session\Front::i(); // Grab the currently Logged In user. $member = \IPS\Member::loggedIn(); ?> <h1>TEST SITE</h1> <a href="http://localhost:8888/IPS4/forums/">Forums</a> <?php if ($member->member_group_id == 2) { echo 'Hello guest'; } else { echo 'Hello '.$member->name; } ?>  
    • 19 replies
    • 506 views
  12. Alex914 added a post in a topic: Get user information ?   

    It work only if my demo.php file is in board directory, why ?
    demo.php in / = no work, no logged
    require( 'forums/init.php' ); demo.php in /forums = ok
    require( 'init.php' );  
  13. Alex914 added a post in a topic: Get user information ?   

    Hello,
    The API does not work (4.0.0 Beta 7a)
    1) I create demo file (demo.php) in my server and load IPS.
    <?php // Initialize IPS4 Framework require_once( 'forums/init.php' ); // Indicate that we should consider this a front-end session so we can obtain the currently logged in users information. \IPS\Session\Front::i(); // Grab the currently Logged In user. $member = \IPS\Member::loggedIn(); print_r($member); // Group 2 = Guests if ($member->member_group_id == 2) { echo 'Guests'; } else { echo '<br><br>'; echo 'Hello '; echo $member->name; } 2) I'am logged on my board

    3) On my demo.php page, no logged
    IPS\Member Object ( [_followData] => [_group] => [restrictions:protected] => [modPermissions:protected] => [calculatedLanguageId:protected] => [markers] => Array ( ) [markersResetTimes:protected] => Array ( ) [previousName:protected] => [sessionData:protected] => [_lang:protected] => [_url:protected] => [profileFields] => [_reputationData:protected] => [_following:protected] => Array ( ) [reportCount:protected] => [ignorePreferences:protected] => [_data:protected] => Array ( [member_group_id] => 2 [mgroup_others] => [joined] => 1423276886 [ip_address] => 85.XX [timezone] => UTC [allow_admin_mails] => 1 [pp_photo_type] => [member_posts] => 0 [pp_main_photo] => [pp_thumb_photo] => [failed_logins] => [pp_reputation_points] => 0 [signature] => ) [_new:protected] => 1 [changed] => Array ( [member_group_id] => 2 [mgroup_others] => [joined] => 1423276886 [ip_address] => 85.XX [timezone] => UTC [allow_admin_mails] => 1 [pp_photo_type] => [member_posts] => 0 ) [skipCloneDuplication] => )  
  14. Alex914 added a post in a topic: Get user information ?   

    Thanks :)
  15. Alex914 added a post in a topic: Get user information ?   

    Hello,
    How get the user information (username, group...) on an external site?
    Like IPS3
    require_once( './initdata.php' ); require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );/*noLibHook*/ require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );/*noLibHook*/ $registry = ipsRegistry::instance(); $registry->init(); // Fetch details $member = $registry->member()->fetchMemberData(); // Print the display //print_r($registry->member()->fetchMemberData()); print $member['members_display_name']; //print $member['member_id']; Thanks

Status Feed