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

[Support request] custom page for restricted content

Simple Membership Plugin › Forums › Simple Membership Plugin › custom page for restricted content

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 4 months ago by snake.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 16, 2018 at 2:39 pm #13747
    snake
    Participant

    Is there any way to show a specific (you do not have access) page for restricted content? I know I can change the message with the “custom messages” plugin, but this is still very limited and doesn’t look pretty.

    March 16, 2018 at 7:52 pm #13749
    The Assurer
    Moderator

    The primary obstacle to implementing redirection as an option, is reliability. Whatever solution offered has to work 100% of the time, across every platform.

    Using a Meta refresh to redirect requires placing an http-equiv Meta tag in the Head section of every protected page. However, this method is browser dependent; and the “brief flashing” of the screen may induce an epileptic seizure in the user.

    Using JavaScript redirects is not fool-proof either. The action may give a false positive to a browser’s ad-blocker or popup-blocker.

    PHP redirects will always work; but must be positioned in the code, before any other markup codes or characters are sent to the user’s browser. A poorly designed theme or “rogue CSS” will cause the browser to display a “white screen of death,” with a 1 line error message, saying that headers have already been sent (or equivalent).

    And of course, there are various server and scripting language dependent solutions as well…

    March 16, 2018 at 10:27 pm #13756
    snake
    Participant

    ok so is there any other “reliable” method for customising the content other than using a redirect, besides the single line/formfield of the “custom messages” addon.
    Ideally I want all the pages to match the rest of the theme.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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