Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Remove "Restricted Content" Message

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Remove "Restricted Content" Message

  • This topic has 6 replies, 3 voices, and was last updated 15 years, 1 month ago by Ivy.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • April 7, 2010 at 5:45 pm #1034
    GraphicBass
    Member

    Is there a way to selectively disable the display of the various “restricted content” message?

    Application is this:

    I’ve loaded all my download links on a singe page and protected various sections with [emember_protected] ID shortcodes. It works really well, displaying only content for specific member levels that members have paid for.

    However, for each protected section that a member does not have access to, it displays the “restricted content” message. So there is row after row of these unsightly messages members have to scroll through. I can fix this by putting separate sections on different pages, but for maintenance purposes, I don’t want to have to deal with keeping up with 32 pages when I can do it all on one.

    I’d like to keep the message capability for other areas of the site, and disable it when needed, or use a different shortcode.

    Thanks!

    gary

    April 8, 2010 at 1:17 am #19456
    amin007
    Participant

    All the messages that get displayed to the visitors comes from the language file (e.g. eng.php) in the “lang” directory. This allows the admin to customize the messages just by changing the text in that file.

    April 8, 2010 at 8:35 pm #19457
    GraphicBass
    Member

    Right … I’ve done that.

    However, for each protected section that the user DOES NOT have access to, the plugin displays the message I’ve defined in eng.php.

    I will have many sections of protected content on the one page, all different membership levels, and only three sections will be available to any one membership level.

    Is there a way to suppress the message for protected areas on this page only?

    I know I can simply put a space character in the eng.php file, but that would remove the message from other pages (which I don’t want to do), and still leave in the line returns — many lines.

    Thanks!

    gary

    April 9, 2010 at 5:40 am #19458
    amin007
    Participant

    Nope, you can’t customize the messages on a per page basis. Couldn’t you break the content of the page into multiple pages and give access to those pages according to the membership levels?

    April 9, 2010 at 11:20 am #19459
    GraphicBass
    Member

    Rats. I kind of figured that would be the case.

    I have 24 separate products, which purchasers choose based on their industry and language. So that’s 24 different products. Historically, over the ten years I’ve been selling online, purchasers will buy one product, and are not interested in the others.

    I am mainly trying to find a way to not have to create and maintain 24 different download pages.

    I’ll work with the repetitive error messages for a while and see what Kind of feedback I get. Perhaps purchasers won’t be bothered by them. If so, I’ll “bite the bullet” and create the pages as you suggest.

    Thanks!

    gary

    April 9, 2010 at 8:28 pm #19460
    GraphicBass
    Member

    Well, I don’t know why I didn’t think of this before.

    I just made a page for each of my six versions. Then I protected the four variations with the “protect” shortcode”.

    Works like a charm. Only generates four three restricted content messages, and I have only six pages to maintain.

    Always a way to do what you want — particularly with a versatile plug in like this one.

    gary

    April 10, 2010 at 1:05 am #19461
    Ivy
    Member

    Hi Gary, I am glad you got this figured out.=) If you need anything else please let us know.

    Cheers,

    Ivy

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

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ