Version Description
Fixed a few warnings on the register page.
Download this release
Release Info
| Developer | barinagabriel |
| Plugin | |
| Version | 1.1.45 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.44 to 1.1.45
- front-end/wppb.register.php +13 -8
- index.php +2 -2
- readme.txt +4 -1
front-end/wppb.register.php
CHANGED
|
@@ -1089,11 +1089,12 @@ function wppb_front_end_register($atts){
|
|
| 1089 |
}
|
| 1090 |
|
| 1091 |
// if admin approval is activated, then block the user untill he gets approved
|
| 1092 |
-
$wppb_generalSettings = get_option('wppb_general_settings');
|
| 1093 |
-
if($wppb_generalSettings
|
| 1094 |
-
|
| 1095 |
-
|
| 1096 |
-
|
|
|
|
| 1097 |
|
| 1098 |
// send an email to the admin, and - if selected - to the user also.
|
| 1099 |
$bloginfo = get_bloginfo( 'name' );
|
|
@@ -1161,7 +1162,9 @@ function wppb_front_end_register($atts){
|
|
| 1161 |
echo $registerFilterArray['registrationMessage1'] = apply_filters('wppb_register_account_created1', $registerFilterArray['registrationMessage1'], $registered_name);
|
| 1162 |
}
|
| 1163 |
|
| 1164 |
-
|
|
|
|
|
|
|
| 1165 |
//check to see if the redirecting addon is present and activated
|
| 1166 |
$wppb_addon_settings = get_option('wppb_addon_settings');
|
| 1167 |
if ($wppb_addon_settings['wppb_customRedirect'] == 'show'){
|
|
@@ -1190,8 +1193,9 @@ function wppb_front_end_register($atts){
|
|
| 1190 |
echo $registerFilterArray['registrationMessage2'] = apply_filters('wppb_register_account_created2', $registerFilterArray['registrationMessage2'], $registered_name);
|
| 1191 |
}
|
| 1192 |
|
| 1193 |
-
$
|
| 1194 |
-
|
|
|
|
| 1195 |
//check to see if the redirecting addon is present and activated
|
| 1196 |
$wppb_addon_settings = get_option('wppb_addon_settings');
|
| 1197 |
if ($wppb_addon_settings['wppb_customRedirect'] == 'show'){
|
|
@@ -1513,6 +1517,7 @@ function wppb_front_end_register($atts){
|
|
| 1513 |
|
| 1514 |
if ($wppb_defaultOptions['password'] == 'show'){
|
| 1515 |
$errorMark = '';
|
|
|
|
| 1516 |
$errorVar = '';
|
| 1517 |
$errorVar2 = '';
|
| 1518 |
if ($wppb_defaultOptions['passwordRequired'] == 'yes'){
|
| 1089 |
}
|
| 1090 |
|
| 1091 |
// if admin approval is activated, then block the user untill he gets approved
|
| 1092 |
+
$wppb_generalSettings = get_option('wppb_general_settings', 'not_found');
|
| 1093 |
+
if ($wppb_generalSettings != 'not_found')
|
| 1094 |
+
if($wppb_generalSettings['adminApproval'] == 'yes'){
|
| 1095 |
+
wp_set_object_terms( $new_user, array( 'unapproved' ), 'user_status', false);
|
| 1096 |
+
clean_object_term_cache( $new_user, 'user_status' );
|
| 1097 |
+
}
|
| 1098 |
|
| 1099 |
// send an email to the admin, and - if selected - to the user also.
|
| 1100 |
$bloginfo = get_bloginfo( 'name' );
|
| 1162 |
echo $registerFilterArray['registrationMessage1'] = apply_filters('wppb_register_account_created1', $registerFilterArray['registrationMessage1'], $registered_name);
|
| 1163 |
}
|
| 1164 |
|
| 1165 |
+
$redirectLink = wppb_curpageurl();
|
| 1166 |
+
|
| 1167 |
+
if (file_exists ( WPPB_PLUGIN_DIR . '/premium/addons/addon.php' )){
|
| 1168 |
//check to see if the redirecting addon is present and activated
|
| 1169 |
$wppb_addon_settings = get_option('wppb_addon_settings');
|
| 1170 |
if ($wppb_addon_settings['wppb_customRedirect'] == 'show'){
|
| 1193 |
echo $registerFilterArray['registrationMessage2'] = apply_filters('wppb_register_account_created2', $registerFilterArray['registrationMessage2'], $registered_name);
|
| 1194 |
}
|
| 1195 |
|
| 1196 |
+
$redirectLink = wppb_curpageurl();
|
| 1197 |
+
|
| 1198 |
+
if (file_exists ( WPPB_PLUGIN_DIR . '/premium/addons/addon.php' )){
|
| 1199 |
//check to see if the redirecting addon is present and activated
|
| 1200 |
$wppb_addon_settings = get_option('wppb_addon_settings');
|
| 1201 |
if ($wppb_addon_settings['wppb_customRedirect'] == 'show'){
|
| 1517 |
|
| 1518 |
if ($wppb_defaultOptions['password'] == 'show'){
|
| 1519 |
$errorMark = '';
|
| 1520 |
+
$errorMark2 = '';
|
| 1521 |
$errorVar = '';
|
| 1522 |
$errorVar2 = '';
|
| 1523 |
if ($wppb_defaultOptions['passwordRequired'] == 'yes'){
|
index.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: Profile Builder
|
| 4 |
Plugin URI: http://www.cozmoslabs.com/2011/04/12/wordpress-profile-builder-a-front-end-user-registration-login-and-edit-profile-plugin/
|
| 5 |
Description: Login, registration and edit profile shortcodes for the front-end. Also you can chose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
|
| 6 |
-
Version: 1.1.
|
| 7 |
Author: Reflection Media, Barina Gabriel
|
| 8 |
Author URI: http://www.reflectionmedia.ro
|
| 9 |
License: GPL2
|
|
@@ -54,7 +54,7 @@ function wppb_return_bytes($val) {
|
|
| 54 |
}
|
| 55 |
|
| 56 |
|
| 57 |
-
define( 'PROFILE_BUILDER_VERSION', '1.1.
|
| 58 |
define( 'WPPB_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) );
|
| 59 |
|
| 60 |
if (file_exists ( WPPB_PLUGIN_DIR . '/premium/addons/addon.php' ))
|
| 3 |
Plugin Name: Profile Builder
|
| 4 |
Plugin URI: http://www.cozmoslabs.com/2011/04/12/wordpress-profile-builder-a-front-end-user-registration-login-and-edit-profile-plugin/
|
| 5 |
Description: Login, registration and edit profile shortcodes for the front-end. Also you can chose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
|
| 6 |
+
Version: 1.1.45
|
| 7 |
Author: Reflection Media, Barina Gabriel
|
| 8 |
Author URI: http://www.reflectionmedia.ro
|
| 9 |
License: GPL2
|
| 54 |
}
|
| 55 |
|
| 56 |
|
| 57 |
+
define( 'PROFILE_BUILDER_VERSION', '1.1.45' );
|
| 58 |
define( 'WPPB_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) );
|
| 59 |
|
| 60 |
if (file_exists ( WPPB_PLUGIN_DIR . '/premium/addons/addon.php' ))
|
readme.txt
CHANGED
|
@@ -7,7 +7,7 @@ custom registration, custom registration form, custom registration page, extra u
|
|
| 7 |
front-end register, front-end registration, frontend edit profile, edit profile
|
| 8 |
Requires at least: 3.1
|
| 9 |
Tested up to: 3.5
|
| 10 |
-
Stable tag: 1.1.
|
| 11 |
|
| 12 |
Simple to use profile plugin allowing front-end login, registration and edit profile by using shortcodes.
|
| 13 |
|
|
@@ -93,6 +93,9 @@ This plugin only adds/removes fields in the front-end. The default information-f
|
|
| 93 |
5. Logged in Page: screenshot7.jpg
|
| 94 |
|
| 95 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
| 96 |
= 1.1.44 =
|
| 97 |
Minor changes to the readme file.
|
| 98 |
|
| 7 |
front-end register, front-end registration, frontend edit profile, edit profile
|
| 8 |
Requires at least: 3.1
|
| 9 |
Tested up to: 3.5
|
| 10 |
+
Stable tag: 1.1.45
|
| 11 |
|
| 12 |
Simple to use profile plugin allowing front-end login, registration and edit profile by using shortcodes.
|
| 13 |
|
| 93 |
5. Logged in Page: screenshot7.jpg
|
| 94 |
|
| 95 |
== Changelog ==
|
| 96 |
+
= 1.1.45 =
|
| 97 |
+
Fixed a few warnings on the register page.
|
| 98 |
+
|
| 99 |
= 1.1.44 =
|
| 100 |
Minor changes to the readme file.
|
| 101 |
|
