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 14 years, 7 months ago by Ivy.
-
AuthorPosts
-
April 7, 2010 at 5:45 pm #1034GraphicBassMember
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 #19456amin007ParticipantAll 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 #19457GraphicBassMemberRight … 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 #19458amin007ParticipantNope, 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 #19459GraphicBassMemberRats. 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 #19460GraphicBassMemberWell, 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 #19461IvyMemberHi Gary, I am glad you got this figured out. If you need anything else please let us know.
Cheers,
Ivy
-
AuthorPosts
- You must be logged in to reply to this topic.