Changeset 2516104
- Timestamp:
- 04/16/2021 07:10:29 AM (5 years ago)
- Location:
- experience-builder/trunk
- Files:
-
- 3 edited
-
Readme.txt (modified) (3 diffs)
-
includes/controllers/class-monoloop-controller-auth.php (modified) (2 diffs)
-
includes/services/class-monoloop-service-api.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
experience-builder/trunk/Readme.txt
r1926149 r2516104 5 5 Requires at least: 3.6 6 6 Tested up to: 4.9.8 7 Stable tag: 1. 27 Stable tag: 1.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 14 14 == Description == 15 16 17 18 <h4>From static to personalized site experience</h4> 19 20 Most 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? 21 If 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. 15 22 16 23 <h4>Profile your visitors into audiences</h4> … … 77 84 78 85 == Changelog == 86 = 1.4.1 = 87 * Bug fixed 88 79 89 = 1.4 = 80 90 * Fixed x-frame-options in placement window. -
experience-builder/trunk/includes/controllers/class-monoloop-controller-auth.php
r1926119 r2516104 119 119 $response = $api->login(['username' => $_POST['ml_username'] , 'password' => $_POST['ml_password'] ]) ; 120 120 $content = json_decode($response['content'],true); 121 121 122 if($content['is_success']){ 122 123 … … 155 156 ]); 156 157 157 $redirect = $api->getRedirectPath() ; 158 158 $redirect = $api->getRedirectPath(); 159 159 ?> 160 160 <script language="javascript" type="text/javascript"> -
experience-builder/trunk/includes/services/class-monoloop-service-api.php
r1926119 r2516104 17 17 */ 18 18 $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'; 21 21 $this->cbr_path = '//d1n1frcxojl8er.cloudfront.net/'; 22 22 … … 35 35 36 36 public function getTokenFromHeader($header){ 37 //echo $header. '<br/>'; 37 38 $pos1 = strpos($header,'Ml-Token') ; 38 39 $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); 41 43 } 42 44 … … 94 96 95 97 $token = get_option('ml_token'); 96 if($token ){98 if($token && $path != '/api/user/login' ){ 97 99 $headers[] = 'ML-Token: ' . $token ; 98 100 }
Note: See TracChangeset
for help on using the changeset viewer.