Title: mcestaro's Replies | WordPress.org

---

# mcestaro

  [  ](https://wordpress.org/support/users/mcestaro/)

 *   [Profile](https://wordpress.org/support/users/mcestaro/)
 *   [Topics Started](https://wordpress.org/support/users/mcestaro/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mcestaro/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mcestaro/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mcestaro/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mcestaro/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mcestaro/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Freesoul Deactivate Plugins - Disable plugins on individual WordPress pages] After submitting form, disabled plugins work again](https://wordpress.org/support/topic/after-submitting-form-disabled-plugins-work-again/)
 *  Thread Starter [mcestaro](https://wordpress.org/support/users/mcestaro/)
 * (@mcestaro)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/after-submitting-form-disabled-plugins-work-again/#post-14743035)
 * Hi Jose,
 * The problem was solved with your proposed solution and no other plugin I use 
   was affected by the change.
 * I marked this topic as resolved! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Post Gallery - UPG] “Invalid file” message in “post form file” after upload](https://wordpress.org/support/topic/invalid-file-message-in-post-form-file-after-upload/)
 *  Thread Starter [mcestaro](https://wordpress.org/support/users/mcestaro/)
 * (@mcestaro)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/invalid-file-message-in-post-form-file-after-upload/#post-14738050)
 * I didn’t cut and paste the PHP code “Basic Layout” into the WP page I sent you
   to view the problem.
 * This page simply contains the shortcode: `[upg-post type="image" layout="basic"]`
   and nothing else. What could be the cause of the error message?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Freesoul Deactivate Plugins - Disable plugins on individual WordPress pages] After submitting form, disabled plugins work again](https://wordpress.org/support/topic/after-submitting-form-disabled-plugins-work-again/)
 *  Thread Starter [mcestaro](https://wordpress.org/support/users/mcestaro/)
 * (@mcestaro)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/after-submitting-form-disabled-plugins-work-again/#post-14708273)
 * Thanks for the quick response Jose.
 * I’ve noticed that after form submission, apparently the same page is reloaded
   by WordPress (and just my supposition, as when inspecting the page the reference
   to the “page-id-170” remains the same.)
 * As the form refers to the edition of users registered in the WP, you will only
   be able to access the page with a username and password.
 * So I created user **fdpjose** and password post-14704579 so you can see what’s
   going on.
 * To login use the page: [https://fofinhorockclub.com.br/membership-login/](https://fofinhorockclub.com.br/membership-login/)
 * Form page:
    [https://fofinhorockclub.com.br/membership-login/membership-profile/](https://fofinhorockclub.com.br/membership-login/membership-profile/)
 * The disabled plugin that works again after form submission is the one that appears
   in the reloaded page HTML code as <div id=”simple-sticky-footer-container” style
   =”display: block;”> (in the first load of the page where the FDP is working, 
   this DIV does not exist in the HTML code).
 * Below is the code of the PHP page that is called by the SimpleMembership Plugin
   shortcode and presents the form for editing and submission.
 *     ```
       <?php
       $auth = SwpmAuth::get_instance();
       $user_data = (array) $auth->userData;
       $user_data['membership_level_alias'] = $auth->get('alias');
       extract($user_data, EXTR_SKIP);
       $settings=SwpmSettings::get_instance();
       $force_strong_pass=$settings->get_value('force-strong-passwords');
       if (!empty($force_strong_pass)) {
           $pass_class="validate[custom[strongPass],minSize[8]]";
       } else {
           $pass_class="";
       }
       SimpleWpMembership::enqueue_validation_scripts();
       //The admin ajax causes an issue with the JS validation if done on form submission. The edit profile doesn't need JS validation on email. There is PHP validation which will catch any email error.
       //SimpleWpMembership::enqueue_validation_scripts(array('ajaxEmailCall' => array('extraData'=>'&action=swpm_validate_email&member_id='.SwpmAuth::get_instance()->get('member_id'))));
       ?>
       <div class="swpm-edit-profile-form">
           <form id="swpm-editprofile-form" name="swpm-editprofile-form" method="post" action="" class="swpm-validate-form">
               <?php wp_nonce_field('swpm_profile_edit_nonce_action', 'swpm_profile_edit_nonce_val') ?>
               <table>
                   <?php apply_filters('swpm_edit_profile_form_before_username', ''); ?>
                   <tr class="swpm-profile-username-row" <?php apply_filters('swpm_edit_profile_form_username_tr_attributes', ''); ?>>
                       <td><label for="user_name"><?php echo SwpmUtils::_('Username'); ?></label></td>
                       <td><?php echo $user_name ?></td>
                   </tr>
                   <tr class="swpm-profile-email-row">
                       <td><label for="email"><?php echo SwpmUtils::_('Email'); ?></label></td>
                       <td><input type="text" id="email" name="email" size="50" autocomplete="off" class="" value="<?php echo $email; ?>" readonly /></td>
                   </tr>
                   <tr class="swpm-profile-password-row">
                       <td><label for="password"><?php echo SwpmUtils::_('Password'); ?></label></td>
                       <td><input type="password" id="password" value="" size="50" name="password" class="<?php echo $pass_class;?>" autocomplete="off" placeholder="<?php echo SwpmUtils::_('Leave empty to keep the current password'); ?>" /></td>
                   </tr>
                   <tr class="swpm-profile-password-retype-row">
                       <td><label for="password_re"><?php echo SwpmUtils::_('Repeat Password'); ?></label></td>
                       <td><input type="password" id="password_re" value="" size="50" name="password_re" autocomplete="off" placeholder="<?php echo SwpmUtils::_('Leave empty to keep the current password'); ?>" /></td>
                   </tr>
                   <tr class="swpm-profile-firstname-row" <?php apply_filters('swpm_edit_profile_form_firstname_tr_attributes', ''); ?>>
                       <td><label for="first_name"><?php echo SwpmUtils::_('First Name'); ?></label></td>
                       <td><input type="text" id="first_name" value="<?php echo $first_name; ?>" size="50" name="first_name" /></td>
                   </tr>
                   <tr class="swpm-profile-lastname-row" <?php apply_filters('swpm_edit_profile_form_lastname_tr_attributes', ''); ?>>
                       <td><label for="last_name"><?php echo SwpmUtils::_('Last Name'); ?></label></td>
                       <td><input type="text" id="last_name" value="<?php echo $last_name; ?>" size="50" name="last_name" /></td>
                   </tr>
                   <tr class="swpm-profile-phone-row" <?php apply_filters('swpm_edit_profile_form_phone_tr_attributes', ''); ?>>
                       <td><label for="phone"><?php echo SwpmUtils::_('Phone'); ?></label></td>
                       <td><input type="text" id="phone" value="<?php echo $phone; ?>" size="50" name="phone" /></td>
                   </tr>
                   <tr class="swpm-profile-membership-level-row" <?php apply_filters('swpm_edit_profile_form_membership_level_tr_attributes', ''); ?>>
                       <td><label for="membership_level"><?php echo SwpmUtils::_('Membership Level'); ?></label></td>
                       <td>
                           <?php echo $membership_level_alias; ?>
                       </td>
                   </tr>
                   <?php apply_filters('swpm_edit_profile_form_after_membership_level', ''); ?>
               </table>
               <?php apply_filters('swpm_edit_profile_form_before_submit', ''); ?>
               <p class="swpm-edit-profile-submit-section">
                   <input type="submit" value="<?php echo SwpmUtils::_('Update') ?>" class="swpm-edit-profile-submit" name="swpm_editprofile_submit" ; />
               </p>
               <?php echo SwpmUtils::delete_account_button(); ?>
   
               <input type="hidden" name="action" value="custom_posts" />
   
           </form>
       </div>
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)