Title: Plugin issues with Simple Membership
Last modified: August 28, 2021

---

# Plugin issues with Simple Membership

 *  Resolved [mungbean](https://wordpress.org/support/users/mungbean/)
 * (@mungbean)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/)
 * I have been successfully using this plugin, but I’ve recently added the Simple
   Membership plugin ([https://wordpress.org/plugins/simple-membership/](https://wordpress.org/plugins/simple-membership/)),
   specifically to use the content protection capability.
 * On pages that I have added the “More” block, which content protects any content
   after it, on pages that have Link Previews, the images in the link previews before
   the “More” block get blown up 1000% or so, they’re huge (take up half the page)
 * But if I disable content protection, the images in the link previews return to
   normal.
 * Can you please confirm this plugin conflict? And a possible resolution

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

 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/#post-14813568)
 * That’s strange. Do you have a link to an example page with this problem so I 
   can take a look?
 *  Thread Starter [mungbean](https://wordpress.org/support/users/mungbean/)
 * (@mungbean)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/#post-14945767)
 * Hi, Sorry for the delay in response. I’ve attached some before and after screenshots.
 * BEFORE: This is at normal, 100% zoom in the browser, and with content protection
   disabled.
    [https://ibb.co/3zNDrjz](https://ibb.co/3zNDrjz)
 * AFTER: This had to be zoomed to 50% to fit in frame, but is after the content
   protection is enabled.
    [https://ibb.co/7Ww6ZPq](https://ibb.co/7Ww6ZPq)
 * As you can see the preview image is blown by a massive amount (1000% ?) when 
   the content protection is enabled for the page.
 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/#post-14946624)
 * I’ve been trying to replicate this problem on my end using the VLP and Simple
   Membership plugin but I can’t seem to cause this problem.
 * Can you send me a link to the issue to [support@bootstrapped.ventures](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/support@bootstrapped.ventures?output_format=md)
   so I can take a look?
 *  Thread Starter [mungbean](https://wordpress.org/support/users/mungbean/)
 * (@mungbean)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/#post-14949578)
 * Hmm strange. I did verify in both Firefox and Chrome that the issue persists 
   across both browsers. Unfortunately the page in question is only on a localhost
   so I am unable to send a link.
 * Is there more information I can provide to help with troubleshooting? Plugin 
   list? Theme?
 * Thanks
 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/#post-14950225)
 * Could you test if it happens when using a default theme (like Twenty Twenty) 
   and no other plugins except for Visual Link Preview and Simple Membership?
 *  Thread Starter [mungbean](https://wordpress.org/support/users/mungbean/)
 * (@mungbean)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/#post-14954728)
 * Sorry for the delay. I just did a fresh install on my localhost (Bitnami) using
   Twenty Twenty theme with only Simple Membership and Visual Link Preview, and 
   the image enlarging issue still occurs with content protection still on.
 * To be more specific, I have enabled the “more tag” content protection setting
   in Simple Membership plugin settings. When the test page has the more tag in 
   place with the content protection on, the image enlarging happens in the preview.
 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/#post-14956008)
 * I wasn’t aware of that setting. Just enabled that and I do see the issue then.
 * In the `/simple-membership/classes/class.swpm-utils-misc.php` file you find the
   following function starting line 443:
 *     ```
       public static function format_raw_content_for_front_end_display( $raw_content ) {
       	$formatted_content = wptexturize( $raw_content );
       	$formatted_content = convert_smilies( $formatted_content );
       	$formatted_content = convert_chars( $formatted_content );
       	$formatted_content = wpautop( $formatted_content );
       	$formatted_content = shortcode_unautop( $formatted_content );
       	$formatted_content = prepend_attachment( $formatted_content );
       	$formatted_content = capital_P_dangit( $formatted_content );
       	$formatted_content = do_shortcode( $formatted_content );
   
       	return $formatted_content;
       }
       ```
   
 * Here the `do_blocks` function should get added for compatibility with the block
   editor. Basically having it like this:
 *     ```
       public static function format_raw_content_for_front_end_display( $raw_content ) {
       	$formatted_content = wptexturize( $raw_content );
       	$formatted_content = convert_smilies( $formatted_content );
       	$formatted_content = convert_chars( $formatted_content );
       	$formatted_content = wpautop( $formatted_content );
       	$formatted_content = shortcode_unautop( $formatted_content );
       	$formatted_content = prepend_attachment( $formatted_content );
       	$formatted_content = capital_P_dangit( $formatted_content );
       	$formatted_content = do_shortcode( $formatted_content );
       	$formatted_content = do_blocks( $formatted_content );
   
       	return $formatted_content;
       }
       ```
   
 * If they make that change in their plugin files, things should be working as expected!
 *  Thread Starter [mungbean](https://wordpress.org/support/users/mungbean/)
 * (@mungbean)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/#post-14956396)
 * Thanks! I have alerted the plugin maintainer, feel free to follow up with them
   directly too. I assume they will more likely respond to you, than a regular user
   like myself.
 * [https://wordpress.org/support/topic/content-protection-issues-with-link-preview-plugin/#post-14956392](https://wordpress.org/support/topic/content-protection-issues-with-link-preview-plugin/#post-14956392)

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

The topic ‘Plugin issues with Simple Membership’ is closed to new replies.

 * ![](https://ps.w.org/visual-link-preview/assets/icon-256x256.png?rev=2010740)
 * [Visual Link Preview](https://wordpress.org/plugins/visual-link-preview/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visual-link-preview/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visual-link-preview/)
 * [Active Topics](https://wordpress.org/support/plugin/visual-link-preview/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visual-link-preview/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visual-link-preview/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [mungbean](https://wordpress.org/support/users/mungbean/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-issues-with-simple-membership/#post-14956396)
 * Status: resolved