Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Protect Lightbox video
- This topic has 4 replies, 2 voices, and was last updated 13 years, 7 months ago by dsnyder.
-
AuthorPosts
-
April 1, 2011 at 10:27 pm #3099dsnyderMember
I have a site of video tutorials and it seems eMember doesn’t prevent the video content in Lightbox from being seen. How do I get the Lightbox protected along with the other content on a page/post?
http://www.sockoldesign.com/tutorials/?page_id=285
or
http://www.sockoldesign.com/tutorials/?p=382
Thanks!
April 2, 2011 at 12:02 am #30999amin007ParticipantHow are you adding the videos to your page? By default, eMember will protect any content that you have placed in the body of the post or page. If you have placed it outside the body section (example in your themes template file) it won’t protect that. There are other ways to protect that. Also, what version of eMember are you using?
April 3, 2011 at 4:08 am #31000dsnyderMemberThanks for your reply!
The theme I’m using (Nitro)seems to be placing Lightbox outside of the body which would explain my problem. I’m using eMember v6.2.4. Do you know if there are other lightbox plugins that will but the display within the body? Or could you point me in the direction of other ways to protect the Lightbox content?
Thank you!
April 4, 2011 at 12:31 am #31001amin007ParticipantYou can use any video lightbox plugin to embed videos in your post or pages that will popup the video in a overlay. Here is one example of such a plugin (I am sure you can find more out there):
With that said, it doesn’t mean you can protect anything outside your post or page body. You can protect content from your theme’s template file too. You just need to add a bit of condition around the content to protect it. This documentation page has more info for you:
http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-miscellaneous-tweaks-248
April 4, 2011 at 2:29 pm #31002dsnyderMemberThanks, the theme developer used prettyPhoto (which I believe is very popular), along with his custom icons. When I embed the video using the plugin, it must be inserting it outside of the ‘restricted’ area. You can see some of the ‘restricted’ posts on this portfolio page:
http://www.sockoldesign.com/tutorials/?page_id=285
Maybe I can embed it by hand into the post?
I’ll look over your second link to see if I can make sense of things.
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.