Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Bulk Protection flag change

Simple Membership Plugin › Forums › Simple Membership Plugin › Bulk Protection flag change

Tagged: Bulk Flag change

  • This topic has 6 replies, 4 voices, and was last updated 9 years, 1 month ago by estudie.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 22, 2017 at 5:51 pm #11286
    adelamora
    Participant

    Is there a way to do a bulk change on the status of a page from

    “No, do not protect this content”

    to

    “Yes, Protect this content”

    and all content for “Subscribed” level.

    I was looking for the flag on the database, but I’m unable to identify it. Any suggestions?

    Regards

    Arturo

    June 22, 2017 at 10:48 pm #11293
    mbrsolution
    Moderator

    Hi, are you referring to changing the content protect level for all pages or a number of pages at the same time? Is that what you mean by bulk? If you are, then unfortunately at present that is not possible with the plugin.

    Kind regards

    June 23, 2017 at 12:20 am #11296
    adelamora
    Participant

    If you can tell me on which table of the database is the flag, I can run a MySQL query, I need to convert around 12000 pages…

    Thank you!

    June 23, 2017 at 12:48 am #11298
    mbrsolution
    Moderator

    Hi, the plugin developers will investigate further your question.

    Thank you

    June 23, 2017 at 2:17 am #11300
    admin
    Keymaster

    The following table contains the data for the protection settings:

    swpm_membership_tbl

    Some data is stored there in a serialized form. You will need to do some reverse engineering there by doing the following maybe:

    1) Protect a post then observe the data for that entry.
    2) Then un-protect that same post and see data for that entry again.

    The change in data should help you understand what value needs to change.

    We are working on adding an interface to bulk update content protection of posts/pages. We should have something for the next release (or the one after that).

    June 23, 2017 at 2:44 pm #11306
    adelamora
    Participant

    Thank you I find the field page_list and got the logics behind the flag. Now I’m working on my Query. Thank you!

    SOLVED

    July 16, 2017 at 5:39 pm #11493
    estudie
    Participant

    Hi adelamora,
    I have a simalare problem and wonder how you solved it. Can you share this critical information?

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy