Title: Creating / Editing issues
Last modified: August 30, 2016

---

# Creating / Editing issues

 *  [mumbomedia](https://wordpress.org/support/users/mumbomedia/)
 * (@mumbomedia)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/)
 * When creating a new membership this membership is always public regardless if
   the checkbox is checked or not.
    I’ ve copied the Form Data from the Google Chrome
   Developer Tools:
 *     ```
       type:simple
       name:10
       set_public_flag:1
       set_paid_flag:1
       membership_id:0
       step:add
       action:save_membership
       _wpnonce:5620d81938
       save:
       ```
   
 * I think the parameters set_public_flag / set_paid_flag represents the values 
   of the checkboxes.
    After I get the success message I go to the edit page of 
   the new created membership and see that the membership is public. Why?
 * Another issue is on the edit page.
    If I enter a description, I have to de- and
   reactivate the membership to get the value saved. All other inputs are stored
   by Ajax requests when I change the value. Only these textarea value isn’t saved
   by entering a value.
 * It would be a great improvement in usabilty if I could add the description and
   membership order in the creation process. Also I think a sort feature like the
   one you found under Design->Menus would be very helpfull to users.
    Then they
   could drag and drop the membership onto the position they like.
 * [https://wordpress.org/plugins/membership/](https://wordpress.org/plugins/membership/)

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

 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757158)
 * Hey mumbomedia,
 * Hope you’re well today 🙂
 * > After I get the success message I go to the edit page of the new created membership
   > and see that the membership is public. Why?
 * Had to double check this with our developer. set_public_flag / set_paid_flag 
   are not doing that. What you posted above is not a public membership, this is
   how public membership form data looks like:
 *     ```
       type:simple
       name:10
       set_public_flag:1
       set_paid_flag:1
       public:1   <----- this means that the membership is public
       paid:1   <----- this means that the membership is paid
       membership_id:0
       step:add
       action:save_membership
       ```
   
 * > If I enter a description, I have to de- and reactivate the membership to get
   > the value saved. All other inputs are stored by Ajax requests when I change
   > the value. Only these textarea value isn’t saved by entering a value.
 * I tested this on my end and by simply clicking elsewhere saves the description
   properly, see video [http://screencast.com/t/2cKuFNzgoo3](http://screencast.com/t/2cKuFNzgoo3).
 * Hope this helps 🙂
 * Cheers,
    Bojan
 *  Thread Starter [mumbomedia](https://wordpress.org/support/users/mumbomedia/)
 * (@mumbomedia)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757169)
 * Hi Bojan
 * I’ve tried to reproduce your form data.
    If I have check both checkboxes for “
   register / paid” then the post contains public: 1 and paid:1. If I uncheck it
   the post doesn’t contain these post fields. So maybe the plugin thinks that it
   should set the default value because no post value is submitted.
 * I believe the post with the checkboxes unchecked should contain this:
 *     ```
       type:simple
       name:10
       set_public_flag:1
       set_paid_flag:1
       public:0   <----- this means that the membership is private
       paid:0   <----- this means that the membership isn't  paid
       membership_id:0
       step:add
       action:save_membership
       ```
   
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757190)
 * Hey again mumbomedia,
 * Lets leave debugging ajax calls and form data for our developer in case something
   like this needs to be done, I’d like to help more with this but as I am not a
   developer I can’t really offer more assistance on these forms.
 * With that being said I’ve tested latest version of Membership 2 on two different
   installs and setting membership level to private worked properly. Both members
   trying to upgrade and visitors trying to register wasn’t able to see the level.
 * This leads me to believe this is some sort of conflict so what I’d want you to
   do is test for conflicts. To do that please try using default WordPress theme
   like Twenty Fifteen and deactivating all other plugins as displayed in the following
   flowchart to know which theme/plugin is conflicting if any.
 * [http://premium.wpmudev.org/wp-content/uploads/2013/12/Support-Process-Support-Process.png](http://premium.wpmudev.org/wp-content/uploads/2013/12/Support-Process-Support-Process.png)
 * Please let me know if you find anything.
 * Cheers,
    Bojan
 *  Thread Starter [mumbomedia](https://wordpress.org/support/users/mumbomedia/)
 * (@mumbomedia)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757226)
 * Hello Bojan,
 * I’ve done your workflow and I am sorry to inform you, that the issue still exists.
   
   I have deactive all plugins except Membership 2 of course and tested. The issue
   still exists. Then I’ve switch to Theme Twenty Fifteen. Also the change didn’t
   solve the problem. Therefore it shouldn’t be a conflict.
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757288)
 * Hey again mumbomedia,
 * Sorry for the late response,
 * Can you please post screenshot of your membership overview page so I can see 
   all membership levels?
 * Best regards,
    Bojan
 *  Thread Starter [mumbomedia](https://wordpress.org/support/users/mumbomedia/)
 * (@mumbomedia)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757289)
 * Hy Bojan,
 * because of security risks I would recommend either I send you the screenshot 
   via email or I could make a account for you an then email your the creditials.
   
   Please send me your email adress to [behling@mumbomedia.de](https://wordpress.org/support/topic/creating-editing-issues/behling@mumbomedia.de?output_format=md)
 * Also a screenshot wouldn’t be much helpful because I’ve already correct the memberships
   so now all memberships are “Standard Membership, Private”.
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757295)
 * Hey again mumbomedia,
 * Unfortunately we’re not allowed to post emails on the forum nor we an ask for
   admin access form forum members, you can find more information about that in 
   the forum rules page [here](https://codex.wordpress.org/Forum_Welcome).
 * With that being said what you’ve mentioned above (level displayed as Standard
   Membership, Private) was just one thing that I wanted to check as this means 
   that the flag is correctly saved so the problem is elsewhere.
 * What I also wanted to check is if all your memberships are private and if you
   have other types of memberships so I can try to test this on my end.
 * If you’re uncomfortable of sharing that screenshot here you can always contact
   us using the contact form [https://premium.wpmudev.org/contact/](https://premium.wpmudev.org/contact/)
   using this template:
 * Subject: “Attn: Bojan”
    -screenshot of membership overview page -link to your
   site -link back to this thread for reference -any other relevant urls
 * Select “I have a different question” for your topic – this and the subject line
   ensure that it gets assigned to me 🙂
 * Cheers,
    Bojan
 *  Thread Starter [mumbomedia](https://wordpress.org/support/users/mumbomedia/)
 * (@mumbomedia)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757296)
 * Hey again Bojan,
 * a email is sent to you.
    I am sorry your contact form doesn’t offer a upload 
   functionality. I have given you a own login. The creditials are in the email.
 * Kind regards
 * Alexander
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757300)
 * Hey again Alexander,
 * Thanks for the clarification via email. This is definitely a bug and it relates
   only to the use of “Allow users to register for this membership.” checkbox on
   membership level creation, [http://screencast.com/t/tvL1rO57](http://screencast.com/t/tvL1rO57).
   If this is unchecked membership level will still be private.
 * For others having this issue please note that the option in Membership -> Edit(
   This membership is public [http://screencast.com/t/lihIP8GCAWIM](http://screencast.com/t/lihIP8GCAWIM)
   does work properly and makes the membership private if set.
 * I’ve reported this to our developers so they can investigate this further.
 * Thank you for reporting this 🙂
 * Cheers,
    Bojan
 *  Thread Starter [mumbomedia](https://wordpress.org/support/users/mumbomedia/)
 * (@mumbomedia)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757302)
 * Hello Bojan,
 * the error devil was in your last post.
 * Instead of “…If this is unchecked membership level will still be private…”
    is
   has to be “If this is unchecked membership level will still be public.”. Anything
   else wouldn’t make sense because the checkbox label is “Allow users to register
   for this membership.”. So unchecking it, should result in disallowing users to
   register for this membership. This means the membership should be private when
   the checkbox is unchecked else the memeberhsip is public.
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757303)
 * Hey again mumbomedia,
 * This is exactly why I said that this is a bug and that the option is not working
   properly.
 * Cheers,
    Bojan
 *  Thread Starter [mumbomedia](https://wordpress.org/support/users/mumbomedia/)
 * (@mumbomedia)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757304)
 * Hello Bojan,
 * yes, I understand.
    But you said “…If this is unchecked membership level will
   still be **private**…” is has to be “If this is unchecked membership level will
   still be **public**.”. Hopefully now you understand me.
 * Cheers,
    Alexander
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757305)
 * Hey Alexander,
 * The option doesn’t work properly, membership will be set as public regardless
   of the same option being checked or not.
 * Our developers will take a look and fix this in one of the following versions.
 * Thanks again for taking time to report this 🙂
 * Cheers,
    Bojan

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

The topic ‘Creating / Editing issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/membership_b8cdaa.svg)
 * [Membership 2](https://wordpress.org/plugins/membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/membership/)
 * [Active Topics](https://wordpress.org/support/plugin/membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/membership/reviews/)

## Tags

 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [membership 2](https://wordpress.org/support/topic-tag/membership-2/)

 * 13 replies
 * 2 participants
 * Last reply from: [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/creating-editing-issues/#post-6757305)
 * Status: not resolved