Video Guide
Overview
Divi is a WordPress page builder and theme that allows you to create pages without needing to use or know any HTML or CSS code. Instead of coding, you drag modules directly onto the page in the front end. What you’re building is what the end result will look like. This is called WYSIWYG (what you see is what you get).
Memberium integrates with several of the most popular page builders including Divi. We allow you to protect sections, rows, and individual modules with various options.
Use Cases
You can protect a certain button with a tag in ActiveCampaign so that only users with that specific tag can see the button. An example use case could be that you have an upgrade offer that you want to be shown to your members. You only want that button to show to users who haven’t already upgraded. The solution is to protect the button in Memberium so that only people without [insert tag they’d get after upgrading] could see the button. This way – users that have already upgraded don’t see the button.
This integration is useful if you need to show content to one group while suppressing or hiding it from another group. These protections are all based on the tags the logged in users have in ActiveCampaign.
In addition to tag-based protections, we give you the option to show/hide content based on the user being logged into the site or not. If these protection options aren’t exactly what you need in a specific case, we have a PHP Boolean Expression box that will allow you to show/hide the content based on a custom-written PHP Function – the means the possibilities are truly endless if you are or have a PHP developer.
How to use the Integration
Here’s what the content protection box looks like in the Divi page builder:

This box works the same as the Content Protection Metabox. The only difference is that if the user does not have access, the protected content simply won’t show where the normal content protection box would allow you to redirect the user, show an excerpt, etc.
Protection Options
Let’s go through the different protection options.
Any Membership Level
This option will automatically activate all of your membership levels. This means that if a user has any of your memebrships they’ll be able to see the content. For instance, if you have 3 membership levels, bronze, silver, or gold, then a user would need just a single one of those to see the content.
Your Different Membership Levels
The options you’ll see in this section depend on what membership levels you’ve set up in Memberium. For example, if you have the following two memberships setup then you’ll see this in the Memberium protection options:


You can individually turn a membership level on or off. If the membership is on, then users with that membership will be able to see the content. If it’s off, then users that have that membership won’t be granted access. It’s important to note that if a user has two memberships, one that gives access and one that doesn’t give access, the one that gives access will take effect.
Any Logged In User
Enabling this option will allow any user that’s logged into the site to see the protected content. There are no dependencies on tags, membership levels, etc.
Logged Out Only
This option is very similar to the one above except it works in the opposite way. Only logged out users will be able to see the protected content with this enabled. This is useful for protecting login forms or other content that wouldn’t apply to someone who is logged into the site.
Require Tag IDs
The Require Tag IDs option allows you to select from your ActiveCampaign tags one or more tags required for access. If you select multiple tags, the user does NOT need to have all of them – only one of them. For instance, if you select Gold and Silver, the user could see the content by just having the Silver tag.
In addition, you’ll see all your tags have a “Does Not Have {tag name}” option. This allows you to require users don’t have a certain tag to see a particular module/content block.
AND Require Tag IDs
This box works exactly the same as the previous option (Require Tag IDs) except that it allows you to require the user to have a second tag in addition to the tag in the first box. To better explain how this works, please see the image below and we’ll explain what would be required to see the protected content:
In this case, the user would need one tag from the top box (Green or Red) AND they would need one tag from the bottom box (Gold or Platinum). The important thing to remember is that users will need a single tag from each box in order to access the content. Sometimes we have customers think it’s one tag from the top plus ALL tags from the bottom, but that’s not how it truly works.
PHP Boolean Expression
Lastly, we have the PHP Boolean Expression. This option allows you to input true/false PHP functions (Booleans) that can control the visibility of your Divi content. Most of our users won’t need to use this feature as the previously covered options will more than satisfy their content protection needs.