Plugin Directory

Changeset 2516104


Ignore:
Timestamp:
04/16/2021 07:10:29 AM (5 years ago)
Author:
monoloop
Message:

Minor bug fixed

Location:
experience-builder/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • experience-builder/trunk/Readme.txt

    r1926149 r2516104  
    55Requires at least: 3.6
    66Tested up to: 4.9.8
    7 Stable tag: 1.2
     7Stable tag: 1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313
    1414== Description ==
     15
     16
     17
     18<h4>From static to personalized site experience</h4>
     19
     20Most websites still treat all visitors the same. First time visitors get the same experience as frequent visitors with hundreds of prior visits. High value visitors get the same as low value visitors � you get the picture, right?
     21If you want to fundamentally increase the relevance of your content to the people who consumes it � you need to adapt it to the individual visitor � one visitor at a time. Experience Builder enable you to do just that.
    1522
    1623<h4>Profile your visitors into audiences</h4>
     
    7784
    7885== Changelog ==
     86= 1.4.1 =
     87* Bug fixed
     88
    7989= 1.4 =
    8090* Fixed x-frame-options in placement window.
  • experience-builder/trunk/includes/controllers/class-monoloop-controller-auth.php

    r1926119 r2516104  
    119119            $response = $api->login(['username' => $_POST['ml_username'] , 'password' => $_POST['ml_password'] ]) ;
    120120            $content = json_decode($response['content'],true);
     121       
    121122            if($content['is_success']){
    122123
     
    155156                ]);
    156157
    157                 $redirect = $api->getRedirectPath() ;
    158 
     158                $redirect = $api->getRedirectPath();
    159159                ?>
    160160                <script language="javascript" type="text/javascript">
  • experience-builder/trunk/includes/services/class-monoloop-service-api.php

    r1926119 r2516104  
    1717    */
    1818    $this->ui_path = '//app.monoloop.com';
    19     $this->api_path = 'http://uiapiv2.monoloop.com';
    20     $this->auth_path = 'http://authv2.monoloop.com';
     19    $this->api_path = 'https://uiapiv2.monoloop.com';
     20    $this->auth_path = 'https://authv2.monoloop.com';
    2121    $this->cbr_path = '//d1n1frcxojl8er.cloudfront.net/';
    2222
     
    3535
    3636  public function getTokenFromHeader($header){
     37    //echo $header. '<br/>';
    3738    $pos1 = strpos($header,'Ml-Token') ;
    3839    $pos2 = strpos($header,' ',$pos1) ;
    39     $pos3 = strpos($header,' ',$pos2+1) ;
    40     return substr($header, $pos2 + 1 , $pos3-$pos2 - 1 ) ;
     40    //$pos3 = strpos($header,' ',$pos2+1) ;
     41//  echo substr($header, $pos2 + 1);die();
     42    return substr($header, $pos2 + 1);
    4143  }
    4244
     
    9496
    9597    $token = get_option('ml_token');
    96     if($token){
     98    if($token && $path != '/api/user/login' ){
    9799      $headers[] = 'ML-Token: ' . $token  ;
    98100    }
Note: See TracChangeset for help on using the changeset viewer.