Member Specific Rules
MemberPress ondersteunt regelinstellingen per lid (niet weergegeven in de bovenstaande video’s).
Bij het maken of bewerken van uw regel kunt u nu kiezen uit het eerste uitklapmenu in de rubriek “Lidmaatschap” of “Lid” van de Toegangsvoorwaarden. Als u “Lid” selecteert, kunt u de gebruikersnaam van een gebruiker die u via die regel toegang wilt hebben, intypen. Dit kan een aanvulling zijn op elke andere “Lid,” of “Lidmaatschap” voorwaarde die u mogelijk heeft voor de regel. Let op: door een specifiek lid toe te voegen aan een regel, zullen zij toegang hebben tot de gespecificeerde inhoud, ongeacht de lidmaatschapsstatus. Dit betekent dat de gebruiker niet geabonneerd hoeft te zijn op een lidmaatschap, om alsnog toegang te krijgen tot de inhoud.
A Basic Breakdown of MemberPress Rules
After you have created at least one Membership, you can then set up Rules to protect certain pieces of site content from non-subscribed members. The following options are available for Rules.
Important Note: Administrators can always access content, regardless of the Rules, so be sure to do your testing with non-administrator User accounts.
- All Content – This allows you to protect all content. However, it is not as easy as it seems. You should exclude certain MemberPress pages that need to stay public, for the proper functioning of your website. Those include (but not limited to), Login page, Account page, Membership registration pages, and Unauthorized redirect page (if set).
You might need to add some other, non-MemberPress related pages to the exclusion list, like “Contact Us”, “About Us” and similar, but that is entirely up to you.
- All Content Categorized – Same as above, but protects all content based on a category applied.
- All Content Tagged – Same as above, but protects all content based on a tag applied.
- A Single Post – This allows you to protect one individual post.
- Posts Categorized – This allows you to protect any post(s) which has been assigned a certain category. Using categories in WordPress is a great way to keep your membership content organized.
- Posts Tagged – This allows you to protect any post(s) which has been tagged with a specific tag. This is similar to the Categories rule but gives you a bit more control over how you want to organize your membership content.
- All Posts – This allows you to protect all posts on your site at one time. Be sure to use this option with caution as it can conflict with other Rules you may have set already such as “A Single Post”, “Posts Categorized”, or “Posts Tagged”.
- A Single Page – This allows you to protect one individual page.
- Child Pages of – This allows you to protect all children of the selected page. A child page in WordPress is any page in which you set a “Parent” value when creating/editing the page.
- All Pages – This allows you to protect all pages at once. Be sure to use this option with caution as it can conflict with other Rules you may have set already such as “Child Pages of” and “A Single Page”.
By default, WordPress doesn’t allow you to add tags or categories to a page. However, you can install and activate Add Category to Pages plugin, which will allow you to do so and in return, you’ll get two additional rules – Pages Categorized and Pages Tagged, that will act exactly the same as the abovementioned Post rules.
- Partial – Select this option if you only plan to use this rule to hide partial content with the use of a Shortcode or PHP Snippet (See here)
- Custom URI – Allows you to protect files and pages by what’s in the URL. Read this page for more information on protecting files.
- Custom Post Type – Any custom post types that you have created will appear in the drop-down menu when selecting rule type. You will have the option to protect any of the custom post types based on all custom post types or one individual custom post for the one you have selected.
Account page advice: We recommend to exclude the Account page from any rule because it is by default, inaccessible to non-logged in visitors of your website. If you protect that page additionally, once a members’ subscription expires, they would not be able to access the Account page in order to be able to update their credit card details, for instance. That will create more work for you and will not contribute to data protection in any way.
Drips and Expiration’s – For a more detailed explanation of how these settings work, please see this page. You can set a time for the Rule to drip (become available) or expire (become unavailable) based on any “X” amount of days, weeks, months, or years after a trigger has been made. The triggers you can select are when the member registers (meaning on your site), after a fixed day in the future, or after they purchase any or a specific membership on your site (all created memberships will appear as options). So let’s say you have 12 protected posts, and you want the member to have access to only one post per month after they signup. Well enabling drips and expiration’s will allow you to do this easily, and much more.
Redirecting Unauthorized Users – If you would like to redirect unauthorized users to a specific page instead of just showing them your default or custom unauthorized message on the page they are visiting, then you can enable that option in your MemberPress > Settings > Pages > Unauthorized Access section. If you are considering using this option, we strongly suggest you check out our video found on this page.
Rules in BuddyBoss
Regels instellen voor een lidmaatschapsniveauin BuddyBoss:
We gaan een regel maken om de inhoud of berichten met de tag ‘alleen voor leden’ te beschermen, zodat alleen de gebruikers die het lidmaatschap hebben gekocht toegang hebben tot die inhoud op je website.
Bewerk een paar berichten en stel de tag in als ‘alleen voor leden’ als u dat nog niet hebt gedaan.
Ga naar WordPress Dashboard > MemberPress > Regels en klik vervolgens op de knop Nieuw toevoegen.
Selecteer in de opties Inhoud & Toegang de gewenste inhoud waartoe u de toegang wilt beperken voor niet-ingelogde gebruikers of voor gebruikers die het lidmaatschap niet hebben gekocht.
Een regel maken voor de lidmaatschappen
a. Selecteer Alle inhoud getagd in de vervolgkeuzelijst en voer de tag alleen-leden in het tekstvak in.
b. Selecteer de toegangsvoorwaarden als Lidmaatschap uit de drop-down en selecteer dan het nieuw aangemaakte lidmaatschap (Lidmaatschap #1) uit de drop-down.
c. Klik op de knop Regel opslaan om de nieuwe regel voor de inhoud te publiceren.
Wanneer een gebruiker met succes een lidmaatschap plan voor uw website koopt, zullen ze toegang hebben tot de inhoud op basis van de regels voor het lidmaatschap.