latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Luke McFadden

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To


Topics I've Started

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
Logging user's actions? "Attendance"?

By:  Luke McFadden in: Community Forum

voices: 2
replies: 1

3 years, 10 months ago  Cristián Lávaque

Group redirects using S2? Educational.

By:  Luke McFadden in: Community Forum

voices: 3
replies: 5

3 years, 10 months ago  Bruce

Restrict all content, except a few pages?

By:  Luke McFadden in: Community Forum

voices: 2
replies: 3

3 years, 10 months ago  Cristián Lávaque

Viewing 3 topics - 1 through 3 (of 3 total)

My Latest Replies (From Various Topics)

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Friday Feb 22nd, 2013 at 10:32 am #42827

Hum, I’m definitely not a coder! So the alternative solution right now is to manually add all the page ID’s that I want block? I can do some URI blocking too I think.

In terms of feature implementation, is love to be able to select “open access” or something from the S2 dropdown on the page edit screen. I’m down with manually entering non-blocked page ID’s though.

Any ETA on this?

Posted: Thursday Feb 21st, 2013 at 6:25 pm #42767

Bruce,

Thanks for the great response, and sorry my reply has taken so long. It’s been a wild 3 weeks!

I’m really digging into this issue now.

I’m trying out custom capabilities right now, and so far I think I like that as an option. I’m trying to iron out some redirect options for the Login Welcome page. I was using the dynamic login page redirection with the domain.com/r/%%current_user_ccaps%% This relies on WP Redirect to send them to the appropriate page.

My brain is so fried right now, I can’t remember why I needed to move to conditionals within the Login Welcome Page itself, but I know I ran into a small issue somewhere!

So, here’s what I’m trying to do right now:

<?php
// Check current user level and set purchase page       
if (current_user_is("s2member_level1")) {
	$ao_page = "http://ao.thriveym.com/r/%%current_user_ccaps%%";
}

// Use JavaScript to redirect to the correct content page
?>
<script type="text/javascript">
<!--
window.location = "<?php echo $ao_page; ?>";
//-->
</script>

So, %%current_user_ccaps%% doesn’t work (I borrowed that from the options within the Login Welcome settings. What should I have here to pull in that ccaps value?

As a side question, right now I’m just assigning one ccaps per member, but if in the future I add multiple, I’m assuming that will break this functionality?

I’m setting all individual users to level1, and all group leaders to level2. But level1 and level2 users within the same organization will have the same ccaps value.

Make sense? Thanks for the help, let me know if I need to clarify anything.

Posted: Tuesday Feb 5th, 2013 at 4:42 pm #40874

Thanks for the helpful response. That has given me a lot to think about, but has also impressed me all the more with S2!

My most immediate need is to redirect logged in users to specific pages. Some of the conditional bits seem helpful for displaying different content, but I’m not seeing how they would handle the page redirection. All users can have access to the content, but I need to direct them to different pages as I’m “curating” lesson plans.

Could you help steer me towards the specific bits that would allow me to get this functionality up and running? Then I can spend the time to get familiar. I don’t even need to allow subscriptions for another month or so.

Posted: Monday Feb 4th, 2013 at 2:42 am #40586

I’m not much help here, but I’m interested in the response as well.

Viewing 4 replies - 1 through 4 (of 4 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.