Statistics: Posted by Cristián Lávaque — July 27th, 2011, 3:03 pm
Statistics: Posted by rwilki — July 27th, 2011, 2:21 pm
rwilki wrote:
is there any way people can know which level protected link they just clicked?
Statistics: Posted by Cristián Lávaque — July 27th, 2011, 1:59 pm
Statistics: Posted by rwilki — July 27th, 2011, 4:06 am
<?php if (!isset($_GET['s2member_level_required'])) { ?>
Message for someone that didn't arrive from a restricted page, maybe came clicking the link to the Membership Options Page in the navigation.
<?php } elseif ($_GET['s2member_level_required'] === '0') { ?>
Ask him to create a free account.
<?php } elseif ($_GET['s2member_level_required'] === '1') { ?>
Ask him to get a paid account. If he already has a free account, have him login first so he upgrades it.
<?php } ?>
Statistics: Posted by Cristián Lávaque — July 27th, 2011, 3:35 am
Statistics: Posted by rwilki — July 27th, 2011, 3:26 am
Statistics: Posted by rwilki — July 27th, 2011, 3:16 am
Statistics: Posted by Cristián Lávaque — July 27th, 2011, 2:38 am
Statistics: Posted by rwilki — July 27th, 2011, 1:11 am
<?php
if (!isset($_GET['s2member_level_required'])) {
// Message for someone that didn't arrive from a restricted page, maybe came clicking the link to the Membership Options Page in the navigation.
} elseif ($_GET['s2member_level_required'] === '0') {
// Ask him to create a free account.
} elseif ($_GET['s2member_level_required'] === '1') {
// Ask him to get a paid account. If he already has a free account, have him login first so he upgrades it.
}
?>
Statistics: Posted by Cristián Lávaque — July 27th, 2011, 1:03 am
Statistics: Posted by rwilki — July 26th, 2011, 10:32 am