Changeset 1596426
- Timestamp:
- 02/15/2017 10:41:32 AM (9 years ago)
- Location:
- carpoolevents
- Files:
-
- 2 edited
- 3 copied
-
tags/1.4.4 (copied) (copied from carpoolevents/trunk)
-
tags/1.4.4/carpool.php (copied) (copied from carpoolevents/trunk/carpool.php) (5 diffs)
-
tags/1.4.4/readme.txt (copied) (copied from carpoolevents/trunk/readme.txt) (3 diffs)
-
trunk/carpool.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
carpoolevents/tags/1.4.4/carpool.php
r1593244 r1596426 4 4 Plugin URI: https://www.carpool.events 5 5 Description: Add carpooling to your WordPress site. Fully integrated. No hassles. Click SETTINGS in the left WP menu-bar and select carpool.events to configure this plugin. 6 Version: 1.4. 36 Version: 1.4.4 7 7 Author: Errel 8 8 Author URI: https://www.carpool.events … … 16 16 $var_carheader = "not_yet_set"; 17 17 $carpoolevents_server = 'https://www.easyapps.io'; 18 // $carpoolevents_server = 'http://192.168.0.90:8081';18 // $carpoolevents_server = 'http://192.168.0.90:8081'; 19 19 $carpoolevents_appserver = 'https://app50.easyapps.io'; 20 // $carpoolevents_appserver = 'http://192.168.0.90:3000';20 // $carpoolevents_appserver = 'http://192.168.0.90:3000'; 21 21 22 22 $characters = "abcdefghijklmnopqrstuvwxyz0123456789"; $randstring = ''; 23 for ($i = 0; $i < 20; $i++) { $randstring .= $characters[rand(0, strlen($characters) )]; }23 for ($i = 0; $i < 20; $i++) { $randstring .= $characters[rand(0, strlen($characters)-1)]; } 24 24 $wpsessionsecuritycode = "wpses_" . $randstring; 25 25 … … 114 114 $randstring = ''; 115 115 for ($i = 0; $i < 4; $i++) { 116 $randstring .= $k[rand(0, strlen($k) )];116 $randstring .= $k[rand(0, strlen($k)-1)]; 117 117 } 118 118 … … 364 364 <td> 365 365 <?php if ( strlen(get_option("carpool_header"))>10 ) { ?> 366 <?php 367 $arr = explode(";", get_option("carpool_header")); 368 foreach ($arr as $value) { 369 if (strpos($value, 'covuserid') !== false) { 370 $arr2 = explode("=", $value); 371 $accountcode = str_replace("'","",$arr2[1]); 366 <?php 367 $arr = explode(";", get_option("carpool_header")); 368 foreach ($arr as $value) { 369 if (strpos($value, 'covuserid') !== false) { 370 $arr2 = explode("=", $value); 371 $accountcode = str_replace("'","",$arr2[1]); 372 } 373 if (strpos($value, 'covregion') !== false) { 374 $arr2 = explode("=", $value); 375 $covregion = str_replace("'","",$arr2[1]); 376 } 372 377 } 373 if (strpos($value, 'covregion') !== false) { 374 $arr2 = explode("=", $value); 375 $covregion = str_replace("'","",$arr2[1]); 376 } 377 } 378 ?> 379 <h3>HOW TO UPGRADE?</h3> 380 <p style="font-size:105%"> 381 <ol> 382 383 <li>Click at the IMPORT ACCOUNT button</li> 384 <li>Enter your current active LOGIN NAME and PASSWORD (sent to you by e-mail).</li> 385 <li>Enter a valid e-mail address and click at the BLUE IMPORT ACCOUNT button</li> 386 </ol> 387 If you do no want to upgrade but start with a fresh installation: hide the import fields by clicking the import account button again and accept the new ID, enter your mail address and click the CREATE ACCOUNT button. 388 </p> 389 378 ?> 379 <h3>HOW TO UPGRADE?</h3> 380 <p style="font-size:105%"> 381 <ol> 382 383 <li>Click at the IMPORT ACCOUNT button</li> 384 <li>Enter your current active LOGIN NAME and PASSWORD (sent to you by e-mail).</li> 385 <li>Enter a valid e-mail address and click at the BLUE IMPORT ACCOUNT button</li> 386 </ol> 387 If you do no want to upgrade but start with a fresh installation: hide the import fields by clicking the import account button again and accept the new ID, enter your mail address and click the CREATE ACCOUNT button. 388 </p> 390 389 <?php } else { ?> 391 <?php $covregion = "us" ?>392 <h3>Congratulations!</h3>393 <p style="font-size:105%">You just added an advanced carpooling system to your WordPress site.<br>394 It will not charge your WP server. Maintenance, monitoring and upgrades are taken care of by the makers.</p>390 <?php $covregion = "us" ?> 391 <h3>Congratulations!</h3> 392 <p style="font-size:105%">You just added an advanced carpooling system to your WordPress site.<br> 393 It will not charge your WP server. Maintenance, monitoring and upgrades are taken care of by the makers.</p> 395 394 <?php } ?> 396 395 … … 570 569 $randstring = ''; 571 570 for ($i = 0; $i < 20; $i++) { 572 $randstring .= $k[rand(0, strlen($k) )];571 $randstring .= $k[rand(0, strlen($k)-1)]; 573 572 } 574 573 $var_carpoolevents_id = "user_".$randstring; -
carpoolevents/tags/1.4.4/readme.txt
r1593244 r1596426 5 5 Requires at least: 2.7.0 6 6 Tested up to: 4.7.2 7 Stable tag: 1.4. 37 Stable tag: 1.4.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 92 92 == Changelog == 93 93 94 = 1.4.3 = 95 * svn problem 94 = 1.4.4 = 95 * random strlen bugs fixed. 96 * Languages added. 97 * Improved Bootstrap 1/2/3/4 detection 96 98 97 99 = 1.4.2 = … … 106 108 * [Carpool] improved __new loader__. 107 109 * [Carpool] improved __search/filter__. 108 * [WP] follows WP rules for Shortcodes with param aters.110 * [WP] follows WP rules for Shortcodes with parameters. 109 111 110 112 = 1.2 = -
carpoolevents/trunk/carpool.php
r1593244 r1596426 4 4 Plugin URI: https://www.carpool.events 5 5 Description: Add carpooling to your WordPress site. Fully integrated. No hassles. Click SETTINGS in the left WP menu-bar and select carpool.events to configure this plugin. 6 Version: 1.4. 36 Version: 1.4.4 7 7 Author: Errel 8 8 Author URI: https://www.carpool.events … … 16 16 $var_carheader = "not_yet_set"; 17 17 $carpoolevents_server = 'https://www.easyapps.io'; 18 // $carpoolevents_server = 'http://192.168.0.90:8081';18 // $carpoolevents_server = 'http://192.168.0.90:8081'; 19 19 $carpoolevents_appserver = 'https://app50.easyapps.io'; 20 // $carpoolevents_appserver = 'http://192.168.0.90:3000';20 // $carpoolevents_appserver = 'http://192.168.0.90:3000'; 21 21 22 22 $characters = "abcdefghijklmnopqrstuvwxyz0123456789"; $randstring = ''; 23 for ($i = 0; $i < 20; $i++) { $randstring .= $characters[rand(0, strlen($characters) )]; }23 for ($i = 0; $i < 20; $i++) { $randstring .= $characters[rand(0, strlen($characters)-1)]; } 24 24 $wpsessionsecuritycode = "wpses_" . $randstring; 25 25 … … 114 114 $randstring = ''; 115 115 for ($i = 0; $i < 4; $i++) { 116 $randstring .= $k[rand(0, strlen($k) )];116 $randstring .= $k[rand(0, strlen($k)-1)]; 117 117 } 118 118 … … 364 364 <td> 365 365 <?php if ( strlen(get_option("carpool_header"))>10 ) { ?> 366 <?php 367 $arr = explode(";", get_option("carpool_header")); 368 foreach ($arr as $value) { 369 if (strpos($value, 'covuserid') !== false) { 370 $arr2 = explode("=", $value); 371 $accountcode = str_replace("'","",$arr2[1]); 366 <?php 367 $arr = explode(";", get_option("carpool_header")); 368 foreach ($arr as $value) { 369 if (strpos($value, 'covuserid') !== false) { 370 $arr2 = explode("=", $value); 371 $accountcode = str_replace("'","",$arr2[1]); 372 } 373 if (strpos($value, 'covregion') !== false) { 374 $arr2 = explode("=", $value); 375 $covregion = str_replace("'","",$arr2[1]); 376 } 372 377 } 373 if (strpos($value, 'covregion') !== false) { 374 $arr2 = explode("=", $value); 375 $covregion = str_replace("'","",$arr2[1]); 376 } 377 } 378 ?> 379 <h3>HOW TO UPGRADE?</h3> 380 <p style="font-size:105%"> 381 <ol> 382 383 <li>Click at the IMPORT ACCOUNT button</li> 384 <li>Enter your current active LOGIN NAME and PASSWORD (sent to you by e-mail).</li> 385 <li>Enter a valid e-mail address and click at the BLUE IMPORT ACCOUNT button</li> 386 </ol> 387 If you do no want to upgrade but start with a fresh installation: hide the import fields by clicking the import account button again and accept the new ID, enter your mail address and click the CREATE ACCOUNT button. 388 </p> 389 378 ?> 379 <h3>HOW TO UPGRADE?</h3> 380 <p style="font-size:105%"> 381 <ol> 382 383 <li>Click at the IMPORT ACCOUNT button</li> 384 <li>Enter your current active LOGIN NAME and PASSWORD (sent to you by e-mail).</li> 385 <li>Enter a valid e-mail address and click at the BLUE IMPORT ACCOUNT button</li> 386 </ol> 387 If you do no want to upgrade but start with a fresh installation: hide the import fields by clicking the import account button again and accept the new ID, enter your mail address and click the CREATE ACCOUNT button. 388 </p> 390 389 <?php } else { ?> 391 <?php $covregion = "us" ?>392 <h3>Congratulations!</h3>393 <p style="font-size:105%">You just added an advanced carpooling system to your WordPress site.<br>394 It will not charge your WP server. Maintenance, monitoring and upgrades are taken care of by the makers.</p>390 <?php $covregion = "us" ?> 391 <h3>Congratulations!</h3> 392 <p style="font-size:105%">You just added an advanced carpooling system to your WordPress site.<br> 393 It will not charge your WP server. Maintenance, monitoring and upgrades are taken care of by the makers.</p> 395 394 <?php } ?> 396 395 … … 570 569 $randstring = ''; 571 570 for ($i = 0; $i < 20; $i++) { 572 $randstring .= $k[rand(0, strlen($k) )];571 $randstring .= $k[rand(0, strlen($k)-1)]; 573 572 } 574 573 $var_carpoolevents_id = "user_".$randstring; -
carpoolevents/trunk/readme.txt
r1593244 r1596426 5 5 Requires at least: 2.7.0 6 6 Tested up to: 4.7.2 7 Stable tag: 1.4. 37 Stable tag: 1.4.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 92 92 == Changelog == 93 93 94 = 1.4.3 = 95 * svn problem 94 = 1.4.4 = 95 * random strlen bugs fixed. 96 * Languages added. 97 * Improved Bootstrap 1/2/3/4 detection 96 98 97 99 = 1.4.2 = … … 106 108 * [Carpool] improved __new loader__. 107 109 * [Carpool] improved __search/filter__. 108 * [WP] follows WP rules for Shortcodes with param aters.110 * [WP] follows WP rules for Shortcodes with parameters. 109 111 110 112 = 1.2 =
Note: See TracChangeset
for help on using the changeset viewer.