Changeset 2442018
- Timestamp:
- 12/18/2020 06:03:41 AM (5 years ago)
- Location:
- rimplenet/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
public/class-rimplenet-mlm-matrix-public.php (modified) (7 diffs)
-
rimplenet.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rimplenet/trunk/README.txt
r2440947 r2442018 78 78 79 79 == Changelog == 80 = 1.0. 5=80 = 1.0.7 = 81 81 * BETA SUPPORT for Creation of Investment Pages, FULL SUPPORT will be available Version 1.2.0 82 82 * Fixed Matrix Tree not Showing for last depth of downline … … 96 96 97 97 == Upgrade Notice == 98 = 1.0. 5=98 = 1.0.7 = 99 99 * BETA SUPPORT for Creation of Investment Pages, FULL SUPPORT will be available Version 1.2.0 100 100 * Fixed Matrix Tree not Showing for last depth of downline -
rimplenet/trunk/public/class-rimplenet-mlm-matrix-public.php
r2440951 r2442018 6 6 class RimplenetMlmMatrix 7 7 { 8 9 function __construct()10 {11 8 9 function __construct() 10 { 11 12 12 add_shortcode('rimplenet-draw-mlm-tree', array($this, 'DrawMlmTree')); 13 13 add_action('init', array($this,'update_user_matrix_completion_bonus'), 25, 0 ); 14 14 15 15 16 }16 } 17 17 18 18 public function update_user_matrix_completion_bonus() … … 36 36 37 37 public function DrawMlmTree($atts) { 38 39 40 ob_start();41 42 include plugin_dir_path( __FILE__ ) . 'layouts/design-mlm-tree.php';43 44 $output = ob_get_clean();45 46 return $output;47 38 39 40 ob_start(); 41 42 include plugin_dir_path( __FILE__ ) . 'layouts/design-mlm-tree.php'; 43 44 $output = ob_get_clean(); 45 46 return $output; 47 48 48 } 49 49 … … 66 66 67 67 return $totalusers; 68 68 69 69 } 70 70 … … 75 75 76 76 return $subscribers_count; 77 77 78 78 } 79 79 … … 81 81 { 82 82 83 if ($this->getMatrixCapacityUsed($matrix_id, $user_id)>=$this->getMatrixCapacity($matrix_id)) {84 return true;85 }86 else{87 return false;88 89 }90 83 if ($this->getMatrixCapacityUsed($matrix_id, $user_id)>=$this->getMatrixCapacity($matrix_id)) { 84 return true; 85 } 86 else{ 87 return false; 88 89 } 90 91 91 } 92 92 … … 262 262 $Allarr = $arr_subscribers_child_parent; 263 263 $selectedArr = array("$user_id"=>NULL); 264 264 265 $ret_Arr = $this->RECselectDownlineArr($matrix_id, $Allarr, $selectedArr); 265 266 if(empty($Allarr)){ 267 $DLarr = $ret_Arr; 268 } 269 else{ 270 $DLarr = $Allarr; 271 } 272 273 return $DLarr; 266 267 return $ret_Arr; 274 268 275 269 … … 286 280 287 281 $limit = ($max_capacity-1)/$width; 288 if(count($selectedArr)>=$max_capacity or $pointer>=$depth ){282 if(count($selectedArr)>=$max_capacity or $pointer>=$depth+$limit){ 289 283 return $selectedArr; 290 284 } -
rimplenet/trunk/rimplenet.php
r2440947 r2442018 17 17 * Plugin URI: https://rimplenet.com 18 18 * Description: RimpleNet E-Wallets | Investments Plugin | MLM | Matrix | Referral Manager | FinTech 19 * Version: 1.0. 519 * Version: 1.0.7 20 20 * Author: Nellalink 21 21 * Author URI: https://rimplenet.com
Note: See TracChangeset
for help on using the changeset viewer.