Forum Replies Created
-
AuthorPosts
-
pilotjoeMember
Okay I found the problem…
Earlier in this post the shortcode is posted as:
[emember_protected for=3,4,5]
Some content
[/emember_protected]
but I found another post where it explains the shortcode as:
[emember_protected for=3-4-5]
Some content
[/emember_protected]
This works with the dash!!
Just FYI
pilotjoeMemberAmin,
I’m working with section protection and this isn’t working for me. I set
[emember_protected for=3,4,5]
Some content
[/emember_protected]
And not content is viewable by any level
If I specify a single level it works for that level.
[emember_protected for=3]
Some content
[/emember_protected]
Any idea why multiple levels are not working?
Joe
pilotjoeMemberNevermind… I figured it out.. thanks for much for your help!
pilotjoeMemberThanks Amin,
I think I know what I’m going to do.. and I beleive this will work fine..
I believe I can do what I want to do with the shortcode –
[emember_protected for=3]
[/emember_protected]
I just need to edit the output for the protected content. I’m only going to use this shortcode for this area of the site.
SO my question is where I can change or remove “Please Renew your account.” when using protected content shotcodes?
I see that I can edit the lang/eng.php file for “EMEMBER_HIDDEN_CONTENT_MESSAGE”
but I need to know have “Please Renew your account.” showing…
Can you tell me where I can change this?
thanks
Joe
p.s. I promise I will stop bugging you after this
pilotjoeMemberhmm.. having trouble getting that code to execute in a single page or post. I have exec-php loaded.. but still no luck.
Do you know of any similar solution.. does my code look like it will work?
possibly putting something like this in the functions.php file?
Thanks
Joe
pilotjoeMemberRight exactly — I just need to integrate shortcodes in some way so that I wont have to have the exe-php plugin and can still use the editor.. I have writers who use that so I can disable it all together.
pilotjoeMemberI’m leaning toward something like this:
global $auth;
$user_id = $auth->getUserInfo(‘member_id’);
if (!empty($user_id))
{
//User is logged in so add your conditional code here
$membership_level = $auth->getUserInfo(‘membership_level’);
if($membership_level == 1)
{
print “<img src=color-icon.jpg>”;
else print “<img src=gray-icon.jpg>”;
}
endif;
}
Does that makes sense? Forgive my coding its sucks but this is close to what I’m trying to accomplish.
pilotjoeMemberHi Amin,
That makes sense. But what I’m wanting is a more consistent experience for when they log in. I think If I take them to a different page each time they might get confused.
I’m going to use the “Redirect after Login” that will take them to a single page. The same page for each membership level.
Really the only reason for multiple levels is do drip content.
Every week two new lessons are “activated”
So when the user logs in.. they are redirected to the membership page.
This “membership home page” is layed out in a grid fashion that has 5 thumbnail images in rows of 5 (20 videos total). Each Thumbnail just links to a post that has a single video embedded and shows that lesson.
All thumbnails are gray with the exception of videos that the subscriber is authorized to view.. these thumbnails are different (color).
What I’m needing some help with creating the basic logic that will check the membership level and if allowed display the different (color) image. Does this makes sense?
For example…
if membership_level=1-3 then “img src=color.jpg else img src=”gray.jpg”
This is kind of similar to how content protection behaves.
Do you you know what the php might look like for something like this?
Thank you so very much for you help!!
Joe
pilotjoeMemberHi everyone.. love this thread.. it has been very helpful.
My auto-upgrade it working but I have some questions that take this topic a bit further.
So I have a video training site. Subscribers get access to a new video when they sign up. Then Every 14 days the member is upgraded to a new level and access is granted to view another video. Each video is embedded in a post.
Basic Video 1
Basic Video 2
Basic Video 3
Basic Video 4
Basic Video 5
I have created a landing page for subscribers with links to each post that has each weeks video embedded in it.
What’s the best way to have these links just show up (or become active) on the landing page?
Or is there a better way to approach what I’m trying to do. I want to have new content available every week for subscribers and a page for them to access it. Ultimately I’d also like the system to email them when new content is available (when they have auto-upgraded).
Any help would be most appreciated!!!
Joe
my auto upgrade working
pilotjoeMemberI’m not using S3FlowShield but I’m using a very similar product for my videos. S3 Media Vault.
I believe with S3FS you have some shortcodes that wrap your video file name that you have on amazon AWS. All you have to do is protect the page that you are going to embed you video on and you should be good to go.
Let me know if you have any more questions I’ll be glad to help!
Joe
September 30, 2010 at 6:47 pm in reply to: How to customize various text/messages displayed by the plugin #21160pilotjoeMemberHi Ivy,
I’m working with Section protected content and only allowing certain content to be viewed when a member hits a certain membership level.
I’m using the [emember_protected] shortcode which works fine however I want to edit the output message fore protected content.
I see I can edit part of the message in the lang/eng.php file however this won’t change the entire message.
“Hidden content is forbidden for this membership level.
Please Renew your account. “
The second line looks like it is created by multiple variables. Is there a way where I can just edit the shortcode for [emember_protected] itself?
Essentially this is for a classroom page where new content (lessons) are delivered every two weeks. I would like either to have nothing show or a custom message show for higher membership levels.
Thanks in advance!
Joe
September 30, 2010 at 6:26 pm in reply to: Please login to view this content. (Not a member? Join today). Not showing #17674pilotjoeMemberwhat file was it zenji?
September 28, 2010 at 9:57 pm in reply to: Purchased plugin and the download links do not work right #19356pilotjoeMemberI’ve purchased wp emember, wp estore and wp affiliate. However my downlinks have expired. Can I please get new download links. If anything I just need the etore link.. I thought I had them all downloaded but it looks like I downloaded two copies of emember and no copies of estore.
thanks! I can send the transaction I.D. if needed
pilotjoeMemberAmin,
That works!! your awesome! thank you so much.
pilotjoeMemberThe problem definitely seems to be in the jQuery event for the registration form validation. Just typing outloud here but… I’m wondering if adding jQuery.noConflict(); will help the form script due to conflicting frameworks?
Also I see firefox has documented issues with the jQuery(document).ready(function().
I’m no developer but I think I’m heading the right direction?
Anyone else have some input? Or know which emember file the registration form validation script is?
thanks
-
AuthorPosts